package: Include Pi firmware in archive root
dustin/metricspi/pipeline/head This commit looks good Details

Raspberry Pi firmware files are now included in the root of the
distribution archive, insteaad of in an `rpi-firmware` subdirectory.
This will make it easier to extract them to the FAT32 partition on the
SD card, along with the kernel and initramfs images files.
pull/2/head
Dustin 2022-06-23 10:26:04 -05:00
parent 5650285a8a
commit 40867c456d
1 changed files with 5 additions and 4 deletions

View File

@ -11,14 +11,15 @@ initramfs: _build/initramfs/images/initramfs.img.lz4
package:
tar -c -f _build/metricspi.tar \
-C ${PWD}/_build/rootfs/images \
rootfs.squashfs \
-C ${PWD}/_build/initramfs/images \
initramfs.img.lz4 \
-C ${PWD}/_build/rootfs/images \
rpi-firmware/ \
bcm2711-rpi-cm4.dtb \
Image \
rootfs.squashfs \
--
Image
cd _build/rootfs/images/rpi-firmware && \
tar -r -f ${PWD}/_build/metricspi.tar *
_build/initramfs/images/initramfs.img.lz4: _build/initramfs/.config
$(MAKE) -C _build/initramfs