diff options
| author | Yoann Congal <yoann.congal@smile.fr> | 2025-03-24 23:41:57 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-03-24 20:59:08 -0700 |
| commit | 39250b71d9dcd2f8ab5c98696b5e6e669129fa08 (patch) | |
| tree | 882f960f3eadd879510b781fa127acc6ee09ab76 | |
| parent | 7308156a132d57ab16234f2c300dd9cfb33d1782 (diff) | |
| download | meta-openembedded-39250b71d9dcd2f8ab5c98696b5e6e669129fa08.tar.gz | |
poke: Fix the reproducibility of installed scripts
Upstream does not support our default parallel "make -j install"[0]. So,
disable it with PARALLEL_MAKEINST = "-j1" to avoid non-reproducibility
where some scripts can be installed or not.
Explanation for the non-reproducibility:
There is a race condition between 2 actions at install around the
installed script in $pkgdatadir:
* Removal of existing scripts /usr/share/poke/*.pk
* Installation of default scripts in the same directory
Sadly, those 2 actions are not ordered. Depending on the build system
load, removal can (rarely) happen *after* the installation. In this
case, no script in present in /usr/share/poke/ when the install process
end.
[0]: https://sourceware.org/bugzilla/show_bug.cgi?id=32815#c1
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-devtools/poke/poke_4.2.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/poke/poke_4.2.bb b/meta-oe/recipes-devtools/poke/poke_4.2.bb index a31b6605a2..0ae392947e 100644 --- a/meta-oe/recipes-devtools/poke/poke_4.2.bb +++ b/meta-oe/recipes-devtools/poke/poke_4.2.bb | |||
| @@ -24,5 +24,8 @@ PACKAGECONFIG[mi] = "--enable-mi,--disable-mi,json-c" | |||
| 24 | 24 | ||
| 25 | PACKAGES =+ "${PN}-emacs ${PN}-vim" | 25 | PACKAGES =+ "${PN}-emacs ${PN}-vim" |
| 26 | 26 | ||
| 27 | # Disable parallel install as it is not supported upstream | ||
| 28 | PARALLEL_MAKEINST = "-j1" | ||
| 29 | |||
| 27 | FILES:${PN}-emacs += "${datadir}/emacs/site-lisp" | 30 | FILES:${PN}-emacs += "${datadir}/emacs/site-lisp" |
| 28 | FILES:${PN}-vim += "${datadir}/vim/vimfiles" | 31 | FILES:${PN}-vim += "${datadir}/vim/vimfiles" |
