base-files: source functions.sh in /lib/functions/system.sh

The file /lib/functions/system.sh depends on find_mtd_index() and
find_mtd_part() located in /lib/function.sh, so let's source that
file.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(backported from commit ae636effd2)
This commit is contained in:
Adrian Schmutzler 2020-03-13 16:56:53 +01:00
parent e9c0c5021c
commit 86aeac4fc9
2 changed files with 3 additions and 1 deletions

View File

@ -12,7 +12,7 @@ include $(INCLUDE_DIR)/version.mk
include $(INCLUDE_DIR)/feeds.mk
PKG_NAME:=base-files
PKG_RELEASE:=204.2
PKG_RELEASE:=204.3
PKG_FLAGS:=nonshared
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/

View File

@ -1,5 +1,7 @@
# Copyright (C) 2006-2013 OpenWrt.org
. /lib/functions.sh
get_mac_binary() {
local path="$1"
local offset="$2"