From 9e71a6492d232c954b03ab377121998bf08ac8c0 Mon Sep 17 00:00:00 2001 From: Brad House Date: Sat, 7 Feb 2004 15:28:09 +0000 Subject: [PATCH] beta10 finalizations git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@70 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- generic/linuxrc | 9 ++++++--- genkernel | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/generic/linuxrc b/generic/linuxrc index 8ee15c9..8ffa3f1 100644 --- a/generic/linuxrc +++ b/generic/linuxrc @@ -251,8 +251,11 @@ pivot_root . tmp/.initrd # We cannot use if [ this = that ] after a pivot_root as # an old version of coreutils in real_root does not support # that style, noted by Weeve +# Well, changed it back to using [ ] for 3.0.1_beta10 too many +# people reporting with newer binutils that using 'test' does +# not work for some reason -if test "${USE_DEVFS_NORMAL}" -eq "1" -a "${CDROOT}" -eq "0" +if [ "${USE_DEVFS_NORMAL}" -eq "1" -a "${CDROOT}" -eq "0" ] then # must mount a new devfs before we can # umount the old one for some reason @@ -272,7 +275,7 @@ then # asking questions! umount /dev umount /proc -elif test "${CDROOT}" -eq "1" +elif [ "${CDROOT}" -eq "1" ] then # If automount at boot was on with devfs, we'll want to umount it # also umount proc @@ -289,5 +292,5 @@ fi # here's the line it says we should do: # exec chroot . /sbin/init /dev/console 2>&1 # not gonna though .... -exec /sbin/init +exec chroot . /sbin/init ${CMDLINE} < /dev/console > /dev/consle 2>&1 diff --git a/genkernel b/genkernel index 2789bab..429bae0 100755 --- a/genkernel +++ b/genkernel @@ -1,7 +1,7 @@ #!/bin/bash # Genkernel v3 -GK_V="3.0.1_beta9" +GK_V="3.0.1_beta10" TEMP="/tmp" small_die() { -- 2.26.2