mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-05-21 14:29:41 +00:00
2021/09/08: Release v1.3. 1.When installing with package list, add the function of detecting whether the package exists. 2.Added the function of generating installed package info csv file. 3.Delete the pseudo directory in each init phase. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
41 lines
1.3 KiB
BlitzBasic
41 lines
1.3 KiB
BlitzBasic
SUMMARY = "A text-based user interface plugin of dnf for user to manage packages. "
|
|
LICENSE = "GPLv2"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
|
|
|
SRC_URI = "git://github.com/ubinux/dnf-plugin-tui.git;branch=master "
|
|
SRCREV = "b0d80b7129f1d84cc563a4098d869e7420bcf4bc"
|
|
PV = "1.3"
|
|
|
|
SRC_URI:append:class-target = " file://oe-remote.repo.sample"
|
|
|
|
inherit distutils3-base
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
do_install:append() {
|
|
install -d ${D}${datadir}/dnf
|
|
install -m 0755 ${S}/samples/* ${D}${datadir}/dnf
|
|
install -d ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins/mkimg
|
|
install -m 0755 ${S}/dnf-plugins/mkimg/* ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins/mkimg
|
|
for file in $(ls ${S}/dnf-plugins/ | grep -v mkimg); do
|
|
install -m 0755 ${S}/dnf-plugins/$file ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins
|
|
done
|
|
}
|
|
|
|
do_install:append:class-target() {
|
|
install -d ${D}${sysconfdir}/yum.repos.d
|
|
install -m 0644 ${WORKDIR}/oe-remote.repo.sample ${D}${sysconfdir}/yum.repos.d
|
|
}
|
|
|
|
FILES:${PN} += "${datadir}/dnf"
|
|
|
|
RDEPENDS:${PN} += " \
|
|
bash \
|
|
dnf \
|
|
libnewt-python \
|
|
"
|
|
|
|
BBCLASSEXTEND = "nativesdk"
|
|
PNBLACKLIST[dnf-plugin-tui] ?= "${@bb.utils.contains('PACKAGE_CLASSES', 'package_rpm', '', 'does not build correctly without package_rpm in PACKAGE_CLASSES', d)}"
|