Commit b22efffc authored by Anton Midyukov's avatar Anton Midyukov

arm-rpi4: do not copy missing dtb's from raspberrypi-firmware

dtb's must match the kernel.
parent 6dfb0f32
...@@ -47,12 +47,6 @@ cp "$DTB_DIR"/bcm27*-rpi-*.dtb /boot/efi/ || : ...@@ -47,12 +47,6 @@ cp "$DTB_DIR"/bcm27*-rpi-*.dtb /boot/efi/ || :
[ -d "$DTB_DIR"/overlays ] && [ -d "$DTB_DIR"/overlays ] &&
cp -r "$DTB_DIR"/dtb/overlays /boot/efi/ || : cp -r "$DTB_DIR"/dtb/overlays /boot/efi/ || :
# copy missing dtb's from raspberrypi-firmware
for dtb in /usr/share/raspberrypi-firmware/*.dtb; do
[ -f "/boot/efi/$(basename $dtb)" ] ||
cp "$dtb" /boot/efi/
done
[ "$GLOBAL_ARCH" = aarch64 ] && \ [ "$GLOBAL_ARCH" = aarch64 ] && \
echo "arm_64bit=1" > /boot/efi/config.txt echo "arm_64bit=1" > /boot/efi/config.txt
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment