diff options
| author | Daniel Golle | 2024-11-09 13:06:02 +0000 |
|---|---|---|
| committer | Daniel Golle | 2024-11-09 13:43:56 +0000 |
| commit | 15de218a566c0563adcc184c5aa83b71b24e8cde (patch) | |
| tree | c33d07a34208ce7e2f3e8b493375d58f46b0c1c8 | |
| parent | a7abc7ec3b61be553f33c49e5acc90a4d539d992 (diff) | |
| download | openwrt-15de218a566c0563adcc184c5aa83b71b24e8cde.tar.gz | |
Revert "build: set PATH for post-install scripts"
This reverts commit 21b5ac862eed7ac373361c914cf6098cab04f503.
The approach is flawed and cannot work in the ImageBuilder.
Using /etc/uci-defaults/ which is run on the target is the only
possible way.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
| -rw-r--r-- | include/rootfs.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rootfs.mk b/include/rootfs.mk index ff7fd185fe..e6cadc531d 100644 --- a/include/rootfs.mk +++ b/include/rootfs.mk @@ -84,7 +84,7 @@ define prepare_rootfs IPKG_POSTINST_PATH=./usr/lib/opkg/info/*.postinst; \ fi; \ for script in $$IPKG_POSTINST_PATH; do \ - PATH="$(TARGET_PATH_PKG)" IPKG_INSTROOT=$(1) $$(command -v bash) $$script; \ + IPKG_INSTROOT=$(1) $$(command -v bash) $$script; \ ret=$$?; \ if [ $$ret -ne 0 ]; then \ echo "postinst script $$script has failed with exit code $$ret" >&2; \ |