diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-10-05 07:40:25 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-10-05 07:40:25 +0000 |
commit | 3784ca2da7f11cd7f8301e52a475459331a8fc5a (patch) | |
tree | a72e0ad4e3c76b4c7f0444b60586bdd63431f913 | |
parent | 0823de355b3503b44cd0ba7090929143857c89fc (diff) | |
download | upstream-3784ca2da7f11cd7f8301e52a475459331a8fc5a.tar.gz upstream-3784ca2da7f11cd7f8301e52a475459331a8fc5a.tar.bz2 upstream-3784ca2da7f11cd7f8301e52a475459331a8fc5a.zip |
[package] base-files: sysupgrade: merge info from "opkg list-changed-conffiles" to backup file list
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23233 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/base-files/Makefile | 2 | ||||
-rwxr-xr-x | package/base-files/files/sbin/sysupgrade | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile index f290e79a06..9598823cb1 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=base-files -PKG_RELEASE:=57 +PKG_RELEASE:=58 PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ PKG_BUILD_DEPENDS:=opkg/host diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade index 0fb07530e4..1210e6e509 100755 --- a/package/base-files/files/sbin/sysupgrade +++ b/package/base-files/files/sbin/sysupgrade @@ -55,8 +55,9 @@ EOF add_uci_conffiles() { local file="$1" - find /etc/config /etc/passwd /etc/group /etc/dropbear \ - /etc/firewall.user /etc/rc.local -type f > "$file" + ( find /etc/config /etc/passwd /etc/group /etc/dropbear \ + /etc/firewall.user /etc/rc.local -type f; + opkg list-changed-conffiles ) | sort -u > "$file" return 0 } |