mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 18:32:12 +02:00
systemtap: fix install when python3-probes is disabled in PACKAGECONFIG
(From OE-Core rev: 75bca65ccdfe05da434a5c2b561e13f623499d53) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
fc556f5e52
commit
c606515ab5
@@ -66,7 +66,7 @@ do_install_append () {
|
||||
rm ${D}${libexecdir}/${PN}/stap-env
|
||||
fi
|
||||
|
||||
if [ ${D}${prefix}/lib != `dirname ${D}${systemd_unitdir}` ]; then
|
||||
if [ -d ${D}${prefix}/lib/systemd -a ${D}${prefix}/lib != `dirname ${D}${systemd_unitdir}` ]; then
|
||||
# Fix makefile hardcoded path assumptions for systemd (assumes $prefix)
|
||||
# without usrmerge distro feature enabled
|
||||
install -d `dirname ${D}${systemd_unitdir}`
|
||||
@@ -75,7 +75,9 @@ do_install_append () {
|
||||
fi
|
||||
|
||||
# Ensure correct ownership for files copied in
|
||||
chown root:root ${D}${sysconfdir}/stap-exporter/* -R
|
||||
if [ -d ${D}${sysconfdir}/stap-exporter ]; then
|
||||
chown root:root ${D}${sysconfdir}/stap-exporter/* -R
|
||||
fi
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "nativesdk"
|
||||
|
||||
Reference in New Issue
Block a user