mirror of https://github.com/hak5/openwrt.git
base-files: sysupgrade: restrict find command to plain files to avoid duplicates when generating the conffiles tgz archive
SVN-Revision: 18455lede-17.01
parent
60a4353fdd
commit
4d9b1d6c75
|
@ -9,7 +9,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:=33
|
PKG_RELEASE:=34
|
||||||
|
|
||||||
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
|
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,8 @@ EOF
|
||||||
|
|
||||||
add_uci_conffiles() {
|
add_uci_conffiles() {
|
||||||
local file="$1"
|
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
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue