From: Brad House Date: Sun, 11 Jan 2004 20:55:18 +0000 (+0000) Subject: more fixes X-Git-Tag: v3.4.10.902~703 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c6a6dc32a1901126d69e3f861e244b1d66836962;p=genkernel.git more fixes git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@49 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- diff --git a/generic/initrd.scripts b/generic/initrd.scripts index ab80dfa..d454912 100644 --- a/generic/initrd.scripts +++ b/generic/initrd.scripts @@ -33,7 +33,7 @@ modules_scan() { } findcdmount() { - if [ "$#" -gt "1" ] + if [ "$#" -gt "0" ] then for x in $* do diff --git a/generic/linuxrc b/generic/linuxrc index d4c2ac2..0760181 100644 --- a/generic/linuxrc +++ b/generic/linuxrc @@ -74,7 +74,7 @@ mkdir /newroot if [ "${CDROOT}" -eq "1" ] then mount -t tmpfs tmpfs /newroot - mkdir /newroot/dev /newroot/mnt /newroot/mnt/cdrom /newroot/mnt/loop /newroot/tmp/.initrd /newroot/mnt/gentoo + mkdir /newroot/dev /newroot/mnt /newroot/mnt/cdrom /newroot/mnt/loop /newroot/tmp /newroot/tmp/.initrd /newroot/mnt/gentoo [ ! -e /newroot/dev/.devfsd ] && mount -t devfs devfs /newroot/dev devfsd /newroot/dev sleep 1