stx-nfv: set and limit checkouts to subpaths

Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
This commit is contained in:
Babak Sarashki 2020-09-22 20:01:16 -07:00
parent 15dfc29882
commit 497905225d
8 changed files with 13 additions and 20 deletions

View File

@ -3,7 +3,7 @@ PACKAGES += " mtce-guestserver"
require nfv-common.inc
S = "${S_DIR}/mtce-guest/src"
SUBPATH0 = "mtce-guest/src"
SRC_URI += " \
file://0001-mtce-guest-Fix-ldflags-usage.patch \

View File

@ -1,7 +1,6 @@
require nfv-common.inc
S = "${S_DIR}/nfv/nfv-client"
SUBPATH0 = "nfv/nfv-client"
inherit setuptools

View File

@ -1,7 +1,5 @@
require nfv-common.inc
S = "${S_DIR}/nfv/nfv-common"
SUBPATH0 = "nfv/nfv-common"
inherit setuptools

View File

@ -1,18 +1,19 @@
DESCRIPTION = "stx-nfv"
PROTOCOL = "https"
BRANCH = "r/stx.3.0"
SRCNAME = "nfv"
SRCREV = "aaa932c00e028dcbaf0eed6843c4d3e51f09b2c1"
S_DIR = "${WORKDIR}/git"
SRCREV_opendev = "aaa932c00e028dcbaf0eed6843c4d3e51f09b2c1"
DESTSUFFIX = "${PN}-${PV}"
PV = "1.0.0"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
SRC_URI = "git://opendev.org/starlingx/nfv.git;protocol=${PROTOCOL};rev=${SRCREV};branch=${BRANCH}"
SRC_URI = " \
git://opendev.org/starlingx/${SRCNAME}.git;protocol=${PROTOCOL};rev=${SRCREV};branch=${BRANCH};destsuffix=${DESTSUFFIX};subpath=${SUBPATH0};name=opendev \
"
DEPENDS += " \
python \

View File

@ -1,7 +1,6 @@
require nfv-common.inc
S = "${S_DIR}/nfv/nfv-plugins"
SUBPATH0 = "nfv/nfv-plugins"
inherit setuptools

View File

@ -1,6 +1,5 @@
require nfv-common.inc
S = "${S_DIR}/nfv/nfv-tools"
SUBPATH0 = "nfv/nfv-tools"
inherit setuptools

View File

@ -1,7 +1,6 @@
require nfv-common.inc
S = "${S_DIR}/nfv/nfv-vim"
SUBPATH0 = "nfv/nfv-vim"
inherit setuptools

View File

@ -1,7 +1,5 @@
require nfv-common.inc
S = "${S_DIR}/nova-api-proxy/nova-api-proxy"
SUBPATH0 = "nova-api-proxy/nova-api-proxy"
inherit setuptools systemd
SYSTEMD_PACKAGES += "nova-api-proxy"