summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2008-10-31 10:55:37 -1000
committerDavid Cantrell <dcantrell@redhat.com>2008-10-31 11:37:42 -1000
commit51a505e605018a9d97ffe1b2b54c9c005041119b (patch)
tree60f8ed132d779c8cf651521c8c8256dc82d31ab6
parent0f7f33279b7131139ad45d7bcaed13ac7ded03e5 (diff)
downloadanaconda-51a505e605018a9d97ffe1b2b54c9c005041119b.tar.gz
anaconda-51a505e605018a9d97ffe1b2b54c9c005041119b.tar.xz
anaconda-51a505e605018a9d97ffe1b2b54c9c005041119b.zip
Provide sample punch card reader script for s390x (#462953)
IBM would like us to provide mainframe users with a sample punchcard reader script along with the other boot files on s390x. I'd just like to say that again: punch cards.
-rw-r--r--bootdisk/s390x/redhat.exec9
-rw-r--r--scripts/mk-images.s3901
2 files changed, 10 insertions, 0 deletions
diff --git a/bootdisk/s390x/redhat.exec b/bootdisk/s390x/redhat.exec
new file mode 100644
index 000000000..d5b7f7467
--- /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 REDHAT PARM 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 1f87232a1..b3e9db1a5 100644
--- a/scripts/mk-images.s390
+++ b/scripts/mk-images.s390
@@ -31,6 +31,7 @@ makeBootImages() {
$GENINITRDSZ $sz $TOPDESTPATH/images/initrd.size
cp -vf $KERNELROOT/boot/${KERNELNAME}-${version} $TOPDESTPATH/images/kernel.img
+ cp -v $BOOTDISKDIR/redhat.exec $TOPDESTPATH/images/redhat.exec
cp -v $BOOTDISKDIR/generic.prm $TOPDESTPATH/images/generic.prm
cp -v $BOOTDISKDIR/generic.ins $TOPDESTPATH/generic.ins