summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpackages/openslug-init/openslug-init-0.10/functions5
-rw-r--r--packages/openslug-init/openslug-init_0.10.bb2
2 files changed, 4 insertions, 3 deletions
diff --git a/packages/openslug-init/openslug-init-0.10/functions b/packages/openslug-init/openslug-init-0.10/functions
index 43b109977d..55f3397462 100755
--- a/packages/openslug-init/openslug-init-0.10/functions
+++ b/packages/openslug-init/openslug-init-0.10/functions
@@ -307,8 +307,9 @@ umountflash() {
# handle this entry, since this is currently only used for unmounting
# the flash root partition we know a file which must exist...
- case "$type" in
- jffs2) test "$(devio "<<$mp/etc/init.d/sysconfsetup" prd 2>/dev/null)" -ne "$ffsno" ||
+ case "$mp/$type" in
+ //jffs2);; # skip /
+ */jffs2)test "$(devio "<<$mp/etc/init.d/sysconfsetup" prd 2>/dev/null)" -ne "$ffsno" ||
umount "$mp" || {
echo "$0: $mp: unable to umount $ffsdev" >&2
return 1
diff --git a/packages/openslug-init/openslug-init_0.10.bb b/packages/openslug-init/openslug-init_0.10.bb
index fd2080ff65..e26b118a6a 100644
--- a/packages/openslug-init/openslug-init_0.10.bb
+++ b/packages/openslug-init/openslug-init_0.10.bb
@@ -3,7 +3,7 @@ SECTION = "console/network"
LICENSE = "GPL"
DEPENDS = "base-files devio"
RDEPENDS = "busybox devio"
-PR = "r40"
+PR = "r41"
SRC_URI = "file://linuxrc \
file://boot/flash \