From: Daniel Golle Date: Mon, 4 Jan 2021 21:01:05 +0000 (+0000) Subject: fstools: fix 'firstboot' on unmounted UBIFS overlay X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=498fb1b8aa5f314206af78ca0e6d118f9f51c937;p=openwrt%2Fstaging%2Fjow.git 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 --- 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