From 6c4ece5c48bbfa014411afd6d92c529fccb90294 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Dec 12 2021 16:24:06 +0000 Subject: Mirror CentOS Stream 9 kernel mainline branch into our kernel repo This adds the CentOS Stream 9 kernel mirror into our kernel repository by mirroring the 'main' branch there as the 'centos-stream-9' kernel branch here. --- diff --git a/linux-git-update/linux-git-update.sh b/linux-git-update/linux-git-update.sh index 2ccd751..5e310fd 100755 --- a/linux-git-update/linux-git-update.sh +++ b/linux-git-update/linux-git-update.sh @@ -11,10 +11,13 @@ echo 'Cloning upstream repo' git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git "$workdir" echo 'Adding Stable repo' (cd "$workdir" && git remote add linux-stable https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git && git fetch -a ) +echo 'Adding CentOS Stream 9 repo' +(cd "$workdir" && git remote add redhat-cs9 https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9.git && git fetch -a ) echo 'Adding Hyperscale remote' (cd "$workdir" && git remote add hyperscale ssh://git@pagure.io/centos-sig-hyperscale/linux.git) echo 'Pushing changes to Hyperscale remote' -(cd "$workdir" && git push --tags hyperscale HEAD:main) +(cd "$workdir" && git push --follow-tags hyperscale HEAD:main) +(cd "$workdir" && git checkout redhat-cs9/main && push --follow-tags hyperscale HEAD:centos-stream-9) echo 'Cleaning up' exit 0