summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2025-06-17 13:38:53 +0200
committerHelmut Grohne <helmut@subdivi.de>2025-06-17 13:38:53 +0200
commitc569637d8354f20d7e10d44683b80386c4adcfb4 (patch)
tree115e2bd1940bb1ae08f0d753615382ddf210a36f
parenta7d8ecc4387619f88ff803a0bee79e4a44490ec9 (diff)
downloaddebvm-c569637d8354f20d7e10d44683b80386c4adcfb4.tar.gz
debvm-create: fix corner case in #1079443 workaround
-rwxr-xr-xshare/customize-kernel.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/customize-kernel.sh b/share/customize-kernel.sh
index 0a252a4..d792f49 100755
--- a/share/customize-kernel.sh
+++ b/share/customize-kernel.sh
@@ -43,7 +43,7 @@ manual_add_modules virtio_blk
EOF
chmod +x "$TARGET/etc/initramfs-tools/hooks/work_around_1079443"
if test "${1:-}" = --update && test -x "$TARGET/usr/bin/update-initramfs"; then
- chroot "$TARGET/update-initramfs -u"
+ chroot "$TARGET" update-initramfs -u
fi
}