diff options
author | John Crispin <john@openwrt.org> | 2014-03-25 20:15:50 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-03-25 20:15:50 +0000 |
commit | ec44a0f11e89101d31cd1bb7f9206fadede61e3e (patch) | |
tree | b0b1f93bf7ac79c0f2392000eb90451e69c08afd | |
parent | e7de56916adf2e743e6e6d100c6b22e8cd795bca (diff) | |
download | mtk-20170518-ec44a0f11e89101d31cd1bb7f9206fadede61e3e.zip mtk-20170518-ec44a0f11e89101d31cd1bb7f9206fadede61e3e.tar.gz mtk-20170518-ec44a0f11e89101d31cd1bb7f9206fadede61e3e.tar.bz2 |
fs-tools: add back mount_root, jffs2reset and ffs2mark functionality
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 40018
-rw-r--r-- | package/system/fstools/Makefile | 3 | ||||
-rw-r--r-- | package/system/fstools/files/jffs2mark | 3 | ||||
-rw-r--r-- | package/system/fstools/files/jffs2reset | 3 | ||||
-rw-r--r-- | package/system/fstools/files/mount_root | 3 |
4 files changed, 11 insertions, 1 deletions
diff --git a/package/system/fstools/Makefile b/package/system/fstools/Makefile index 9a6aaee..c16d6a5 100644 --- a/package/system/fstools/Makefile +++ b/package/system/fstools/Makefile @@ -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 diff --git a/package/system/fstools/files/jffs2mark b/package/system/fstools/files/jffs2mark new file mode 100644 index 0000000..d0bc7ad --- /dev/null +++ b/package/system/fstools/files/jffs2mark @@ -0,0 +1,3 @@ +#!/bin/sh + +fs-state overlay jffs2mark diff --git a/package/system/fstools/files/jffs2reset b/package/system/fstools/files/jffs2reset new file mode 100644 index 0000000..cc3a845 --- /dev/null +++ b/package/system/fstools/files/jffs2reset @@ -0,0 +1,3 @@ +#!/bin/sh + +fs-state overlay jffs2reset diff --git a/package/system/fstools/files/mount_root b/package/system/fstools/files/mount_root new file mode 100644 index 0000000..860c194 --- /dev/null +++ b/package/system/fstools/files/mount_root @@ -0,0 +1,3 @@ +#!/bin/sh + +fs-state start |