[package] base-files: sysupgrade: merge info from "opkg list-changed-conffiles" to...
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 5 Oct 2010 07:40:25 +0000 (07:40 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 5 Oct 2010 07:40:25 +0000 (07:40 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23233 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/base-files/Makefile
package/base-files/files/sbin/sysupgrade

index f290e79..9598823 100644 (file)
@@ -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
index 0fb0753..1210e6e 100755 (executable)
@@ -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
 }
 
This page took 0.030234 seconds and 4 git commands to generate.