Daniel Golle d181f7ec23 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>
Signed-off-by: maurerr <mariusd84@gmail.com>
2021-09-01 08:07:26 +00:00
..
2019-11-14 22:53:31 +01:00
2018-02-11 14:39:16 +01:00
2021-09-01 08:06:54 +00:00
2021-09-01 08:07:24 +00:00
2021-09-01 08:07:21 +00:00
2021-09-01 08:07:10 +00:00
2021-09-01 08:07:06 +00:00
2020-05-24 17:01:36 +02:00
2021-09-01 08:07:07 +00:00
2020-05-23 13:38:12 +02:00