fstools: update to the latest version, makes interrupted first boot more reliable
authorFelix Fietkau <nbd@openwrt.org>
Sun, 22 Mar 2015 15:11:27 +0000 (15:11 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 22 Mar 2015 15:11:27 +0000 (15:11 +0000)
Use xattr to store the filesystem initialization state of the overlay.
As long as the filesystem is not marked as initialized yet (happens in
/etc/init.d/done), all overlay data (except for sysupgrade.tgz) will be
discarded before the system is allowed to boot

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44942

package/base-files/files/etc/init.d/done
package/system/fstools/Makefile

index ed75e4022fdad4ac1dd425fbb67929575ecc508f..374353a23c37145d7456875715c5b94b0b4a7cf8 100755 (executable)
@@ -3,7 +3,7 @@
 
 START=95
 boot() {
-       [ -d /tmp/root ] && mount_root done
+       mount_root done
        rm -f /sysupgrade.tgz
 
        # process user commands
index 9040fd94172a6e4ee54d7d5b4bc75e0df66b413b..ad3206943a09efa86deb714a8534b65cf7976de8 100644 (file)
@@ -8,14 +8,14 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=fstools
-PKG_VERSION:=2015-03-12
+PKG_VERSION:=2015-03-22
 
 PKG_RELEASE=$(PKG_SOURCE_VERSION)
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=git://nbd.name/fstools.git
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_VERSION:=0b99adb02f2eb822fbfc4efcb8ebf5fecbd74974
+PKG_SOURCE_VERSION:=eb9181b33bdda2e1ce81094d77913f7b68e26156
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
 CMAKE_INSTALL:=1
 PKG_CHECK_FORMAT_SECURITY:=0