mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
net-snmp: fix some invalid paths
Because the package is not built in place @srcdir@ is an absolute path to the source directory instead of ".". Because of this some target scripts like net-snmp-create-v3-user and net-snmp-config that are using thisvariable in their *.in files (NSC_SRCDIR=@srcdir@) contain invalid paths. Signed-off-by: Catalin Enache <catalin.enache@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
31684cb311
commit
5e36615e77
|
|
@ -73,6 +73,10 @@ do_install_append() {
|
|||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/snmpd.service ${D}${systemd_unitdir}/system
|
||||
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" \
|
||||
-i ${D}${bindir}/net-snmp-config
|
||||
}
|
||||
|
||||
do_install_ptest() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user