From 202baabfba32d5b211ce17bae50aa1b9dc4b0ab4 Mon Sep 17 00:00:00 2001 From: Babak Sarashki Date: Tue, 22 Sep 2020 20:05:29 -0700 Subject: [PATCH] stx-monitor-armada-app: limit checkouts to subpath Signed-off-by: Babak Sarashki --- .../stx-monitor-armada-app/stx-monitor-helm_1.0.bb | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/meta-stx-flock/stx-monitor-armada-app/stx-monitor-helm_1.0.bb b/meta-stx-flock/stx-monitor-armada-app/stx-monitor-helm_1.0.bb index 9e260f4..ee89792 100644 --- a/meta-stx-flock/stx-monitor-armada-app/stx-monitor-helm_1.0.bb +++ b/meta-stx-flock/stx-monitor-armada-app/stx-monitor-helm_1.0.bb @@ -1,4 +1,3 @@ - SUMMARY = "StarlingX Monitor Application Armada Helm Charts" DESCRIPTION = "StarlingX Monitor Application Armada Helm Charts" @@ -12,11 +11,15 @@ DEPENDS += " \ PROTOCOL = "https" BRANCH = "r/stx.3.0" +SRCNAME = "monitor-armada-app" SRCREV = "e5ee6b3a07b74479b93fe90eff0662cf81890f73" +SRCREV_opendev = "e5ee6b3a07b74479b93fe90eff0662cf81890f73" +DESTSUFFIX = "${PN}-${PV}" +SUBPATH0 = "stx-monitor-helm/stx-monitor-helm" -SRC_URI = "git://opendev.org/starlingx/monitor-armada-app.git;protocol=${PROTOCOL};branch=${BRANCH}" - -S = "${WORKDIR}/git/stx-monitor-helm/stx-monitor-helm" +SRC_URI = " \ + git://opendev.org/starlingx/${SRCNAME}.git;protocol=${PROTOCOL};rev=${SRCREV};branch=${BRANCH};destsuffix=${DESTSUFFIX};subpath=${SUBPATH0};name=opendev \ + " inherit allarch