public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] meta/classes/dpkg-prebuilt: expand SRC_URI variable
@ 2024-04-24  6:14 srinuvasan.a
  2024-04-24  6:33 ` Schmidt, Adriaan
  0 siblings, 1 reply; 7+ messages in thread
From: srinuvasan.a @ 2024-04-24  6:14 UTC (permalink / raw)
  To: isar-users; +Cc: jan.kiszka, felix.moessbauer, Srinuvasan A

From: Srinuvasan A <srinuvasan.a@siemens.com>

In some cases we may need to install the prebuilt deb packages based on
some condition or based on distro selection, in this case the present
implementation not works as expected.

The reason behind this is SRC_URI variable is not exapnding, remove
False flag to expand SRC_URI variable to get the required field.

Signed-off-by: Srinuvasan A <srinuvasan.a@siemens.com>
---
 meta/classes/dpkg-prebuilt.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/dpkg-prebuilt.bbclass b/meta/classes/dpkg-prebuilt.bbclass
index 8135fc81..1ee1147c 100644
--- a/meta/classes/dpkg-prebuilt.bbclass
+++ b/meta/classes/dpkg-prebuilt.bbclass
@@ -7,7 +7,7 @@ inherit dpkg-base
 
 python do_unpack:prepend() {
     # enforce unpack=false
-    src_uri = (d.getVar('SRC_URI', False) or '').split()
+    src_uri = (d.getVar('SRC_URI') or '').split()
     if len(src_uri) == 0:
         return
     def ensure_unpack_false(uri):
-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-04-24 10:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-24  6:14 [PATCH] meta/classes/dpkg-prebuilt: expand SRC_URI variable srinuvasan.a
2024-04-24  6:33 ` Schmidt, Adriaan
2024-04-24  6:59   ` Srinuvasan Arjunan
2024-04-24  7:27     ` Schmidt, Adriaan
2024-04-24  8:02       ` Srinuvasan Arjunan
2024-04-24  9:42         ` Schmidt, Adriaan
2024-04-24 10:55           ` Srinuvasan Arjunan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox