fs-tools: add back mount_root, jffs2reset and ffs2mark functionality

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40018
This commit is contained in:
John Crispin 2014-03-25 20:15:50 +00:00
parent e7de56916a
commit ec44a0f11e
4 changed files with 11 additions and 1 deletions

View File

@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=fstools
PKG_VERSION:=2014-02-27
PKG_VERSION:=2014-03-25
PKG_RELEASE=$(PKG_SOURCE_VERSION)
@ -39,6 +39,7 @@ endef
define Package/fstools/install
$(INSTALL_DIR) $(1)/sbin
$(INSTALL_BIN) ./files/{jffs2reset,jffs2mark,mount_root} $(1)/sbin/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/fs-state $(1)/sbin/
$(INSTALL_BIN) ./files/snapshot $(1)/sbin/
endef

View File

@ -0,0 +1,3 @@
#!/bin/sh
fs-state overlay jffs2mark

View File

@ -0,0 +1,3 @@
#!/bin/sh
fs-state overlay jffs2reset

View File

@ -0,0 +1,3 @@
#!/bin/sh
fs-state start