summaryrefslogtreecommitdiff
path: root/recipes-core/initscripts
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/initscripts')
-rw-r--r--recipes-core/initscripts/initscripts-1.0/umountfs3
-rw-r--r--recipes-core/initscripts/initscripts_1.0.bbappend2
2 files changed, 4 insertions, 1 deletions
diff --git a/recipes-core/initscripts/initscripts-1.0/umountfs b/recipes-core/initscripts/initscripts-1.0/umountfs
index 9c36bd3..b100086 100644
--- a/recipes-core/initscripts/initscripts-1.0/umountfs
+++ b/recipes-core/initscripts/initscripts-1.0/umountfs
@@ -251,6 +251,9 @@ flash_upgrade() {
# flash-root to read-only
if ((upgrade_script == 1)) ; then
if (cd ${flash_dir};tar -xf ${upgrade_file}) ; then
+ if ! [[ -x ${flash_dir}/${install_file} ]]
+ /bin/mount -o remount,exec ${flash_root}
+ fi
exec ${flash_dir}/${install_file} ${flash_root}
else
echo "Extraction of ${upgrade_file} failed"
diff --git a/recipes-core/initscripts/initscripts_1.0.bbappend b/recipes-core/initscripts/initscripts_1.0.bbappend
index af7b258..c5bd486 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 .= ".43"
+PR .= ".44"