mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
bash: improve reproducibility
nativesdk-bash package contains host references in output packages. remove them. (From OE-Core rev: 9d749f0a67ce72952e7a731fe5081ae5f432dfdb) Signed-off-by: Oleh Matiusha <omatiush@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
fa6c4f014a
commit
e96918f49e
@@ -74,7 +74,8 @@ do_install:append () {
|
||||
mv ${D}${bindir}/bash ${D}${base_bindir}
|
||||
fi
|
||||
}
|
||||
do_install:append:class-target () {
|
||||
|
||||
fix_absolute_paths () {
|
||||
# Clean buildhost references in bashbug
|
||||
sed -i -e "s,--sysroot=${STAGING_DIR_TARGET},,g" \
|
||||
-e "s,-I${WORKDIR}/\S* ,,g" \
|
||||
@@ -93,6 +94,14 @@ do_install:append:class-target () {
|
||||
${D}${libdir}/bash/Makefile.inc
|
||||
}
|
||||
|
||||
do_install:append:class-target () {
|
||||
fix_absolute_paths
|
||||
}
|
||||
|
||||
do_install:append:class-nativesdk () {
|
||||
fix_absolute_paths
|
||||
}
|
||||
|
||||
do_install_ptest () {
|
||||
make INSTALL_TEST_DIR=${D}${PTEST_PATH}/tests install-test
|
||||
cp ${B}/Makefile ${D}${PTEST_PATH}
|
||||
|
||||
Reference in New Issue
Block a user