aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2021-01-04 21:01:05 +0000
committerDaniel Golle <daniel@makrotopia.org>2021-01-04 21:07:35 +0000
commit498fb1b8aa5f314206af78ca0e6d118f9f51c937 (patch)
tree195109359826ad0ea9847a4aeb5aa2e9485623d2 /scripts
parentc7aec47e5e3a3ff7b5fdaa11cd1e62cae6746acb (diff)
downloadupstream-498fb1b8aa5f314206af78ca0e6d118f9f51c937.tar.gz
upstream-498fb1b8aa5f314206af78ca0e6d118f9f51c937.tar.bz2
upstream-498fb1b8aa5f314206af78ca0e6d118f9f51c937.zip
fstools: fix 'firstboot' on unmounted UBIFS overlay
The usual OpenWrt-way of writing the JFFS2-marker in order to have a filesystem erased at the next boot fails on UBIFS volumes due to UBI being a different beast when it comes to writing. As truncating a UBIFS volume only takes a few milliseconds and has the desired effect of wiping-out all content of that volume, just do that instead. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions