mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
initscripts: Remove mtab madness from checkroot.sh since it doesn't work with busybox mount and a symlink to proc is much easier
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4458 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
+1
-8
@@ -152,14 +152,7 @@ fi
|
|||||||
mount -n -o remount,$rootmode /
|
mount -n -o remount,$rootmode /
|
||||||
if test "$rootmode" = rw
|
if test "$rootmode" = rw
|
||||||
then
|
then
|
||||||
if test ! -L /etc/mtab
|
ln -sf /proc/mounts /dev/mtab
|
||||||
then
|
|
||||||
rm -f /etc/mtab~ /etc/nologin
|
|
||||||
: > /etc/mtab
|
|
||||||
fi
|
|
||||||
mount -f -o remount /
|
|
||||||
mount -f /proc
|
|
||||||
test "$devfs" && grep -q '^devfs /dev' /proc/mounts && mount -f "$devfs"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
: exit 0
|
: exit 0
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ PRIORITY = "required"
|
|||||||
DEPENDS = "makedevs"
|
DEPENDS = "makedevs"
|
||||||
RDEPENDS = "makedevs"
|
RDEPENDS = "makedevs"
|
||||||
LICENSE = "GPL"
|
LICENSE = "GPL"
|
||||||
PR = "r103"
|
PR = "r104"
|
||||||
|
|
||||||
SRC_URI = "file://functions \
|
SRC_URI = "file://functions \
|
||||||
file://halt \
|
file://halt \
|
||||||
|
|||||||
Reference in New Issue
Block a user