mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-04 05:42:42 +00:00
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:
parent
e9c0c5021c
commit
86aeac4fc9
@ -12,7 +12,7 @@ include $(INCLUDE_DIR)/version.mk
|
|||||||
include $(INCLUDE_DIR)/feeds.mk
|
include $(INCLUDE_DIR)/feeds.mk
|
||||||
|
|
||||||
PKG_NAME:=base-files
|
PKG_NAME:=base-files
|
||||||
PKG_RELEASE:=204.2
|
PKG_RELEASE:=204.3
|
||||||
PKG_FLAGS:=nonshared
|
PKG_FLAGS:=nonshared
|
||||||
|
|
||||||
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
|
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# Copyright (C) 2006-2013 OpenWrt.org
|
# Copyright (C) 2006-2013 OpenWrt.org
|
||||||
|
|
||||||
|
. /lib/functions.sh
|
||||||
|
|
||||||
get_mac_binary() {
|
get_mac_binary() {
|
||||||
local path="$1"
|
local path="$1"
|
||||||
local offset="$2"
|
local offset="$2"
|
||||||
|
Loading…
Reference in New Issue
Block a user