aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2022-02-28 14:59:16 +0100
committerPetr Štetiar <ynezz@true.cz>2022-02-28 15:17:11 +0100
commitfc317a190c930c9c338bd07c2e323b6b9eaa1f07 (patch)
treec5519488dc8e23944ae141969d691cc4fff150bc /target
parent1a97c03d864ee5ab917aff2988c62fce223c041e (diff)
downloadupstream-fc317a190c930c9c338bd07c2e323b6b9eaa1f07.tar.gz
upstream-fc317a190c930c9c338bd07c2e323b6b9eaa1f07.tar.bz2
upstream-fc317a190c930c9c338bd07c2e323b6b9eaa1f07.zip
ipq806x: base-files: asrock: fix bootcount include
Fixes following warning message during image building process: Finalizing root filesystem... root-ipq806x/lib/upgrade/asrock.sh: line 1: /lib/functions.sh: No such file or directory Enabling boot root-ipq806x/lib/upgrade/asrock.sh: line 1: /lib/functions.sh: No such file or directory Enabling bootcount Fixes #9350 Fixes: 98b86296e67d ("ipq806x: add support for ASRock G10") Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ipq806x/base-files/lib/upgrade/asrock.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ipq806x/base-files/lib/upgrade/asrock.sh b/target/linux/ipq806x/base-files/lib/upgrade/asrock.sh
index 9645b64671..b98eab33b2 100644
--- a/target/linux/ipq806x/base-files/lib/upgrade/asrock.sh
+++ b/target/linux/ipq806x/base-files/lib/upgrade/asrock.sh
@@ -1,4 +1,4 @@
-. /lib/functions.sh
+. "$IPKG_INSTROOT/lib/functions.sh"
asrock_bootconfig_mangle() {
local mtdnum="$(find_mtd_index 0:bootconfig)"