From fc317a190c930c9c338bd07c2e323b6b9eaa1f07 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20=C5=A0tetiar?= Date: Mon, 28 Feb 2022 14:59:16 +0100 Subject: [PATCH] ipq806x: base-files: asrock: fix bootcount include MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- target/linux/ipq806x/base-files/lib/upgrade/asrock.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)" -- 2.30.2