summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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