recipes-devtools: fix the do_install failure for pkgs

Set PBR_VERSION to disable all version calculation logic
of pbr the supplied version will be considered absolute.

Closes-bug: 2013029

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ia038c1c7f10170413051e5b3addd337d3559f3ff
This commit is contained in:
Jackie Huang 2023-03-28 00:08:35 -07:00
parent 0984e1ca88
commit e2fefea34d
46 changed files with 85 additions and 5 deletions

View File

@ -1,4 +1,3 @@
SRC_URI = "\
git://github.com/openstack/python-keystoneclient.git;branch=stable/train \
"
@ -16,3 +15,5 @@ RDEPENDS_${PN}_append = " \
keystone-cronjobs \
keystone \
"
export PBR_VERSION = "${PV}"

View File

@ -7,3 +7,5 @@ RDEPENDS_${PN} += " \
python-munch \
python2-os-service-types \
"
export PBR_VERSION = "${PV}"

View File

@ -25,3 +25,5 @@ RDEPENDS_${PN} += " \
python-requests \
python-cython \
"
export PBR_VERSION = "${PV}"

View File

@ -20,7 +20,10 @@ RDEPENDS_${PN}_append = " \
inherit setuptools
export PBR_VERSION = "${PV}"
do_install_append() {
install -d -m 755 ${D}/${sysconfdir}/bash_completion.d
install -p -D -m 664 tools/system.bash_completion ${D}/${sysconfdir}/bash_completion.d/system.bash_completion
}

View File

