mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
nativesdk-packagegroup-sdk-host: replace smartpm with dnf
(From OE-Core rev: 45b97161915ce7872ef7161451a5c83507072a72) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
df3734551f
commit
d4efcded26
@@ -28,7 +28,6 @@ DEPENDS += "python-backports-lzma"
|
||||
EXTRA_OECMAKE = " -DWITH_MAN=0 -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR}"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
RDEPENDS_${PN}_class-target += "python-core python-codecs python-netclient python-email python-threading python-distutils librepo python-shell python-subprocess libcomps libdnf python-sqlite3 python-compression python-pygpgme python-backports-lzma python-rpm python-iniparse python-json python-importlib python-curses python-argparse"
|
||||
|
||||
# Direct dnf-native to read rpm configuration from our sysroot, not the one it was compiled in
|
||||
|
||||
@@ -19,5 +19,5 @@ DEPENDS = "libxml2 expat libcheck"
|
||||
EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR}"
|
||||
OECMAKE_SOURCEPATH = "${S}/libcomps"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
|
||||
@@ -36,5 +36,5 @@ EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DWITH_MAN=OFF
|
||||
EXTRA_OECMAKE_append_class-native = " -DWITH_GIR=OFF"
|
||||
EXTRA_OECMAKE_append_class-nativesdk = " -DWITH_GIR=OFF"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
|
||||
@@ -20,5 +20,5 @@ inherit cmake distutils-base pkgconfig
|
||||
|
||||
EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR}"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
|
||||
@@ -18,4 +18,4 @@ DEPENDS_append = " xz"
|
||||
RDEPENDS_${PN} += "python-core python-io python-pkgutil"
|
||||
RDEPENDS_${PN}_class-native += "python-core"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
@@ -12,6 +12,6 @@ inherit distutils
|
||||
|
||||
RDEPENDS_${PN} += "python-core"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
S = "${WORKDIR}/iniparse-${PV}"
|
||||
|
||||
@@ -15,4 +15,4 @@ DEPENDS = "gpgme python"
|
||||
|
||||
RDEPENDS_${PN} += "python-core"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
@@ -60,7 +60,7 @@ EXTRA_OECONF_append_libc-musl = " --disable-nls"
|
||||
# Also disable plugins, so that rpm doesn't attempt to inhibit shutdown via session dbus
|
||||
EXTRA_OECONF_append_class-native = " --sysconfdir=/etc --localstatedir=/var --disable-plugins"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
# Direct rpm-native to read configuration from our sysroot, not the one it was compiled in
|
||||
# libmagic also has sysroot path contamination, so override it
|
||||
|
||||
Reference in New Issue
Block a user