diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-15 16:13:51 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-15 16:13:51 (GMT) |
commit | 4989e79abe0bd9b8c7e364953158e66578f0b0d4 (patch) | |
tree | 38c0d1fe29ea2b8b4c4dd9aac56eb41b73a552a0 /abs/core/LinHES-config/09_mythvantge_runit_grub | |
parent | 094bbec4072b32b2d9d81fb94fd262f60611f7e8 (diff) | |
download | linhes_pkgbuild-4989e79abe0bd9b8c7e364953158e66578f0b0d4.zip linhes_pkgbuild-4989e79abe0bd9b8c7e364953158e66578f0b0d4.tar.gz linhes_pkgbuild-4989e79abe0bd9b8c7e364953158e66578f0b0d4.tar.bz2 |
LinHES-config: fixed several install problems
- new grub install
- fix detection of ip in python scripts
- fix xscreensaver not starting after install
- fix force umount of /new_boot
Diffstat (limited to 'abs/core/LinHES-config/09_mythvantge_runit_grub')
-rw-r--r-- | abs/core/LinHES-config/09_mythvantge_runit_grub | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/abs/core/LinHES-config/09_mythvantge_runit_grub b/abs/core/LinHES-config/09_mythvantge_runit_grub new file mode 100644 index 0000000..ec20282 --- /dev/null +++ b/abs/core/LinHES-config/09_mythvantge_runit_grub @@ -0,0 +1,46 @@ +#!/bin/sh +prefix="/usr" +exec_prefix="${prefix}" +datarootdir="/usr/share" +. "${datarootdir}/grub/grub-mkconfig_lib" +if [ -z "$boot_device_id" ]; then +boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")" +fi + +gettext_printf "Found LinHES runit: \n" >&2 +echo " +menuentry 'LinHES' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-$boot_device_id' { + load_video + set gfxpayload=keep + insmod gzio + insmod part_msdos + insmod ext2 + set root='hd0,msdos1' + if [ x$feature_platform_search_hint = xy ]; then + search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 $boot_device_id + else + search --no-floppy --fs-uuid --set=root $boot_device_id + fi + echo 'Loading Linux core repo kernel ...' + linux /boot/vmlinuz-linux root=UUID=$boot_device_id ro quiet init=/sbin/runit + echo 'Loading initial ramdisk ...' + initrd /boot/initramfs-linux.img + } +menuentry 'LinHES --no-splash' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-$boot_device_id' { + load_video + set gfxpayload=keep + insmod gzio + insmod part_msdos + insmod ext2 + set root='hd0,msdos1' + if [ x$feature_platform_search_hint = xy ]; then + search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 $boot_device_id + else + search --no-floppy --fs-uuid --set=root $boot_device_id + fi + echo 'Loading Linux core repo kernel ...' + linux /boot/vmlinuz-linux root=UUID=$boot_device_id ro init=/sbin/runit + echo 'Loading initial ramdisk ...' + initrd /boot/initramfs-linux.img +} +" |