summaryrefslogtreecommitdiff
path: root/package/base-files/files/lib
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-10-05 19:24:12 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-10-05 19:24:12 +0000
commitd80f82d7a4cbf6d5c7dbabe5ac493a8e3e5665c0 (patch)
tree331feedd5034e69c522f9cf160716d4cdff5d486 /package/base-files/files/lib
parentf3a5085903f770bf0b569d3b94ca1cc4d7bab53f (diff)
downloadmtk-20170518-d80f82d7a4cbf6d5c7dbabe5ac493a8e3e5665c0.zip
mtk-20170518-d80f82d7a4cbf6d5c7dbabe5ac493a8e3e5665c0.tar.gz
mtk-20170518-d80f82d7a4cbf6d5c7dbabe5ac493a8e3e5665c0.tar.bz2
base-files: - add sysupgrade support for keepfile hints * introduces /lib/upgrade/keep.d/ for per-package keepfile lists * introduces /etc/sysupgrade.conf for user defined keepfile hints - prime /lib/upgrade/keep.d/base-files-essential to keep sysupgrade usable for images without opkg - change sysupgrade to build the keepfile list from /lib/upgrade/keep.d/, /etc/sysupgrade.conf and opkg list-changed-conffiles
SVN-Revision: 23258
Diffstat (limited to 'package/base-files/files/lib')
-rw-r--r--package/base-files/files/lib/upgrade/keep.d/base-files-essential10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/base-files/files/lib/upgrade/keep.d/base-files-essential b/package/base-files/files/lib/upgrade/keep.d/base-files-essential
new file mode 100644
index 0000000..e35aae5
--- /dev/null
+++ b/package/base-files/files/lib/upgrade/keep.d/base-files-essential
@@ -0,0 +1,10 @@
+# Essential files that will be always kept
+/etc/banner
+/etc/hosts
+/etc/inittab
+/etc/group
+/etc/passwd
+/etc/profile
+/etc/shells
+/etc/sysctl.conf
+/etc/rc.local