]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
icu: set ac_cv_path_install to ensure install tool reproducibility
authorChangqing Li <changqing.li@windriver.com>
Mon, 12 May 2025 05:09:23 +0000 (13:09 +0800)
committerSteve Sakoman <steve@sakoman.com>
Tue, 13 May 2025 16:05:03 +0000 (09:05 -0700)
commit60a38959a5b740b16044bf8644046b3ed4816ae7
tree28e71f0acbd73a145c11ed228cffd200cc1b977d
parentc6ded848334807962967d2c6c7589fcc9feceb0d
icu: set ac_cv_path_install to ensure install tool reproducibility

icu will check program install path during do_configure, eg:
checking for a BSD-compatible install... /path/to/install -c

And this path will be writen into pkgdata.inc:
INSTALL_CMD=$(INSTALL-L)

Decided by if install is installed into recipe-sysroot-native during
do_configure stage, the INSTALL_CMD could be
/build/tmp/work/corei7-64-wrs-linux/icu/76-1/recipe-sysroot-native/usr/bin/install
or /build/tmp/hosttools/install if the build is rerun after the sysroot was
extended.

set ac_cv_path_install to install under hosttools to make a deterministic
result of INSTALL_CMD, avoid vary caused by the execute sequence of
another task which DEPENDS on coreutils-native and independent with
do_configure

[RP: Removed paths from ac_cv_path_install to simplify and avoid QA error too]
(From OE-Core rev: 208143e060cda6e22ae1e8c618e033fa9144b323)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-support/icu/icu_76-1.bb