allow setting additional dracut parameters for DVD s390x installs (#1132050)
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.
Resolves: rhbz#1132050
(cherry picked from commit e92ea26206
)
This commit is contained in:
parent
ca4b3d35dd
commit
d1ec67c8d2
@ -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
|
||||||
|
1
share/config_files/s390/genericdvd.prm
Normal file
1
share/config_files/s390/genericdvd.prm
Normal file
@ -0,0 +1 @@
|
|||||||
|
ro ramdisk_size=40000 cio_ignore=all,!condev rd.cmdline=ask
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user