Skip to content

Instantly share code, notes, and snippets.

@evadeflow
Last active July 22, 2019 18:23
Show Gist options
  • Save evadeflow/fda5e7afe87f4098c457b38ea911c828 to your computer and use it in GitHub Desktop.
Save evadeflow/fda5e7afe87f4098c457b38ea911c828 to your computer and use it in GitHub Desktop.
diff --git a/sources/meta-acme/recipes-core/images/fsl-image-qt5.bbappend b/sources/meta-acme/recipes-core/images/fsl-image-qt5.bbappend
index 854e588..07e82a0 100644
--- a/sources/meta-acme/recipes-core/images/fsl-image-qt5.bbappend
+++ b/sources/meta-acme/recipes-core/images/fsl-image-qt5.bbappend
@@ -1,4 +1,9 @@
inherit populate_sdk_qt5
+
+LICENSE = "CLOSED"
+FILESEXTRAPATHS_prepend := "${THISDIR}:"
+SRC_URI = "file://xyzinstaller_0.1-1.deb;unpack=no"
+
IMAGE_INSTALL_append = " apt"
IMAGE_INSTALL_append = " boost"
IMAGE_INSTALL_append = " capture"
@@ -77,4 +82,11 @@ add_xyz_bsp_version_script() {
chmod +x ${version_script}
}
+add_xyzinstaller() {
+ cd ${TMPDIR}
+ ar x ${WORKDIR}/xyzinstaller_0.1-1.deb
+ tar -C ${IMAGE_ROOTFS} -xf $data.tar.xz
+}
+
ROOTFS_POSTPROCESS_COMMAND += "add_xyz_bsp_version_script;"
+ROOTFS_POSTPROCESS_COMMAND += "add_xyzinstaller;"
diff --git a/sources/meta-bosch/recipes-core/images/fsl-image-qt5.bbappend b/sources/meta-bosch/recipes-core/images/fsl-image-qt5.bbappend
index 854e588..e8ed50e 100644
--- a/sources/meta-acme/recipes-core/images/fsl-image-qt5.bbappend
+++ b/sources/meta-acme/recipes-core/images/fsl-image-qt5.bbappend
@@ -77,4 +77,12 @@ add_xyz_bsp_version_script() {
chmod +x ${version_script}
}
+add_xzyinstaller() {
+ local archive=${THISDIR}/xyzinstaller_0.1-1.deb
+ cd ${TMPDIR}
+ ar x ${archive}
+ tar -C ${IMAGE_ROOTFS} -xf $data.tar.xz
+}
+
ROOTFS_POSTPROCESS_COMMAND += "add_xyz_bsp_version_script;"
+ROOTFS_POSTPROCESS_COMMAND += "add_xyzinstaller;"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment