mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 02:31:27 +00:00
kea: improve reproducibility
There are some shell scripts such as kea-admin, upgrade_4.0_to_5.0.sh, wipe_data.sh and etc contain build path. Actually the build path is meanlingless on the target, so replace abs_top_builddir to abs_top_builddir_placeholder to avoid expanding abs_top_builddir which introduces build path. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -35,6 +35,10 @@ BUILD_OPTIMIZATION_append_mipsel = " -O"
|
|||||||
do_configure_prepend_class-target() {
|
do_configure_prepend_class-target() {
|
||||||
mkdir -p ${B}/src/lib/log/compiler/
|
mkdir -p ${B}/src/lib/log/compiler/
|
||||||
ln -sf ${STAGING_BINDIR_NATIVE}/kea-msg-compiler ${B}/src/lib/log/compiler/kea-msg-compiler
|
ln -sf ${STAGING_BINDIR_NATIVE}/kea-msg-compiler ${B}/src/lib/log/compiler/kea-msg-compiler
|
||||||
|
# replace abs_top_builddir to avoid introducing the build path
|
||||||
|
# don't expand the abs_top_builddir on the target as the abs_top_builddir is meanlingless on the target
|
||||||
|
find ${S} -type f -name *.sh.in | xargs sed -i "s:@abs_top_builddir@:@abs_top_builddir_placeholder@:g"
|
||||||
|
sed -i "s:@abs_top_srcdir@:@abs_top_srcdir_placeholder@:g" ${S}/src/bin/admin/kea-admin.in
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install_append_class-target() {
|
do_install_append_class-target() {
|
||||||
|
|||||||
Reference in New Issue
Block a user