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.
This commit is contained in:
parent
937c073e2d
commit
95ced6d0c4
11
bin/tar2fs
11
bin/tar2fs
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user