Daniel Golle 498fb1b8aa 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>
2021-01-04 21:07:35 +00:00
..
2020-12-30 23:32:07 +01:00
2021-01-01 19:55:59 +01:00
2021-01-02 14:36:25 +01:00
2021-01-04 08:01:16 +01:00
2021-01-03 13:02:13 -10:00