diff options
author | Daniel Golle <daniel@makrotopia.org> | 2021-01-04 21:01:05 +0000 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2021-01-04 21:07:35 +0000 |
commit | 498fb1b8aa5f314206af78ca0e6d118f9f51c937 (patch) | |
tree | 195109359826ad0ea9847a4aeb5aa2e9485623d2 | |
parent | c7aec47e5e3a3ff7b5fdaa11cd1e62cae6746acb (diff) | |
download | upstream-498fb1b8aa5f314206af78ca0e6d118f9f51c937.tar.gz upstream-498fb1b8aa5f314206af78ca0e6d118f9f51c937.tar.bz2 upstream-498fb1b8aa5f314206af78ca0e6d118f9f51c937.zip |
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>
-rw-r--r-- | package/system/fstools/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/system/fstools/Makefile b/package/system/fstools/Makefile index bd4825b9f9..2da508d541 100644 --- a/package/system/fstools/Makefile +++ b/package/system/fstools/Makefile @@ -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 |