A patch to properly fix bug 15371 is attached.
r39895 removed the symlink to jffs2reset and broke reset capability.
r40018 added back /sbin/jffs2reset to comply with the new fstools package, but a required "-y" parameter is missing from the script and reset is still broken.

https://dev.openwrt.org/ticket/15371#comment:4

My patch adds the "-y" parameter to the call in /sbin/jffs2reset thus restoring the reset capability.
Tested with revision 40380.

signed-off-by: hnyman <[email protected]>


--- package/system/fstools/files/jffs2reset
+++ package/system/fstools/files/jffs2reset
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-fs-state overlay jffs2reset
+fs-state overlay jffs2reset -y
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to