ansible: Add mirror Ubuntu noble kernel sources to git-mirror
[lttng-ci.git] / automation / ansible / roles / gitmirror / files / update.sh
index d4379db17c439170653c51d536ade2040a247430..78b9b5d398fbce1ddd5bd5ddf8159c9ef5d97613 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"
@@ -43,14 +43,12 @@ popd
 # Ubuntu kernels
 ##
 
-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
-
 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.023057 seconds and 4 git commands to generate.