mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 23:46:16 +02:00
[package] base-files: sysupgrade: restrict find command to plain files to avoid duplicates when generating the conffiles tgz archive
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18455 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
2f66d7b814
commit
7e63500a28
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
include $(INCLUDE_DIR)/kernel.mk
|
||||
|
||||
PKG_NAME:=base-files
|
||||
PKG_RELEASE:=33
|
||||
PKG_RELEASE:=34
|
||||
|
||||
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
|
||||
|
||||
|
@ -51,7 +51,8 @@ EOF
|
||||
|
||||
add_uci_conffiles() {
|
||||
local file="$1"
|
||||
find /etc/config /etc/passwd /etc/group /etc/dropbear /etc/firewall.user /etc/rc.local > "$file"
|
||||
find /etc/config /etc/passwd /etc/group /etc/dropbear \
|
||||
/etc/firewall.user /etc/rc.local -type f > "$file"
|
||||
return 0
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user