Commit 95ced6d0 authored by Anton Midyukov's avatar Anton Midyukov

tar2fs: Added Raspberry Pi 4 support

Since the main goal for aarch64 and armh for us is Raspberry Pi, it is always worth creating a fat32 partition for these arches. At least for now.
parent 937c073e
......@@ -55,6 +55,13 @@ ppc*)
BOOTLOADERPARTSIZEM="8"
ROOTPART="2"
;;
arm*|aarch64)
BLOCKDEV="/dev/sda"
EFIPART="1"
EFIPARTSIZEM="256"
EFIPARTFSTYPE="fat"
ROOTPART="2"
;;
*)
if [ "$BOOTLOADER" == grub-efi ]; then
EFIPART="1"
......@@ -349,6 +356,10 @@ echo "** end of boot.conf"
popd
# Update cmdline.txt for Raspberry Pi
[ -f "$ROOTFS/boot/efi/cmdline.txt" ] &&
sed -i "s/LABEL=ROOT/$ROOTDEV/" "$ROOTFS/boot/efi/cmdline.txt"
# Setup bootloader
case "$BOOTLOADER" in
uboot)
......
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