aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/imx6/base-files
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2019-07-16 22:06:40 +0200
committerPetr Štetiar <ynezz@true.cz>2019-07-17 12:16:29 +0200
commit0711b515f635bc67e5096caaac1cb1386dd69e08 (patch)
tree77421cc7d2656caea2f03c2c87ad5272e72d4d2c /target/linux/imx6/base-files
parent5e9a6d08d298502907e72e854e2a0514b3637527 (diff)
downloadupstream-0711b515f635bc67e5096caaac1cb1386dd69e08.tar.gz
upstream-0711b515f635bc67e5096caaac1cb1386dd69e08.tar.bz2
upstream-0711b515f635bc67e5096caaac1cb1386dd69e08.zip
imx6: apalis: add missing jffs2reset to ramfs during sysupgrade
jffs2reset is used to cleanup the rootfs_data overlay, but it's currently missing in the ramfs during sysupgrade leading to the following error: Switching to ramdisk... Performing system upgrade... /lib/upgrade/do_stage2: line 27: jffs2reset: not found Fixes: 2f1a11d0089c ("imx6: apalis: fix config survival after sysupgrade -n") Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'target/linux/imx6/base-files')
-rwxr-xr-xtarget/linux/imx6/base-files/lib/upgrade/platform.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/imx6/base-files/lib/upgrade/platform.sh b/target/linux/imx6/base-files/lib/upgrade/platform.sh
index aecdf6c4b1..0dfaf0163d 100755
--- a/target/linux/imx6/base-files/lib/upgrade/platform.sh
+++ b/target/linux/imx6/base-files/lib/upgrade/platform.sh
@@ -4,7 +4,7 @@
. /lib/imx6.sh
-RAMFS_COPY_BIN='blkid'
+RAMFS_COPY_BIN='blkid jffs2reset'
enable_image_metadata_check() {
case "$(board_name)" in