mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
gobject-introspection: improve reproducibility
Remove cross-compiler wrappers from the package, these contain numerous build host references. The wrappers are only needed for cross-compiling. [YOCTO #11705] (From OE-Core rev: 6870c4d11adcb831247dc1e05794bfa6ac1374c0) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
6bb1f4a88b
commit
ef3f6b5552
@@ -177,3 +177,12 @@ gi_ldsoconf_sysroot_preprocess () {
|
|||||||
echo "echo ${libdir} >> ${STAGING_DIR_TARGET}${sysconfdir}/ld.so.conf" >> $dest
|
echo "echo ${libdir} >> ${STAGING_DIR_TARGET}${sysconfdir}/ld.so.conf" >> $dest
|
||||||
chmod 755 $dest
|
chmod 755 $dest
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Remove wrapper files from the package, only used for cross-compiling
|
||||||
|
PACKAGE_PREPROCESS_FUNCS += "gi_package_preprocess"
|
||||||
|
gi_package_preprocess() {
|
||||||
|
rm -f ${PKGD}${bindir}/g-ir-scanner-qemuwrapper
|
||||||
|
rm -f ${PKGD}${bindir}/g-ir-scanner-wrapper
|
||||||
|
rm -f ${PKGD}${bindir}/g-ir-compiler-wrapper
|
||||||
|
rm -f ${PKGD}${bindir}/g-ir-scanner-lddwrapper
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user