aboutsummaryrefslogtreecommitdiffstats
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:21:32 +0100
commitb2896d413e4a4ac6593b9473a8d1201ee9876a62 (patch)
tree42f041ceae420f69c1a5317d66e46eaf4f3bc025
parent952de38ef4fbb466c8f31b7d55516ba23955975a (diff)
downloadupstream-b2896d413e4a4ac6593b9473a8d1201ee9876a62.tar.gz
upstream-b2896d413e4a4ac6593b9473a8d1201ee9876a62.tar.bz2
upstream-b2896d413e4a4ac6593b9473a8d1201ee9876a62.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> (cherry picked from commit fc317a190c930c9c338bd07c2e323b6b9eaa1f07)
-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 9e1376a578..9c1a9d5c59 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 )"