mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-20 09:44:44 +02:00
[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
This commit is contained in:
parent
77e11c0896
commit
768e3f0496
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
include $(INCLUDE_DIR)/kernel.mk
|
include $(INCLUDE_DIR)/kernel.mk
|
||||||
|
|
||||||
PKG_NAME:=base-files
|
PKG_NAME:=base-files
|
||||||
PKG_RELEASE:=57
|
PKG_RELEASE:=58
|
||||||
|
|
||||||
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
|
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
|
||||||
PKG_BUILD_DEPENDS:=opkg/host
|
PKG_BUILD_DEPENDS:=opkg/host
|
||||||
|
@ -55,8 +55,9 @@ EOF
|
|||||||
|
|
||||||
add_uci_conffiles() {
|
add_uci_conffiles() {
|
||||||
local file="$1"
|
local file="$1"
|
||||||
find /etc/config /etc/passwd /etc/group /etc/dropbear \
|
( find /etc/config /etc/passwd /etc/group /etc/dropbear \
|
||||||
/etc/firewall.user /etc/rc.local -type f > "$file"
|
/etc/firewall.user /etc/rc.local -type f;
|
||||||
|
opkg list-changed-conffiles ) | sort -u > "$file"
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user