[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 1/2] Provide CMS script for IPL under z/VM (#475343).



The installation docs tell users to write a REXX boot script to get the
RHEL installation going on s390x.  IBM wants that sample REXX script
provided in the images/ subdirectory.  This patch is a backport of two
patches from RHEL-6 (the one that introduces redhat.exec and the one
that modifies the script to reference generic.prm).
---
 bootdisk/s390/redhat.exec  |    9 +++++++++
 bootdisk/s390x/redhat.exec |    9 +++++++++
 scripts/mk-images.s390     |    1 +
 3 files changed, 19 insertions(+), 0 deletions(-)
 create mode 100644 bootdisk/s390/redhat.exec
 create mode 100644 bootdisk/s390x/redhat.exec

diff --git a/bootdisk/s390/redhat.exec b/bootdisk/s390/redhat.exec
new file mode 100644
index 0000000..f1e5931
--- /dev/null
+++ b/bootdisk/s390/redhat.exec
@@ -0,0 +1,9 @@
+/* */
+'CL RDR'
+'PURGE RDR ALL'
+'SPOOL PUNCH * RDR'
+'PUNCH KERNEL IMG A (NOH'
+'PUNCH GENERIC PRM A (NOH'
+'PUNCH INITRD IMG A (NOH'
+'CH RDR ALL KEEP NOHOLD'
+'I 00C'
diff --git a/bootdisk/s390x/redhat.exec b/bootdisk/s390x/redhat.exec
new file mode 100644
index 0000000..f1e5931
--- /dev/null
+++ b/bootdisk/s390x/redhat.exec
@@ -0,0 +1,9 @@
+/* */
+'CL RDR'
+'PURGE RDR ALL'
+'SPOOL PUNCH * RDR'
+'PUNCH KERNEL IMG A (NOH'
+'PUNCH GENERIC PRM A (NOH'
+'PUNCH INITRD IMG A (NOH'
+'CH RDR ALL KEEP NOHOLD'
+'I 00C'
diff --git a/scripts/mk-images.s390 b/scripts/mk-images.s390
index 9a88864..9dff2de 100644
--- a/scripts/mk-images.s390
+++ b/scripts/mk-images.s390
@@ -13,6 +13,7 @@ makeBootImages() {
 	cp -vf $KERNELROOT/boot/${KERNELNAME}-${version} $TOPDESTPATH/images/kernel.img
 
 	cp -v $BOOTDISKDIR/generic.prm $TOPDESTPATH/images/generic.prm
+	cp -v $BOOTDISKDIR/redhat.exec $TOPDESTPATH/images/redhat.exec
 	cp -v $BOOTDISKDIR/generic.ins $TOPDESTPATH/generic.ins
 
    $MKS390CDBOOT \
-- 
1.6.5.5


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]