This commit is contained in:
Bohan Yang
2019-05-13 13:31:51 +08:00
parent 121d52bf3a
commit f07ab0c601
+3 -3
View File
@@ -454,9 +454,9 @@ if [ "$DEBI_DRY_RUN" != true ]; then
exit 1 exit 1
fi fi
gunzip initrd.gz gunzip "$DEBI_NEW_DIR/initrd.gz"
echo preseed.cfg | cpio -H newc -o -A -F initrd echo "$DEBI_NEW_DIR/preseed.cfg" | cpio -H newc -o -A -F initrd
gzip initrd gzip "$DEBI_NEW_DIR/initrd"
if command_exists update-grub; then if command_exists update-grub; then
DEBI_GRUBCFG=/boot/grub/grub.cfg DEBI_GRUBCFG=/boot/grub/grub.cfg