Use Fedora 38

Looks like fedora 39 is broken

Signed-off-by: Itxaka <itxaka@kairos.io>
This commit is contained in:
Itxaka 2024-02-10 11:20:02 +01:00
parent 2c18ce3fbd
commit 54ae9607ee
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,5 @@
# https://quay.io/repository/kairos/packages?tab=tags&tag=latest
ARG FEDORA_VERSION=40
ARG FEDORA_VERSION=38
ARG LUET_VERSION=0.35.0
ARG ENKI_VERSION=v0.0.16

View File

@ -364,11 +364,14 @@ if [ "$model" == "rpi3" ]; then
sgdisk -m 1:2:3:4 ${output_image}
sfdisk --part-type ${output_image} 1 c
elif [ "$model" == "rpi4" ]; then
echo "label: gpt" | sfdisk "${output_image}"
sgdisk -n 1:8192:+96M -c 1:EFI -t 1:0c00 ${output_image}
sgdisk -n 2:0:+${state_size}M -c 2:state -t 2:8300 ${output_image}
sgdisk -n 3:0:+${recovery_size}M -c 3:recovery -t 3:8300 ${output_image}
sgdisk -n 4:0:+${oem_size}M -c 4:oem -t 4:8300 ${output_image}
sgdisk -n 5:0:+64M -c 5:persistent -t 5:8300 ${output_image}
sgdisk -g ${output_image}
sgdisk -m 1:2:3:4:5 ${output_image}
else
sgdisk -n 1:8192:+16M -c 1:EFI -t 1:0700 ${output_image}
sgdisk -n 2:0:+${state_size}M -c 2:state -t 2:8300 ${output_image}