mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-08 17:39:24 +00:00
lio-utils: Make it visible only with meta-py2 in BBFILE_COLLECTIONS
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -241,7 +241,7 @@ RDEPENDS_packagegroup-meta-oe-support ="\
|
||||
libgpiod libiio libjs-jquery libjs-sizzle liblinebreak libmicrohttpd \
|
||||
libmxml liboauth libol liboop libp11 libraw1394 libsmi libsoc libssh2 \
|
||||
libssh libtar libteam libtinyxml2 libtinyxml libusbg libusb-compat libutempter \
|
||||
links lio-utils lockdev log4c log4cpp logwarn libdevmapper lvm2 \
|
||||
links lockdev log4c log4cpp logwarn libdevmapper lvm2 \
|
||||
mailcap mbuffer mg minini \
|
||||
multipath-tools nano neon nmon numactl onig openct openldap \
|
||||
opensc wbxml2 p910nd pcsc-lite picocom libotr pidgin \
|
||||
@@ -260,6 +260,7 @@ RDEPENDS_packagegroup-meta-oe-support ="\
|
||||
procmail \
|
||||
${@bb.utils.contains("DISTRO_FEATURES", "polkit", "udisks2 upower", "", d)} \
|
||||
${NE10} \
|
||||
${@bb.utils.contains("BBPATH", "meta-python2", "lio-utils", "", d)} \
|
||||
"
|
||||
|
||||
RDEPENDS_packagegroup-meta-oe-support_remove_arm ="numactl"
|
||||
|
||||
@@ -12,7 +12,7 @@ SRC_URI = "git://github.com/Datera/lio-utils.git \
|
||||
SRCREV = "0ac9091c1ff7a52d5435a4f4449e82637142e06e"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit distutils3
|
||||
inherit distutils
|
||||
|
||||
EXTRA_OEMAKE += "DESTDIR=${D}"
|
||||
|
||||
@@ -64,3 +64,9 @@ FILES_${PN} += "${sbindir}/* /etc/init.d/* /etc/target/*"
|
||||
# http://errors.yoctoproject.org/Errors/Details/184712/
|
||||
# python-native/python: can't open file 'setup.py': [Errno 2] No such file or directory
|
||||
CLEANBROKEN = "1"
|
||||
|
||||
python() {
|
||||
if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split():
|
||||
raise bb.parse.SkipRecipe('Requires meta-python2 to be present.')
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user