summaryrefslogtreecommitdiffstats
path: root/builder/build-initramfs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'builder/build-initramfs.sh')
-rwxr-xr-xbuilder/build-initramfs.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/builder/build-initramfs.sh b/builder/build-initramfs.sh
index 3606eed0..2245739e 100755
--- a/builder/build-initramfs.sh
+++ b/builder/build-initramfs.sh
@@ -44,13 +44,13 @@ if [ ! -e "$_repo_dir" ]; then
path="$(git config -f .gitmodules --get submodule.${mod}.path)"
branch="$(git config -f .gitmodules --get submodule.${mod}.branch)"
commit="$(git submodule status $path | grep -oE '[0-9a-f]{40}')"
- depth_arg=("--shallow-since")
- [ "$mod" = "dnbd3" ] && depth_arg+=("2019-02-12")
- [ "$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")
+ # depth_arg=("--shallow-since")
+ # [ "$mod" = "dnbd3" ] && depth_arg+=("2019-02-12")
+ # [ "$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" ] && continue
+ [ "$mod" = "kernel-qcow2-util-linux" ] && continue
git clone --no-checkout "${depth_arg[@]}" --branch "$branch" "$url" "$path"
pushd "$path"
git checkout "$commit"