On 10/4/2023 1:39 AM, Aniket Limaye wrote:
The generated manifest file is expected to strictly have 7 columns,
delimited by '|' while the License section also sometimes has '|'
character. Replace this one by 'or' to fix manifest file

Signed-off-by: Aniket Limaye <[email protected]>
---
  meta-arago-distro/classes/tisdk-bundle.bbclass | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-arago-distro/classes/tisdk-bundle.bbclass 
b/meta-arago-distro/classes/tisdk-bundle.bbclass
index 1ebdb6fb..d2d31381 100644
--- a/meta-arago-distro/classes/tisdk-bundle.bbclass
+++ b/meta-arago-distro/classes/tisdk-bundle.bbclass
@@ -553,7 +553,7 @@ EOF
          package="`cat $i | grep Package: | awk {'print $2'}`"
          version="`cat $i | grep Version: | awk {'print $2'} | cut -f1-2 -d-`"
          long_version="`cat $i | grep Version: | awk {'print $2'}`"
-        license="`cat $i | grep License: | cut -d: -f2 `"
+        license="`cat $i | grep License: | cut -d: -f2 | sed 's/|/or/g' `"
          architecture="`cat $i | grep Architecture: | awk {'print $2'}`"
          sources="`cat $i | grep Source: | cut -d ':' -f2-`"
          location="$package""_""$long_version""_""$architecture"".ipk"

I'm in the middle of modifying all of this code to fix a build issue. This section of code is moving to a new file. I will resubmit a new version of this patch with the change made in the new location.


--
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14918): 
https://lists.yoctoproject.org/g/meta-arago/message/14918
Mute This Topic: https://lists.yoctoproject.org/mt/101750604/21656
Group Owner: [email protected]
Unsubscribe: 
https://lists.yoctoproject.org/g/meta-arago/leave/10763299/21656/89520264/xyzzy 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to