blob: de4d6ba4199de3ff7620877940368663c37cb2a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
inherit obmc-phosphor-python-autotools
include sdbus++.inc
SRC_URI += "file://0001-Revert-sdbus-switch-to-python3.patch"
# Provide these aliases temporarily until everyone can move over to the
# new package name.
PROVIDES_class-native += "sdbusplus-native sdbus++-native"
PROVIDES_class-nativesdk += "sdbusplus-nativesdk sdbus++-nativesdk"
# If anyone wanted the sdbus++ executable, make them use the python3 version.
# This avoids issues where both packages attempt to install the executable
# into /usr/bin.
DEPENDS += "python3-sdbus++-native"
do_install_append() {
rm ${D}${bindir}/sdbus++
rmdir ${D}${bindir} || true
}
|