From f07ab0c601eb41f53a6a52869aa0f53f8ab6c67f Mon Sep 17 00:00:00 2001 From: Bohan Yang Date: Mon, 13 May 2019 13:31:51 +0800 Subject: [PATCH] Update --- netboot.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/netboot.sh b/netboot.sh index 8a3714d..543e028 100644 --- a/netboot.sh +++ b/netboot.sh @@ -454,9 +454,9 @@ if [ "$DEBI_DRY_RUN" != true ]; then exit 1 fi - gunzip initrd.gz - echo preseed.cfg | cpio -H newc -o -A -F initrd - gzip initrd + gunzip "$DEBI_NEW_DIR/initrd.gz" + echo "$DEBI_NEW_DIR/preseed.cfg" | cpio -H newc -o -A -F initrd + gzip "$DEBI_NEW_DIR/initrd" if command_exists update-grub; then DEBI_GRUBCFG=/boot/grub/grub.cfg