Skip to contentSkip to conversation

HACK: FIXME: arago-core-tisdk-image: disable "sdk-host" packagegroups

PATCH In review Denys Dmytriyenko 2 participants 2 messages Jan 31, 2019 – Apr 11, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 HACK: FIXME: arago-core-tisdk-image: disable "sdk-host" packagegroups

Custom-made srcipk packages are foreign to the system and have issues installing into SDK. Disable for now, until resolved.

---
 .../recipes-core/images/arago-core-tisdk-image.inc | 23 +++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)
meta-arago-distro/recipes-core/images/arago-core-tisdk-image.inc +12 -11
index 76102a1..da5d44d 100644
@@ -55,14 +55,15 @@ IMAGE_INSTALL_QT = "\
 IMAGE_INSTALL_QT_keystone = ""
 IMAGE_INSTALL_QT_omapl138 = ""
 
-IMAGE_INSTALL = "\
-    packagegroup-arago-tisdk-addons-sdk-host \
-    ${@bb.utils.contains('MACHINE_FEATURES','dsp','packagegroup-arago-tisdk-opencl-sdk-host','',d)} \
-    packagegroup-arago-tisdk-crypto-sdk-host \
-    ${@bb.utils.contains('MACHINE_FEATURES','sgx','packagegroup-arago-tisdk-graphics-sdk-host','',d)} \
-    packagegroup-arago-tisdk-matrix-sdk-host \
-    packagegroup-arago-tisdk-multimedia-sdk-host \
-    packagegroup-arago-tisdk-hmi-sdk-host \
-    packagegroup-arago-tisdk-amsdk-sdk-host${ARAGO_KERNEL_SUFFIX} \
-    ${IMAGE_INSTALL_QT} \
-"
+IMAGE_INSTALL = ""
+# Disable all "sdk-host" packagegroups due to issues installing "srcipk" packages
+#    packagegroup-arago-tisdk-addons-sdk-host \
+#    ${@bb.utils.contains('MACHINE_FEATURES','dsp','packagegroup-arago-tisdk-opencl-sdk-host','',d)} \
+#    packagegroup-arago-tisdk-crypto-sdk-host \
+#    ${@bb.utils.contains('MACHINE_FEATURES','sgx','packagegroup-arago-tisdk-graphics-sdk-host','',d)} \
+#    packagegroup-arago-tisdk-matrix-sdk-host \
+#    packagegroup-arago-tisdk-multimedia-sdk-host \
+#    packagegroup-arago-tisdk-hmi-sdk-host \
+#    packagegroup-arago-tisdk-amsdk-sdk-host${ARAGO_KERNEL_SUFFIX} \
+#    ${IMAGE_INSTALL_QT} \
+#"
Signature · 1 line
2.7.4
#1 lore raw

Denys,

I have been looking into this. Unless we can overlay some of the python libraries, it will be impossible to use the existing framework to install packages not created by the package_write_* task [1].

So that leaves 2 options: (1) overhaul the sourceipk class to leverage the package_write_* tasks, or (2) add a custom way to install these packages in an image, similar to how it is done for the filesystems and devkit. Do you have any other ideas?

And as this only breaks the sourceipk packages, can we add back the non-sourceipk packages, such as ti-tisdk-setup and ti-tisdk-makefile? The packaging in tisdk-build-scripts requires the setup scripts to be present in the SDK image.

Thank you,

Jake

[1] https://github.com/openembedded/openembedded-core/commit/c7c5f4065c102fde4e11d138fb0b6e25bffe0379

Quoted 39 lines · Denys Dmytriyenko

Custom-made srcipk packages are foreign to the system and have issues installing into SDK. Disable for now, until resolved.

---
  .../recipes-core/images/arago-core-tisdk-image.inc | 23 +++++++++++-----------
  1 file changed, 12 insertions(+), 11 deletions(-)
meta-arago-distro/recipes-core/images/arago-core-tisdk-image.inc +12 -11
index 76102a1..da5d44d 100644
@@ -55,14 +55,15 @@ IMAGE_INSTALL_QT = "\
  IMAGE_INSTALL_QT_keystone = ""
  IMAGE_INSTALL_QT_omapl138 = ""
 
-IMAGE_INSTALL = "\
-    packagegroup-arago-tisdk-addons-sdk-host \
-    ${@bb.utils.contains('MACHINE_FEATURES','dsp','packagegroup-arago-tisdk-opencl-sdk-host','',d)} \
-    packagegroup-arago-tisdk-crypto-sdk-host \
-    ${@bb.utils.contains('MACHINE_FEATURES','sgx','packagegroup-arago-tisdk-graphics-sdk-host','',d)} \
-    packagegroup-arago-tisdk-matrix-sdk-host \
-    packagegroup-arago-tisdk-multimedia-sdk-host \
-    packagegroup-arago-tisdk-hmi-sdk-host \
-    packagegroup-arago-tisdk-amsdk-sdk-host${ARAGO_KERNEL_SUFFIX} \
-    ${IMAGE_INSTALL_QT} \
-"
+IMAGE_INSTALL = ""
+# Disable all "sdk-host" packagegroups due to issues installing "srcipk" packages
+#    packagegroup-arago-tisdk-addons-sdk-host \
+#    ${@bb.utils.contains('MACHINE_FEATURES','dsp','packagegroup-arago-tisdk-opencl-sdk-host','',d)} \
+#    packagegroup-arago-tisdk-crypto-sdk-host \
+#    ${@bb.utils.contains('MACHINE_FEATURES','sgx','packagegroup-arago-tisdk-graphics-sdk-host','',d)} \
+#    packagegroup-arago-tisdk-matrix-sdk-host \
+#    packagegroup-arago-tisdk-multimedia-sdk-host \
+#    packagegroup-arago-tisdk-hmi-sdk-host \
+#    packagegroup-arago-tisdk-amsdk-sdk-host${ARAGO_KERNEL_SUFFIX} \
+#    ${IMAGE_INSTALL_QT} \
+#"