libdnf: Fix arm arch mapping issues for qemuarmv5
PATCH 1/1 libdnf: Fix arm arch mapping issues for qemuarmv5
qemuarmv5 currently fails with:
$ dnf --help Error: Incorrect or unknown "arch": armv5hl
Fix this by removing the code in libdnf which is trying to be too clever, we don't need this mappings given the way OE configures rpm.
Signed-off-by Richard Purdie <[email protected]>
--- meta/recipes-devtools/libdnf/libdnf_0.72.0.bb | 1 + meta/recipes-graphics/x11-common/xserver-nodm-init_3.0.bb | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-)
meta/recipes-devtools/libdnf/libdnf_0.72.0.bb +1 -0
@@ -10,6 +10,7 @@ SRC_URI = "git://github.com/rpm-software-management/libdnf;branch=dnf-4-master;p file://0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch \ file://enable_test_data_dir_set.patch \ file://0001-drop-FindPythonInstDir.cmake.patch \ + file://armarch.patch \ " SRCREV = "908dba63c9e18c86a2d81166ce7523559e65338c"
meta/recipes-graphics/x11-common/xserver-nodm-init_3.0.bb +4 -4
@@ -17,7 +17,7 @@ S = "${WORKDIR}" # Since we refer to ROOTLESS_X which is normally enabled per-machine PACKAGE_ARCH = "${MACHINE_ARCH}" -inherit update-rc.d systemd features_check +inherit systemd features_check REQUIRED_DISTRO_FEATURES = "x11 ${@oe.utils.conditional('ROOTLESS_X', '1', 'pam', '', d)}"
@@ -64,8 +64,8 @@ do_install() { RDEPENDS:${PN} = "xinit ${@oe.utils.conditional('ROOTLESS_X', '1', 'xuser-account libcap libcap-bin', '', d)}" -INITSCRIPT_NAME = "xserver-nodm" -INITSCRIPT_PARAMS = "start 9 5 . stop 20 0 1 2 3 6 ." -SYSTEMD_SERVICE:${PN} = "xserver-nodm.service" +#INITSCRIPT_NAME = "xserver-nodm" +#INITSCRIPT_PARAMS = "start 9 5 . stop 20 0 1 2 3 6 ." +#SYSTEMD_SERVICE:${PN} = "xserver-nodm.service" RCONFLICTS:${PN} = "xserver-common (< 1.34-r9) x11-common"
Signature · 1 line
2.39.2