summaryrefslogtreecommitdiffstats
path: root/builder/build-initramfs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'builder/build-initramfs.sh')
-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