[backfire] merge r23232 and r23233
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 5 Oct 2010 07:45:22 +0000 (07:45 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 5 Oct 2010 07:45:22 +0000 (07:45 +0000)
SVN-Revision: 23236

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

index ab60557f5e90f28bf19eb90b5d49669f0a81672b..7de4af351c5a26a3a8b708efe20f489906a4f1d5 100644 (file)
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=base-files
-PKG_RELEASE:=43.5
+PKG_RELEASE:=43.6
 
 PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
 PKG_BUILD_DEPENDS:=opkg/host
@@ -53,6 +53,7 @@ define Package/base-files/conffiles
 /etc/profile
 /etc/shells
 /etc/sysctl.conf
+/etc/rc.local
 $(call $(TARGET)/conffiles)
 endef
 
index 0cf51cfb78692686766b14ba145ff3a92c5fae4f..bf00aaa5f811f7b61fb1f43bf46e092e1a695443 100755 (executable)
@@ -51,8 +51,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
 }