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:
parent
e7de56916a
commit
ec44a0f11e
4 changed files with 11 additions and 1 deletions
|
@ -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
|
||||
|
|
3
package/system/fstools/files/jffs2mark
Normal file
3
package/system/fstools/files/jffs2mark
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
fs-state overlay jffs2mark
|
3
package/system/fstools/files/jffs2reset
Normal file
3
package/system/fstools/files/jffs2reset
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
fs-state overlay jffs2reset
|
3
package/system/fstools/files/mount_root
Normal file
3
package/system/fstools/files/mount_root
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
fs-state start
|
Loading…
Reference in a new issue