From 972657af3afdae65593430d96f9bb7d45746b9cf 2018-12-16 21:51:39 From: Unknown Date: 2018-12-16 21:51:39 Subject: [PATCH] Device Tree Overlay fix now overlays get copied again --- diff --git a/bootstrap.d/13-kernel.sh b/bootstrap.d/13-kernel.sh index 5e20ef1..6986685 100644 --- a/bootstrap.d/13-kernel.sh +++ b/bootstrap.d/13-kernel.sh @@ -501,7 +501,7 @@ if [ "$BUILD_KERNEL" = true ] ; then # Copy compiled dtb device tree files if [ -d "${KERNEL_DIR}/arch/${KERNEL_ARCH}/boot/dts/overlays" ] ; then - for dtb in "${KERNEL_DIR}/arch/${KERNEL_ARCH}/boot/dts/overlays/"*.dtb ; do + for dtb in "${KERNEL_DIR}/arch/${KERNEL_ARCH}/boot/dts/overlays/"*.dtbo ; do if [ -f "${dtb}" ] ; then install_readonly "${dtb}" "${BOOT_DIR}/overlays/" fi diff --git a/rpi23-gen-image.sh b/rpi23-gen-image.sh index f328772..247af3a 100755 --- a/rpi23-gen-image.sh +++ b/rpi23-gen-image.sh @@ -719,7 +719,7 @@ if [ "$ENABLE_QEMU" = true ] ; then # Setup overlays dtbs directory mkdir "${BASEDIR}/qemu/overlays" - for dtb in "${BOOT_DIR}/overlays/"*.dtb ; do + for dtb in "${BOOT_DIR}/overlays/"*.dtbo ; do if [ -f "${dtb}" ] ; then install_readonly "${dtb}" "${BASEDIR}/qemu/overlays/" fi