]> Untitled Git - hvutilities.git/commitdiff
hvk: add support to copy additional DTB in DTB_FILES
authorHugo Villeneuve <hugo@hugovil.com>
Thu, 17 Oct 2024 15:19:02 +0000 (11:19 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Thu, 24 Oct 2024 20:53:45 +0000 (16:53 -0400)
scripts/hvk-compile.sh

index c6c96f8010b24431eb73d4ab7f230e4c59722c2a..11bf19a39e945b424447da2915af161c128e36bb 100755 (executable)
@@ -112,6 +112,10 @@ function rootfs_install() {
 
     cp ${BOOT_SRC}/Image ${deploydir}/boot/Image-latest
     cp ${DTB_SRC}        ${deploydir}${DTB_DEST}
+
+    for f in ${DTB_FILES}; do
+        cp ${f}.dtb ${deploydir}/boot
+    done
 }
 
 function rootfs_archive() {