From: Stan Grishin Date: Mon, 15 Jun 2026 20:47:54 +0000 (+0000) Subject: an7581/base-files: use IPKG_INSTROOT when sourcing functions.sh X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F23814%2Fhead;p=thirdparty%2Fopenwrt.git an7581/base-files: use IPKG_INSTROOT when sourcing functions.sh * fixes the following error message when using image builder to create an image for an7581 devices: build_dir/target-aarch64_cortex-a53_musl/root-airoha/etc/init.d/airoha_fan: line 8: /lib/functions.sh: No such file or directory Signed-off-by: Stan Grishin Link: https://github.com/openwrt/openwrt/pull/23814 Signed-off-by: Jonas Jelonek --- diff --git a/target/linux/airoha/an7581/base-files/etc/init.d/airoha_fan b/target/linux/airoha/an7581/base-files/etc/init.d/airoha_fan index d30205f546b..b9d5633bd1a 100755 --- a/target/linux/airoha/an7581/base-files/etc/init.d/airoha_fan +++ b/target/linux/airoha/an7581/base-files/etc/init.d/airoha_fan @@ -5,7 +5,7 @@ START=99 -. /lib/functions.sh +. "$IPKG_INSTROOT/lib/functions.sh" find_nct7802() {