aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-03-25 20:15:50 +0000
committerJohn Crispin <john@openwrt.org>2014-03-25 20:15:50 +0000
commitec44a0f11e89101d31cd1bb7f9206fadede61e3e (patch)
treeb0b1f93bf7ac79c0f2392000eb90451e69c08afd
parente7de56916adf2e743e6e6d100c6b22e8cd795bca (diff)
downloadupstream-ec44a0f11e89101d31cd1bb7f9206fadede61e3e.tar.gz
upstream-ec44a0f11e89101d31cd1bb7f9206fadede61e3e.tar.bz2
upstream-ec44a0f11e89101d31cd1bb7f9206fadede61e3e.zip
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/Makefile3
-rw-r--r--package/system/fstools/files/jffs2mark3
-rw-r--r--package/system/fstools/files/jffs2reset3
-rw-r--r--package/system/fstools/files/mount_root3
4 files changed, 11 insertions, 1 deletions
diff --git a/package/system/fstools/Makefile b/package/system/fstools/Makefile
index 9a6aaeef1e..c16d6a5621 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 0000000000..d0bc7ad007
--- /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 0000000000..cc3a8453db
--- /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 0000000000..860c194ce3
--- /dev/null
+++ b/package/system/fstools/files/mount_root
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+fs-state start