From 581134305ee0322705b0bd85e93384a7b893f5ec Mon Sep 17 00:00:00 2001 From: Stan Grishin Date: Mon, 15 Jun 2026 20:47:54 +0000 Subject: [PATCH] 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 --- target/linux/airoha/an7581/base-files/etc/init.d/airoha_fan | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- 2.47.3