summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}