lorax: qubes customized templates

This commit is contained in:
Marek Marczykowski 2013-01-24 11:54:44 +01:00
parent a25ae51162
commit 2c2f035c61
3 changed files with 15 additions and 10 deletions

View File

@ -58,13 +58,13 @@ menu separator # insert an empty line
menu separator # insert an empty line menu separator # insert an empty line
label linux label linux
menu label ^Install @PRODUCT@ menu label ^Install @PRODUCT@
kernel vmlinuz kernel mboot.c32
append initrd=initrd.img @ROOT@ quiet append xen.gz --- vmlinuz @ROOT@ quiet --- initrd.img
label check label check
menu label Test this ^media & install @PRODUCT@ menu label Test this ^media & install @PRODUCT@
menu default menu default
kernel vmlinuz kernel mboot.c32
append initrd=initrd.img @ROOT@ quiet rd.live.check append xen.gz --- vmlinuz @ROOT@ quiet rd.live.check --- initrd.img
menu separator # insert an empty line menu separator # insert an empty line
# utilities submenu # utilities submenu
menu begin ^Troubleshooting menu begin ^Troubleshooting
@ -76,8 +76,8 @@ label vesa
Try this option out if you're having trouble installing Try this option out if you're having trouble installing
@PRODUCT@. @PRODUCT@.
endtext endtext
kernel vmlinuz kernel mboot.c32
append initrd=initrd.img @ROOT@ xdriver=vesa nomodeset quiet append xen.gz --- vmlinuz @ROOT@ xdriver=vesa nomodeset quiet --- initrd.img
label rescue label rescue
menu indent count 5 menu indent count 5
menu label ^Rescue a @PRODUCT@ system menu label ^Rescue a @PRODUCT@ system
@ -85,8 +85,8 @@ label rescue
If the system will not boot, this lets you access files If the system will not boot, this lets you access files
and edit config files to try to get it booting again. and edit config files to try to get it booting again.
endtext endtext
kernel vmlinuz kernel mboot.c32
append initrd=initrd.img @ROOT@ rescue quiet append xen.gz --- vmlinuz @ROOT@ rescue quiet --- initrd.img
label memtest label memtest
menu label Run a ^memory test menu label Run a ^memory test
text help text help

View File

@ -1,6 +1,8 @@
## lorax template file: populate the ramdisk (runtime image) ## lorax template file: populate the ramdisk (runtime image)
<%page args="basearch, product"/> <%page args="basearch, product"/>
installpkg python
## anaconda package ## anaconda package
installpkg anaconda anaconda-widgets installpkg anaconda anaconda-widgets
## anaconda deps that aren't in the RPM ## anaconda deps that aren't in the RPM
@ -19,6 +21,7 @@ installpkg kernel
installpkg *-firmware installpkg *-firmware
installpkg b43-openfwwf installpkg b43-openfwwf
%endif %endif
installpkg xen-hypervisor
## arch-specific packages (bootloaders etc.) ## arch-specific packages (bootloaders etc.)
%if basearch in ("arm", "armhfp"): %if basearch in ("arm", "armhfp"):
@ -48,7 +51,7 @@ installpkg plymouth
installpkg dracut-network anaconda-dracut installpkg dracut-network anaconda-dracut
## fedup-dracut handles upgrades ## fedup-dracut handles upgrades
installpkg fedup-dracut fedup-dracut-plymouth *-fedup-dracut ##installpkg fedup-dracut fedup-dracut-plymouth *-fedup-dracut
## rpcbind or portmap needed by dracut nfs module ## rpcbind or portmap needed by dracut nfs module
installpkg rpcbind installpkg rpcbind
@ -93,7 +96,7 @@ installpkg mt-st hdparm smartmontools
installpkg libmlx4 installpkg libmlx4
## translations & language packs ## translations & language packs
installpkg yum-langpacks specspo ##installpkg yum-langpacks specspo
## fonts & themes ## fonts & themes
installpkg bitmap-fangsongti-fonts installpkg bitmap-fangsongti-fonts

View File

@ -16,6 +16,8 @@ treeinfo stage2 mainimage ${LIVEDIR}/squashfs.img
mkdir ${BOOTDIR} mkdir ${BOOTDIR}
install ${SYSLINUXDIR}/isolinux.bin ${BOOTDIR} install ${SYSLINUXDIR}/isolinux.bin ${BOOTDIR}
install ${SYSLINUXDIR}/vesamenu.c32 ${BOOTDIR} install ${SYSLINUXDIR}/vesamenu.c32 ${BOOTDIR}
install ${SYSLINUXDIR}/mboot.c32 ${BOOTDIR}
install boot/xen*gz ${BOOTDIR}
install ${configdir}/isolinux.cfg ${BOOTDIR} install ${configdir}/isolinux.cfg ${BOOTDIR}
install ${configdir}/boot.msg ${BOOTDIR} install ${configdir}/boot.msg ${BOOTDIR}
install ${configdir}/grub.conf ${BOOTDIR} install ${configdir}/grub.conf ${BOOTDIR}