summaryrefslogtreecommitdiff
path: root/recipes-images/images/tdx-image-fstype.inc
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2018-06-10 15:09:14 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2018-09-13 13:01:52 +0200
commitd1032a63e40296d81e60e503c6584e7ccc0b96a5 (patch)
treecda1406ba293586993c372a1beb8c18fe4e44599 /recipes-images/images/tdx-image-fstype.inc
parentb3665ffc2c13cb820eb5bef43979d5dc2e321753 (diff)
tdx-image-fstype: configure update.sh from KERNEL_DEVICE_TREE
The machine configurations provide a list of built device tree files. Use said variable to modify update.sh rather than maintaining the same list in the machine configuartion and update.sh. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'recipes-images/images/tdx-image-fstype.inc')
-rw-r--r--recipes-images/images/tdx-image-fstype.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-images/images/tdx-image-fstype.inc b/recipes-images/images/tdx-image-fstype.inc
index f727845..c6e909b 100644
--- a/recipes-images/images/tdx-image-fstype.inc
+++ b/recipes-images/images/tdx-image-fstype.inc
@@ -159,6 +159,8 @@ fakeroot imagedeploy_arm() {
cd ${WORKDIR}
cp -Lr ${BURNFLASH}/* ${IMAGE_DIR}/
+ sed -i 's/%kernel_device_trees%/${KERNEL_DEVICETREE}/' ${IMAGE_DIR}/update.sh
+
cd ${IMAGE_DIR}/${MACHINE}_bin
./mk-u-boot-scripts.sh
cd ${WORKDIR}