Skip to contentSkip to conversation

tisdk-sw-manifest: Fix generate_sw_manifest_table

PATCH New Ryan Eatmon 1 participant 1 message Oct 5, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tisdk-sw-manifest: Fix generate_sw_manifest_table

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

---
 meta-arago-distro/classes/tisdk-sw-manifest.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-distro/classes/tisdk-sw-manifest.bbclass +1 -1
index 041d33b6..c62e3557 100644
@@ -469,7 +469,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"
Signature · 1 line
2.17.1