summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild_rootfs.sh2
1 files changed, 1 insertions, 1 deletions
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