mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-05-19 01:37:54 +00:00
net-snmp: Reproducibility: Remove PKG_CONFIG paths from net-snmp-config
PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR point into the net-snmp recipe-sysroot. Careful not to trim trailing quotes from the CFLAGS Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
231fb5d1a4
commit
e3151ee00a
@ -114,11 +114,13 @@ do_install_append() {
|
||||
install -m 0644 ${WORKDIR}/snmptrapd.service ${D}${systemd_unitdir}/system
|
||||
sed -e "s@^NSC_SRCDIR=.*@NSC_SRCDIR=.@g" \
|
||||
-i ${D}${bindir}/net-snmp-create-v3-user
|
||||
sed -e "s@^NSC_SRCDIR=.*@NSC_SRCDIR=.@g" \
|
||||
-e "s@\([^ ]*-fdebug-prefix-map=[^ ]*\)\1*@@g" \
|
||||
-e "s@\([^ ]*--sysroot=[^ ]*\)\1*@@g" \
|
||||
-e "s@\([^ ]*--with-libtool-sysroot=[^ ]*\)\1*@@g" \
|
||||
-e "s@\([^ ]*--with-install-prefix=[^ ]*\)\1*@@g" \
|
||||
sed -e 's@^NSC_SRCDIR=.*@NSC_SRCDIR=.@g' \
|
||||
-e 's@\([^ ]*-fdebug-prefix-map=[^ "]*\)\1*@@g' \
|
||||
-e 's@\([^ ]*--sysroot=[^ "]*\)\1*@@g' \
|
||||
-e 's@\([^ ]*--with-libtool-sysroot=[^ "]*\)\1*@@g' \
|
||||
-e 's@\([^ ]*--with-install-prefix=[^ "]*\)\1*@@g' \
|
||||
-e 's@\([^ ]*PKG_CONFIG_PATH=[^ "]*\)\1*@@g' \
|
||||
-e 's@\([^ ]*PKG_CONFIG_LIBDIR=[^ "]*\)\1*@@g' \
|
||||
-i ${D}${bindir}/net-snmp-config
|
||||
|
||||
if [ "${HAS_PERL}" = "1" ]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user