diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2009-07-26 18:19:32 +0200 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2009-07-26 18:19:32 +0200 |
commit | fb311626f9b9c0ad17af504408c2aba8ac80b536 (patch) | |
tree | 4f1a7d6f9b23cf872d64435cbb1c8ad47e9ea3c5 /examples/fancy-install-on-sda | |
parent | 061924c6aa9770c300fc537e3047df90dc731223 (diff) |
no more need for the grub hacks
Diffstat (limited to 'examples/fancy-install-on-sda')
-rw-r--r-- | examples/fancy-install-on-sda | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/examples/fancy-install-on-sda b/examples/fancy-install-on-sda index 819e7f3..6a34972 100644 --- a/examples/fancy-install-on-sda +++ b/examples/fancy-install-on-sda @@ -1,7 +1,5 @@ # this config is like generic-install-on-sda (check out that file first), but more fancy -phase_finish=(msg_report grub_hack) - SOURCE=cd FILE_URL=file:///src/core/pkg SYNC_URL= @@ -24,11 +22,6 @@ worker_configure_system () { sed -i 's/filesystems/usbinput keymap encrypt lvm2 filesystems/' $var_TARGET_DIR/etc/mkinitcpio.conf } -# aif code doesn't nicely update grub config automatically for lvm/dm_crypt systems yet, so we have to do it with this hack -worker_grub_hack () { - sed -i 's#root=/dev/sda.*#root=/dev/mapper/cryptpool-cryptroot cryptdevice=/dev/sda2:cryptpool ro#' $var_TARGET_DIR/boot/grub/menu.lst -} - # These variables are mandatory GRUB_DEVICE=/dev/sda |