mirror of
https://git.yoctoproject.org/poky
synced 2026-09-24 22:36:21 +02:00
initscripts: Tweak checkroot to work with recent versions of busybox
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -18,13 +18,13 @@ test "$SULOGIN" = yes && sulogin -t 30 $CONSOLE
|
|||||||
#
|
#
|
||||||
# Read /etc/fstab.
|
# Read /etc/fstab.
|
||||||
#
|
#
|
||||||
exec 9>&0 </etc/fstab
|
exec 9< /etc/fstab
|
||||||
rootmode=rw
|
rootmode=rw
|
||||||
rootopts=rw
|
rootopts=rw
|
||||||
rootcheck=no
|
rootcheck=no
|
||||||
swap_on_md=no
|
swap_on_md=no
|
||||||
devfs=
|
devfs=
|
||||||
while read fs mnt type opts dump pass junk
|
while read fs mnt type opts dump pass junk <&9
|
||||||
do
|
do
|
||||||
case "$fs" in
|
case "$fs" in
|
||||||
""|\#*)
|
""|\#*)
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ PRIORITY = "required"
|
|||||||
DEPENDS = "makedevs"
|
DEPENDS = "makedevs"
|
||||||
RDEPENDS = "makedevs"
|
RDEPENDS = "makedevs"
|
||||||
LICENSE = "GPL"
|
LICENSE = "GPL"
|
||||||
PR = "r120"
|
PR = "r121"
|
||||||
|
|
||||||
SRC_URI = "file://functions \
|
SRC_URI = "file://functions \
|
||||||
file://halt \
|
file://halt \
|
||||||
|
|||||||
Reference in New Issue
Block a user