Revert "base-files: source functions.sh in /lib/functions/system.sh"
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Mon, 1 Mar 2021 21:28:13 +0000 (22:28 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Mon, 1 Mar 2021 21:33:20 +0000 (22:33 +0100)
This reverts commit 86aeac4fc98f42ac0ce7e0dcf1cb240e16b28f8f.

The reverted commit introduced a cyclic dependency between
/lib/functions.sh and /lib/functions/system.sh. Further details
are found in 282e8173509a ("base-files: do not source system.sh
in functions.sh"), which was applied to master some time ago and
is included in 21.02.

With the current age of 19.07 branch, it seems safer to revert this
mostly cosmetic feature than investing further time into disentangling
the dependencies.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
package/base-files/Makefile
package/base-files/files/lib/functions/system.sh

index 9df5b860f8edc024bfad90648ed4ab35bf3cd7a6..dfb84d10d623b9c427c71f2a5045da974e7325f7 100644 (file)
@@ -12,7 +12,7 @@ include $(INCLUDE_DIR)/version.mk
 include $(INCLUDE_DIR)/feeds.mk
 
 PKG_NAME:=base-files
-PKG_RELEASE:=204.3
+PKG_RELEASE:=204.4
 PKG_FLAGS:=nonshared
 
 PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
index e97d00c144b815e33b5fd57014f4c2974f698e88..dceb66a85124ccb478021c918965d97669f2a1f1 100644 (file)
@@ -1,7 +1,5 @@
 # Copyright (C) 2006-2013 OpenWrt.org
 
-. /lib/functions.sh
-
 get_mac_binary() {
        local path="$1"
        local offset="$2"