summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2019-09-04 16:44:30 +0200
committerJonathan Bauer2019-09-04 16:44:30 +0200
commitbdc3203ea73546f01b40dbf3ea84071b3c9c273c (patch)
treedd90b758cfbcd191cbae21f9677cbdcb6297dd71
parentadd kernel-qcow2-linux submodule (diff)
downloadsystemd-init-bdc3203ea73546f01b40dbf3ea84071b3c9c273c.tar.gz
systemd-init-bdc3203ea73546f01b40dbf3ea84071b3c9c273c.tar.xz
systemd-init-bdc3203ea73546f01b40dbf3ea84071b3c9c273c.zip
build-initramfs.sh: shallow kernel-qcow2-linux
-rwxr-xr-xbuilder/build-initramfs.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/builder/build-initramfs.sh b/builder/build-initramfs.sh
index 69e53b0a..8e5df3fd 100755
--- a/builder/build-initramfs.sh
+++ b/builder/build-initramfs.sh
@@ -49,6 +49,7 @@ if [ ! -e "$_repo_dir" ]; then
[ "$mod" = "rebash" ] && depth_arg+=("2016-11-30")
[ "$mod" = "qemu-xmount" ] && depth_arg+=("2016-01-01")
[ "$mod" = "xmount" ] && depth_arg+=("2015-11-05")
+ [ "$mod" = "kernel-qcow2-linux" ] && depth_arg+=("2019-08-25")
[ "$mod" = "kernel-qcow2-util-linux" ] && depth_arg+=("2019-08-15")
git clone -n --no-tags "${depth_arg[@]}" --branch "$branch" "$url" "$path"
pushd "$path"