allow setting additional dracut parameters for DVD s390x installs

The installation from DVD on s390x needs setting the target disks and
network information that are usually set by editing the generic.prm file.
By including the "rd.cmdline=ask" parameter dracut will open a simple
dialog so the user can enter the required information.
This commit is contained in:
Dan Horák 2014-08-21 09:53:14 +02:00 committed by Brian C. Lane
parent 79decb107c
commit e92ea26206
3 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,5 @@
* minimal lpar ins file * minimal lpar ins file
images/kernel.img 0x00000000 images/kernel.img 0x00000000
images/initrd.img @INITRD_LOAD_ADDRESS@ images/initrd.img @INITRD_LOAD_ADDRESS@
images/generic.prm 0x00010480 images/genericdvd.prm 0x00010480
images/initrd.addrsize 0x00010408 images/initrd.addrsize 0x00010408

View File

@ -0,0 +1 @@
ro ramdisk_size=40000 cio_ignore=all,!condev rd.cmdline=ask

View File

@ -15,6 +15,7 @@ treeinfo stage2 mainimage images/${runtime_base}
## install bootloader (such as it is) and bootloader config ## install bootloader (such as it is) and bootloader config
install ${configdir}/redhat.exec ${BOOTDIR} install ${configdir}/redhat.exec ${BOOTDIR}
install ${configdir}/generic.prm ${BOOTDIR} install ${configdir}/generic.prm ${BOOTDIR}
install ${configdir}/genericdvd.prm ${BOOTDIR}
install ${configdir}/generic.ins . install ${configdir}/generic.ins .
## configure bootloader ## configure bootloader
@ -35,4 +36,5 @@ createaddrsize ${INITRD_ADDRESS} ${outroot}/${BOOTDIR}/initrd.img ${outroot}/${B
## s390 also has some special treeinfo data ## s390 also has some special treeinfo data
treeinfo images-${basearch} initrd.addrsize ${BOOTDIR}/initrd.addrsize treeinfo images-${basearch} initrd.addrsize ${BOOTDIR}/initrd.addrsize
treeinfo images-${basearch} generic.prm ${BOOTDIR}/generic.prm treeinfo images-${basearch} generic.prm ${BOOTDIR}/generic.prm
treeinfo images-${basearch} genericdvd.prm ${BOOTDIR}/genericdvd.prm
treeinfo images-${basearch} generic.ins generic.ins treeinfo images-${basearch} generic.ins generic.ins