adjust priority and scr

This commit is contained in:
Louis Abel 2024-05-04 01:46:41 -07:00
parent dbd6c3af46
commit 5822f4e400
Signed by untrusted user: label
GPG Key ID: 2A6975660E424560
3 changed files with 6 additions and 4 deletions

View File

@ -722,8 +722,10 @@ function genericarm_sbc_steps() {
mkdir -p /boot/efi/EFI/BOOT
if [ -d /boot/efi/EFI/rocky/ ] && [ -f /boot/efi/EFI/rocky/grubaa64.efi ];then
for j in grub.cfg grubenv;do
if [ -f "/boot/grub2/${j}" ]; then
mv -f /boot/grub2/${j} /boot/efi/EFI/rocky/
ln -s ../efi/EFI/rocky/${j} /boot/grub2/${j}
fi
done
cp -f /boot/efi/EFI/rocky/grubaa64.efi /boot/efi/EFI/BOOT/BOOTAA64.EFI
fi

View File

@ -1,6 +1,6 @@
<!-- There isn't a way to exclude packages from a certain repo -->
<image>
<repository type="rpm-md" alias="gnulab_tmp" priority="4">
<repository type="rpm-md" alias="gnulab_tmp" priority="10">
<source path="https://rockyrepos.gnulab.org/gen_aarch64_el$releasever/"/>
</repository>
</image>

View File

@ -32,7 +32,7 @@
<type image="oem"
filesystem="ext4"
bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" efipartsize="500" firmware="efi"
kernelcmdline="root=LABEL=rootfs rootfstype=ext4 elevator=deadline rootwait"
kernelcmdline="root=LABEL=rootfs rootfstype=ext4 elevator=deadline rootwait console=ttyS0"
devicepersistency="by-label"
editbootinstall="sbc/editbootinstall_genericarm.sh"
rootfs_label="rootfs">