From 88e1e61e0d5bafd30a72fffa2960346274e3e8d5 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Wed, 22 Jan 2020 17:36:27 +0100 Subject: build-initramfs.sh: remove '--no-tags' from git clone routine since it does not exists on CentOS7 --- builder/build-initramfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-55-g7522