From 5a93ce005d6f25d4678395cccbc9f47f67f6db51 Mon Sep 17 00:00:00 2001 From: Lei Maohui Date: Mon, 8 Aug 2022 14:47:38 +0800 Subject: [PATCH] dnf-plugin-tui: Fix somw issue in postinstall process. Signed-off-by: Lei Maohui Signed-off-by: Khem Raj --- .../dnf-plugin-tui/dnf-plugin-tui_git.bb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb b/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb index ccbea58f18..f170b9f824 100644 --- a/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb +++ b/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb @@ -4,7 +4,7 @@ LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" SRC_URI = "git://github.com/ubinux/dnf-plugin-tui.git;branch=master;protocol=https" -SRCREV = "f6ee3fa8fe6f3d7ca8d5b104aa73c1a5c938a403" +SRCREV = "bac88927b253cdcfe0d06ac7dc5afb876cd2d996" PV = "1.3" SRC_URI:append:class-target = " file://oe-remote.repo.sample" @@ -28,7 +28,14 @@ do_install:append:class-target() { install -m 0644 ${WORKDIR}/oe-remote.repo.sample ${D}${sysconfdir}/yum.repos.d } +do_install:append:class-nativesdk() { + install -d -p ${D}/${SDKPATH}/postinst-intercepts + cp -r ${COREBASE}/scripts/postinst-intercepts/* ${D}/${SDKPATH}/postinst-intercepts/ + sed -i -e 's/STAGING_DIR_NATIVE/NATIVE_ROOT/g' ${D}/${SDKPATH}/postinst-intercepts/* +} + FILES:${PN} += "${datadir}/dnf" +FILES:${PN} += "${SDKPATH}/postinst-intercepts" RDEPENDS:${PN} += " \ bash \