fstools: fix 'firstboot' on unmounted UBIFS overlay
authorDaniel Golle <daniel@makrotopia.org>
Mon, 4 Jan 2021 21:01:05 +0000 (21:01 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 4 Jan 2021 21:07:35 +0000 (21:07 +0000)
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>
package/system/fstools/Makefile

index bd4825b9f96e91f1862c1238deae2ee46a6c25e2..2da508d541b891b37096194c30ca67472fe74cc6 100644 (file)
@@ -12,9 +12,9 @@ PKG_RELEASE:=1
 
 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