diff options
| author | Hongxu Jia <hongxu.jia@windriver.com> | 2025-11-18 17:28:14 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-11-18 08:23:47 -0800 |
| commit | 6d835df9206902300b4b4a5010b171452ab3bb6e (patch) | |
| tree | 69e8ab42d27f90e89b518068b15007c8669a80a2 /meta-oe/conf | |
| parent | 986fd73afbd8dcae03c141203eae0c51089c6b08 (diff) | |
| download | meta-openembedded-6d835df9206902300b4b4a5010b171452ab3bb6e.tar.gz | |
php: remove php-phar to support reproducible build
According to [1][2], generate phar.php during cross-compile can't be
done, but upstream test res of $(TEST_PHP_EXECUTABLE) is not suitable
for Yocto.
Explicitly set TEST_PHP_EXECUTABLE_RES = "1" to not generate phar.php
for target recipe
Drop 0005-sapi-cli-config.m4-fix-build-directory.patch which is obsolete
for generating phar.php
After apply this commit
...log.do_compile...
Generating phar.php
Skipping phar.php generating during cross compilation
Generating phar.phar
Skipping phar.phar generating during cross compilation
...log.do_compile...
Then php supports reproducible build
[1] https://github.com/php/php-src/issues/11099
[2] https://github.com/php/php-src/commit/93fa9613e162d1a0e8479ba83c4b6a399846e209
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/conf')
| -rw-r--r-- | meta-oe/conf/layer.conf | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/meta-oe/conf/layer.conf b/meta-oe/conf/layer.conf index 83b790fa18..1f55f5bee1 100644 --- a/meta-oe/conf/layer.conf +++ b/meta-oe/conf/layer.conf | |||
| @@ -231,7 +231,6 @@ OEQA_REPRODUCIBLE_EXCLUDED_PACKAGES += " \ | |||
| 231 | pcp-src \ | 231 | pcp-src \ |
| 232 | perfetto \ | 232 | perfetto \ |
| 233 | perfetto-dbg \ | 233 | perfetto-dbg \ |
| 234 | php-phar \ | ||
| 235 | pidgin \ | 234 | pidgin \ |
| 236 | pidgin-dbg \ | 235 | pidgin-dbg \ |
| 237 | pim435-staticdev \ | 236 | pim435-staticdev \ |
