python-osprofiler: fix the do_install failure 47/9647/1
authorJackie Huang <jackie.huang@windriver.com>
Thu, 10 Nov 2022 02:19:13 +0000 (18:19 -0800)
committerJackie Huang <jackie.huang@windriver.com>
Wed, 16 Nov 2022 00:45:19 +0000 (08:45 +0800)
Set PBR_VERSION to disable all version calculation logic
of pbr the supplied version will be considered absolute.

Issue-ID: INF-345

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I251d7c5761371c3f952be2b3755fb5786e24ad42

meta-stx-oran/recipes-devtools/python/python-osprofiler_git.bbappend [new file with mode: 0644]

diff --git a/meta-stx-oran/recipes-devtools/python/python-osprofiler_git.bbappend b/meta-stx-oran/recipes-devtools/python/python-osprofiler_git.bbappend
new file mode 100644 (file)
index 0000000..ab03c3d
--- /dev/null
@@ -0,0 +1,16 @@
+#
+# Copyright (C) 2022 Wind River Systems, Inc.
+#
+#  Licensed under the Apache License, Version 2.0 (the "License");
+#  you may not use this file except in compliance with the License.
+#  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+
+export PBR_VERSION = "${PV}"