ansible: Add mirror of patch SLE kernel source
[lttng-ci.git] / automation / ansible / roles / gitmirror / files / update.sh
index d4379db17c439170653c51d536ade2040a247430..a804c03795f056f2006cb538e6720cfd062b5d95 100644 (file)
@@ -9,7 +9,7 @@ update_git() {
     local origin="$2"
 
     if [ ! -d "${repodir}" ] ; then
-        git clone --bare "${origin}" "${repodir}"
+        git clone --mirror "${origin}" "${repodir}"
     fi
 
     pushd "$repodir"
@@ -40,17 +40,20 @@ git tag -d v2.6.11-tree || true
 popd
 
 ##
-# Ubuntu kernels
+# SLES kernels
 ##
+update_git sles.git/ https://github.com/SUSE/kernel.git
 
-update_git ubuntu-xenial.git/ https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/xenial
-
-update_git ubuntu-bionic.git/ git://kernel.ubuntu.com/ubuntu/ubuntu-bionic.git
+##
+# Ubuntu kernels
+##
 
 update_git ubuntu-focal.git/ git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/focal
 
 update_git ubuntu-jammy.git/ git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/jammy
 
+update_git ubuntu-noble.git/ git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/noble
+
 ##
 # GDB repos
 ##
This page took 0.024112 seconds and 4 git commands to generate.