X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=grml-debootstrap;h=00ce3631ae6bb751de543806d05f3024215863b2;hb=7f5e35103e745a96cf205fba6ce2bb6cf23fb2dd;hp=364df6c710bda1164970be204d0d6602138d80a1;hpb=d911a370375ab59d74e9129b21e76549a1bde63b;p=grml-debootstrap.git diff --git a/grml-debootstrap b/grml-debootstrap index 364df6c..00ce363 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -1692,6 +1692,11 @@ grub_install() { eend $? fi + if [ -n "${BOOT_APPEND}" ] ; then + echo "Adding BOOT_APPEND configuration ['${BOOT_APPEND}'] to /etc/default/grub." + sed -i "/GRUB_CMDLINE_LINUX_DEFAULT/ s#\"\$# ${BOOT_APPEND}\"#" "${MNTPOINT}/etc/default/grub" + fi + einfo "Updating grub configuration file." chroot "${MNTPOINT}" update-grub chroot "${MNTPOINT}" sync