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

[PATCH 3/4] Link /sbin/reboot and /sbin/halt to /sbin/init on s390x (#571370)



The linuxrc.s390 script is installed as /sbin/init, not
/sbin/linuxrc.s390.
---
 scripts/mk-images |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/mk-images b/scripts/mk-images
index a7e047e..fbd0dbd 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -661,8 +661,8 @@ makeinitrd() {
         instbin $IMGPATH ${LOADERBINDIR##$IMGPATH}/shutdown $MBD_DIR /sbin/shutdown
         instbin $IMGPATH /usr/lib/anaconda-runtime/loader/linuxrc.s390 $MBD_DIR /sbin/init
         ( cd $MBD_DIR/sbin
-          ln -sf linuxrc.s390 reboot
-          ln -sf linuxrc.s390 halt
+          ln -sf init reboot
+          ln -sf init halt
         )
         instbin $IMGPATH /usr/sbin/dasdfmt $MBD_DIR /sbin/dasdfmt
         cp -a $IMGPATH/usr/sbin/*_cio_free $MBD_DIR/sbin
-- 
1.6.6.1


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