mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-30 06:30:41 +00:00
dnf-plugin-tui: add runtime dependency on bash
* fixes: ERROR: QA Issue: /usr/lib/python3.7/site-packages/dnf-plugins/dnf-host contained in package dnf-plugin-tui requires /bin/bash, but no providers found in RDEPENDS_dnf-plugin-tui? [file-rdeps] * fix the indentation as well Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
803dd59f72
commit
19dd354c28
@ -14,25 +14,26 @@ inherit distutils3-base
|
|||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
install -d ${D}${datadir}/dnf
|
install -d ${D}${datadir}/dnf
|
||||||
install -m 0755 ${S}/samples/* ${D}${datadir}/dnf
|
install -m 0755 ${S}/samples/* ${D}${datadir}/dnf
|
||||||
install -d ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins/mkimg
|
install -d ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins/mkimg
|
||||||
install -m 0755 ${S}/dnf-plugins/mkimg/* ${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
|
for file in $(ls ${S}/dnf-plugins/ | grep -v mkimg); do
|
||||||
install -m 0755 ${S}/dnf-plugins/$file ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins
|
install -m 0755 ${S}/dnf-plugins/$file ${D}${PYTHON_SITEPACKAGES_DIR}/dnf-plugins
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install_append_class-target() {
|
do_install_append_class-target() {
|
||||||
install -d ${D}${sysconfdir}/yum.repos.d
|
install -d ${D}${sysconfdir}/yum.repos.d
|
||||||
install -m 0644 ${WORKDIR}/oe-remote.repo.sample ${D}${sysconfdir}/yum.repos.d
|
install -m 0644 ${WORKDIR}/oe-remote.repo.sample ${D}${sysconfdir}/yum.repos.d
|
||||||
}
|
}
|
||||||
|
|
||||||
FILES_${PN} += "${datadir}/dnf"
|
FILES_${PN} += "${datadir}/dnf"
|
||||||
|
|
||||||
RDEPENDS_${PN} += " \
|
RDEPENDS_${PN} += " \
|
||||||
dnf \
|
bash \
|
||||||
libnewt-python \
|
dnf \
|
||||||
"
|
libnewt-python \
|
||||||
|
"
|
||||||
|
|
||||||
BBCLASSEXTEND = "nativesdk"
|
BBCLASSEXTEND = "nativesdk"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user