newroot is gone too

This commit is contained in:
Thomas Veerman 2012-05-02 14:01:12 +02:00 committed by Thomas Veerman
parent d0c7c2a5d2
commit 0bcc4c15c9
2 changed files with 6 additions and 2 deletions

View file

@ -11,7 +11,7 @@ SBINFILES = ahci at_wini ext2 floppy mfs procfs \
ETCFILES = system.conf mtab passwd pwd.db spwd.db master.passwd \
rs.single
USRBINFILES = newroot loadramdisk cdprobe
USRBINFILES = loadramdisk cdprobe
USRSBINFILES = acpi pci
IMAGE_DIRS= bin sbin etc usr/bin usr/sbin

View file

@ -67,7 +67,11 @@ echo "Root device name is $rootdevname"
if [ -e $FSCK ]
then $FSCK -p $rootdevname
fi
/usr/bin/newroot $bin_img"$rootdevname"
# Change root from temporary boot ramdisk to the configure
# root device
/bin/mount -n $bin_img"$rootdevname" /
/bin/mount -e -n -t procfs none /proc || echo "WARNING: couldn't mount procfs"
exec /bin/sh /etc/rc "$@"