From 552543d717de964bc6ebc18c6926a7fcf1560537 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Wed, 28 Feb 2018 00:48:00 +0100 Subject: Fix regression when enabling rc.d script --- build_rootfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build_rootfs.sh') diff --git a/build_rootfs.sh b/build_rootfs.sh index 5262f43..863ff3a 100755 --- a/build_rootfs.sh +++ b/build_rootfs.sh @@ -77,7 +77,7 @@ add_file() { if [ "$foo" = "./etc/init.d" ]; then echo Enabling $file set +e - sh $instroot/etc/rc.common $src enable + env IPKG_INSTROOT=$instroot sh $instroot/etc/rc.common $dst enable set -e fi fi -- cgit v1.2.3