git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@49 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Brad House 21 years ago
parent a3ee9dad5e
commit c6a6dc32a1

@ -33,7 +33,7 @@ modules_scan() {
} }
findcdmount() { findcdmount() {
if [ "$#" -gt "1" ] if [ "$#" -gt "0" ]
then then
for x in $* for x in $*
do do

@ -74,7 +74,7 @@ mkdir /newroot
if [ "${CDROOT}" -eq "1" ] if [ "${CDROOT}" -eq "1" ]
then then
mount -t tmpfs tmpfs /newroot 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 [ ! -e /newroot/dev/.devfsd ] && mount -t devfs devfs /newroot/dev
devfsd /newroot/dev devfsd /newroot/dev
sleep 1 sleep 1

Loading…
Cancel
Save