@ -77,6 +77,8 @@ USERADD_PACKAGES = "sysinv"
USERADD_PARAM_sysinv = "-r -g sysinv -u 168 -d /var/lib/sysinv -s /sbin/nologin -c 'sysinv Daemons' sysinv"
GROUPADD_PARAM_sysinv = "-r -g 168 sysinv"
export PBR_VERSION = "${PV}"
do_install_append() {
install -d -m 755 ${D}${sysconfdir}/goenabled.d

View File

@ -22,6 +22,8 @@ SRC_URI = " \
inherit distutils python-dir
export PBR_VERSION = "${PV}"
DEPENDS += " \
python-pbr-native \
"

View File

@ -72,6 +72,8 @@ RDEPENDS_distributedcloud-dcdbsync+= " ${ALL_RDEPENDS}"
inherit distutils python-dir
export PBR_VERSION = "${PV}"
do_configure() {
cd ${S}/distributedcloud
distutils_do_configure

View File

@ -4,3 +4,5 @@ require fault-common.inc
SUBPATH0 = "python-fmclient/fmclient"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
export PBR_VERSION = "${PV}"

View File

@ -18,6 +18,8 @@ SRC_URI = "git://opendev.org/starlingx/gui.git;protocol=${PROTOCOL};rev=${SRCREV
inherit distutils python-dir
export PBR_VERSION = "${PV}"
DEPENDS = "\
python \
python-pbr-native \

View File

@ -1,4 +1,3 @@
DESCRIPTION = "client library for Aodh built on the Aodh API"
HOMEPAGE = "https://launchpad.net/python-aodhclient"
SECTION = "devel/python"
@ -46,3 +45,5 @@ do_install_append() {
FILES_${PN} += " \
"
export PBR_VERSION = "${PV}"

View File

@ -25,6 +25,8 @@ S = "${WORKDIR}/git"
inherit update-rc.d setuptools identity hosts useradd default_configs monitor systemd
export PBR_VERSION = "${PV}"
SYSTEMD_SERVICE_${SRCNAME} = " \
openstack-barbican-api.service \
openstack-barbican-worker.service \

View File

@ -4,3 +4,5 @@ SRCREV = "9c0e02d367b86eb5bdebda4e0ff1434d70db5f61"
SRC_URI = " \
git://github.com/openstack/python-barbicanclient.git;branch=stable/train \
"
export PBR_VERSION = "${PV}"

View File

@ -16,6 +16,8 @@ SRC_URI = "git://opendev.org/openstack/${SRCNAME}.git;protocol=${PROTOCOL};rev=$
inherit setuptools
export PBR_VERSION = "${PV}"
DEPENDS += " \
python-pip \
python-pbr-native \

View File

@ -16,6 +16,8 @@ SRC_URI = "git://github.com/openstack/${SRCNAME}.git;protocol=${PROTOCOL};rev=${
inherit setuptools
export PBR_VERSION = "${PV}"
DEPENDS += " \
python-pip \
python-pbr-native\

View File

@ -44,3 +44,5 @@ do_install_append() {
install -d -m 755 ${D}/${sysconfdir}/bash_completion.d
install -p -D -m 664 tools/glance.bash_completion ${D}/${sysconfdir}/bash_completion.d/glance
}
export PBR_VERSION = "${PV}"

View File

@ -20,3 +20,5 @@ DEPENDS += " \
RDEPENDS_${PN}_append = " python-ujson"
inherit setuptools
export PBR_VERSION = "${PV}"

View File

@ -4,3 +4,5 @@ SRCREV = "eca16376563c2b0249d5b2aba1f6283a5aebbe98"
SRC_URI = " \
git://github.com/openstack/python-heatclient.git;branch=stable/train \
"
export PBR_VERSION = "${PV}"

View File

@ -26,3 +26,5 @@ RDEPENDS_${PN}_append = " \
python-dogpile.cache \
python-oslo.config \
"
export PBR_VERSION = "${PV}"

View File

@ -25,6 +25,8 @@ inherit setuptools identity hosts default_configs monitor useradd systemd
inherit stx-metadata
export PBR_VERSION = "${PV}"
STX_REPO = "upstream"
STX_SUBPATH = "openstack/python-keystone/centos"

View File

@ -44,3 +44,5 @@ RDEPENDS_${PN} += " \
python-six \
python-webob \
"
export PBR_VERSION = "${PV}"

View File

@ -16,3 +16,5 @@ SRC_URI = "git://opendev.org/openstack/ldappool.git;protocol=${PROTOCOL};rev=${S
DEPENDS += " python python-pbr-native"
inherit setuptools distutils pkgconfig
export PBR_VERSION = "${PV}"

View File

@ -61,3 +61,5 @@ FILES_${BPN}-bash-completion = "${sysconfdir}/bash_completion.d/*"
MONITOR_CHECKS_${PN} += "\
neutron-api-check.sh \
"
export PBR_VERSION = "${PV}"

View File

@ -18,6 +18,8 @@ SRC_URI = "git://github.com/openstack/${SRCNAME}.git;protocol=${PROTOCOL};rev=${
inherit setuptools python-dir
export PBR_VERSION = "${PV}"
DEPENDS += " \
python-pip \
python-pbr-native \

View File

@ -1,5 +1,3 @@
PV = "4.0.0+git${SRCPV}"
SRCREV = "aa64eb6b0acc6e049c81fd856b75cda2f905c84c"
@ -10,3 +8,5 @@ SRC_URI = " \
RDEPENDS_${PN}_append = " \
python-swiftclient \
"
export PBR_VERSION = "${PV}"

View File

@ -0,0 +1 @@
export PBR_VERSION = "${PV}"

View File

@ -34,3 +34,5 @@ RDEPENDS_${PN} += " \
python-oslo.log \
python-oslo.utils \
"
export PBR_VERSION = "${PV}"

View File

@ -35,3 +35,5 @@ RDEPENDS_${PN} += " \
python-six \
python-enum34 \
"
export PBR_VERSION = "${PV}"

View File

@ -37,4 +37,5 @@ RDEPENDS_${PN} += " \
python-pyyaml \
python-importlib-metadata \
"
export PBR_VERSION = "${PV}"

View File

@ -33,3 +33,5 @@ RDEPENDS_${PN} += " \
python-debtcollector \
python-positional \
"
export PBR_VERSION = "${PV}"

View File

@ -34,3 +34,5 @@ RDEPENDS_${PN} += " \
python-pbr \
python-debtcollector \
"
export PBR_VERSION = "${PV}"

View File

@ -0,0 +1 @@
export PBR_VERSION = "${PV}"

View File

@ -42,3 +42,5 @@ RDEPENDS_${PN} += " \
python-dateutil \
python-monotonic \
"
export PBR_VERSION = "${PV}"

View File

@ -0,0 +1 @@
export PBR_VERSION = "${PV}"

View File

@ -40,3 +40,5 @@ RDEPENDS_${PN} += " \
python-debtcollector \
python-statsd \
"
export PBR_VERSION = "${PV}"

View File

@ -30,3 +30,5 @@ RDEPENDS_${PN} += " \
python-pyyaml \
python-requests \
"
export PBR_VERSION = "${PV}"

View File

@ -0,0 +1 @@
export PBR_VERSION = "${PV}"

View File

@ -37,3 +37,5 @@ RDEPENDS_${PN} += " \
python-pytz \
python-msgpack \
"
export PBR_VERSION = "${PV}"

View File

@ -0,0 +1 @@
export PBR_VERSION = "${PV}"

View File

@ -22,6 +22,8 @@ S = "${WORKDIR}/git"
inherit setuptools
export PBR_VERSION = "${PV}"
DEPENDS += " \
python-pip \
python-pbr-native \

View File

@ -3,3 +3,4 @@ PV = "3.33.0+git${SRCPV}"
SRCREV = "58fb709f58bd031c5114d9b6fe2e0926175b87b6"
SRC_URI = "git://github.com/openstack/oslo.utils.git;branch=stable/queens"
export PBR_VERSION = "${PV}"

View File

@ -16,6 +16,8 @@ SRC_URI = "git://github.com/openstack/${SRCNAME}.git;protocol=${PROTOCOL};rev=${
inherit setuptools
export PBR_VERSION = "${PV}"
DEPENDS += " \
python-pip \
python-pbr-native \

View File

@ -16,6 +16,8 @@ SRC_URI = "git://opendev.org/openstack/${SRCNAME}.git;protocol=${PROTOCOL};rev=$
inherit setuptools
export PBR_VERSION = "${PV}"
DEPENDS += " python-pbr-native"
RDEPENDS_${PN}_append = " \

View File

@ -18,3 +18,5 @@ DEPENDS += " \
"
inherit setuptools
export PBR_VERSION = "${PV}"

View File

@ -0,0 +1 @@
export PBR_VERSION = "${PV}"

View File

@ -20,6 +20,8 @@ SRC_URI = " \
inherit setuptools
export PBR_VERSION = "${PV}"
RDEPENDS_${PN} += " \
python-requests \
"

View File

@ -0,0 +1 @@
export PBR_VERSION = "${PV}"