summaryrefslogtreecommitdiff
path: root/recipes-core/initscripts
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2021-05-28 05:00:10 -0500
committerJohn Klug <john.klug@multitech.com>2021-05-28 05:00:50 -0500
commit31511dfc190aecb6dd49be78b17fc870a26c3fa5 (patch)
tree8b6c561cdb80ae12ca898bb9161cfd1907326b03 /recipes-core/initscripts
parentca9efcf4d71d9758849cdc0a96c7df121e9cd090 (diff)
downloadmeta-mlinux-31511dfc190aecb6dd49be78b17fc870a26c3fa5.tar.gz
meta-mlinux-31511dfc190aecb6dd49be78b17fc870a26c3fa5.tar.bz2
meta-mlinux-31511dfc190aecb6dd49be78b17fc870a26c3fa5.zip
Flash upgrade fails from SD card
Diffstat (limited to 'recipes-core/initscripts')
-rw-r--r--recipes-core/initscripts/initscripts-1.0/umountfs2
-rw-r--r--recipes-core/initscripts/initscripts_1.0.bbappend2
2 files changed, 3 insertions, 1 deletions
diff --git a/recipes-core/initscripts/initscripts-1.0/umountfs b/recipes-core/initscripts/initscripts-1.0/umountfs
index b044a4a..dd78a0e 100644
--- a/recipes-core/initscripts/initscripts-1.0/umountfs
+++ b/recipes-core/initscripts/initscripts-1.0/umountfs
@@ -265,6 +265,8 @@ flash_upgrade() {
return 1
fi
+ # Keep flash_root mounted
+ cd ${flash_root}
# Run the upgrade script, if it exists, before we change
# flash-root to read-only
if ((upgrade_script == 1)) ; then
diff --git a/recipes-core/initscripts/initscripts_1.0.bbappend b/recipes-core/initscripts/initscripts_1.0.bbappend
index 537fbee..6e0e9f3 100644
--- a/recipes-core/initscripts/initscripts_1.0.bbappend
+++ b/recipes-core/initscripts/initscripts_1.0.bbappend
@@ -3,4 +3,4 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
# flash on reboot/umountfs needs regular umount (not busybox)
RDEPENDS_${PN} += "util-linux-umount util-linux-mount bash"
-PR .= ".46"
+PR .= ".47"