summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2020-01-22 17:36:27 +0100
committerJonathan Bauer2020-01-22 17:36:27 +0100
commit88e1e61e0d5bafd30a72fffa2960346274e3e8d5 (patch)
treede66c973b6a85a2bf9910fe295fabd56564314c9
parent[slx-splash] exam mode (diff)
downloadsystemd-init-88e1e61e0d5bafd30a72fffa2960346274e3e8d5.tar.gz
systemd-init-88e1e61e0d5bafd30a72fffa2960346274e3e8d5.tar.xz
systemd-init-88e1e61e0d5bafd30a72fffa2960346274e3e8d5.zip
build-initramfs.sh: remove '--no-tags' from git clone routine since it does not exists on CentOS7
-rwxr-xr-xbuilder/build-initramfs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/builder/build-initramfs.sh b/builder/build-initramfs.sh
index a59ebab0..3606eed0 100755
--- a/builder/build-initramfs.sh
+++ b/builder/build-initramfs.sh
@@ -51,7 +51,7 @@ if [ ! -e "$_repo_dir" ]; then
[ "$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"
+ git clone --no-checkout "${depth_arg[@]}" --branch "$branch" "$url" "$path"
pushd "$path"
git checkout "$commit"
popd