diff options
author | David Cantrell <dcantrell@redhat.com> | 2010-04-14 11:08:37 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2010-04-14 11:08:37 -1000 |
commit | 8a153dca8f71e9a07b6ae94f53e9b5b641a0ce1f (patch) | |
tree | 5ec0c3289e1654b3c0da18123b14f0b2f75752ae /scripts | |
parent | e455ca085efc7ecf660fa63812f814ebca56ef71 (diff) | |
download | anaconda-8a153dca8f71e9a07b6ae94f53e9b5b641a0ce1f.tar.gz anaconda-8a153dca8f71e9a07b6ae94f53e9b5b641a0ce1f.tar.xz anaconda-8a153dca8f71e9a07b6ae94f53e9b5b641a0ce1f.zip |
Add /sbin/reboot and /sbin/halt to s390 initrd.img (#571370)
Necessary for reboot or halt support from rescue mode. Since
linuxrc.s390 currently does everything on s390x, add in handlers for
reboot and halt modes.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mk-images | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/mk-images b/scripts/mk-images index 3355b9a4b..0695f4e89 100755 --- a/scripts/mk-images +++ b/scripts/mk-images @@ -659,6 +659,10 @@ makeinitrd() { else instbin $IMGPATH ${LOADERBINDIR##$IMGPATH}/shutdown $MBD_DIR /sbin/shutdown instbin $IMGPATH /usr/share/anaconda/linuxrc.s390 $MBD_DIR /sbin/init + ( cd $MBD_DIR/sbin + ln -sf linuxrc.s390 reboot + ln -sf linuxrc.s390 halt + ) instbin $IMGPATH /usr/sbin/dasdfmt $MBD_DIR /sbin/dasdfmt cp -a $IMGPATH/usr/sbin/*_cio_free $MBD_DIR/sbin fi |