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>
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=$(PROJECT_GIT)/project/fstools.git
-PKG_MIRROR_HASH:=22670e033b5623348de37c1d1e69caf799752b38205be8b25bc7020ef9e69884
-PKG_SOURCE_DATE:=2020-12-12
-PKG_SOURCE_VERSION:=f415323b7c87d66ab11d89325937d5dae5eb65c9
+PKG_MIRROR_HASH:=a485792d90c71cd4fb396ce97f42a57ee4d2a3d78e5f3fd0748270ffb14209e6
+PKG_SOURCE_DATE:=2021-01-04
+PKG_SOURCE_VERSION:=c53b18820756f6f32ad0782d3bf489422b7c4ad3
CMAKE_INSTALL:=1
PKG_LICENSE:=GPL-2.0