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
..
2019-11-14 22:53:31 +01:00
2018-02-11 14:39:16 +01:00
2020-08-30 22:18:35 +02:00
2020-12-24 11:12:57 +00:00
2020-12-12 23:34:10 +00:00
2020-11-12 18:19:44 +01:00
2020-10-25 12:36:22 +00:00
2020-05-24 17:01:36 +02:00
2020-10-27 22:58:27 +01:00
2020-05-23 13:38:12 +02:00