From a9697fb1f06fdf687045eef8381e7b01620ce45a Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Thu, 9 Aug 2012 16:54:30 +0200 Subject: [PATCH] add BOOT_APPEND to GRUB_CMDLINE_LINUX_DEFAULT it was broken since commit cbf40a49324ae7feb468e528a7845465304faaff --- grml-debootstrap | 3 +++ 1 file changed, 3 insertions(+) diff --git a/grml-debootstrap b/grml-debootstrap index cb98aeb..8667738 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -1018,6 +1018,9 @@ finalize_vm() { rm -f "${MNTPOINT}/tmp/core.img" einfo "Updating grub configuration file." + if [ -n "$BOOT_APPEND" ] ; then + sed -i "/GRUB_CMDLINE_LINUX_DEFAULT/ s#\"\$# ${BOOT_APPEND}\"#" "${MNTPOINT}"/etc/default/grub + fi chroot "${MNTPOINT}" update-grub umount "${MNTPOINT}"/proc -- 2.1.4