build: set PATH for post-install scripts
authorDaniel Golle <daniel@makrotopia.org>
Tue, 5 Nov 2024 03:05:31 +0000 (03:05 +0000)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 5 Nov 2024 10:21:43 +0000 (11:21 +0100)
commit21b5ac862eed7ac373361c914cf6098cab04f503
treec05d4ac4968702139da6bee32c37b7e07c031907
parent48028cd102cb709cc2d9a06cb45b53b7c2335a69
build: set PATH for post-install scripts

post-install scripts may need to call executables installed to
STAGING_DIR_HOSTPKG which is not part of the PATH set to TARGET_PATH in
rules.mk.
Set PATH for post-install scripts to TARGET_PATH_PKG.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Link: https://github.com/openwrt/openwrt/pull/16865
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
include/rootfs.mk