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 mkdir -p /boot/efi/EFI/BOOT
if [ -d /boot/efi/EFI/rocky/ ] && [ -f /boot/efi/EFI/rocky/grubaa64.efi ];then if [ -d /boot/efi/EFI/rocky/ ] && [ -f /boot/efi/EFI/rocky/grubaa64.efi ];then
for j in grub.cfg grubenv;do for j in grub.cfg grubenv;do
mv -f /boot/grub2/${j} /boot/efi/EFI/rocky/ if [ -f "/boot/grub2/${j}" ]; then
ln -s ../efi/EFI/rocky/${j} /boot/grub2/${j} mv -f /boot/grub2/${j} /boot/efi/EFI/rocky/
ln -s ../efi/EFI/rocky/${j} /boot/grub2/${j}
fi
done done
cp -f /boot/efi/EFI/rocky/grubaa64.efi /boot/efi/EFI/BOOT/BOOTAA64.EFI cp -f /boot/efi/EFI/rocky/grubaa64.efi /boot/efi/EFI/BOOT/BOOTAA64.EFI
fi fi

View File

@ -1,6 +1,6 @@
<!-- There isn't a way to exclude packages from a certain repo --> <!-- There isn't a way to exclude packages from a certain repo -->
<image> <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/"/> <source path="https://rockyrepos.gnulab.org/gen_aarch64_el$releasever/"/>
</repository> </repository>
</image> </image>

View File

@ -32,7 +32,7 @@
<type image="oem" <type image="oem"
filesystem="ext4" filesystem="ext4"
bootpartition="true" bootpartsize="1000" bootfilesystem="ext4" efipartsize="500" firmware="efi" 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" devicepersistency="by-label"
editbootinstall="sbc/editbootinstall_genericarm.sh" editbootinstall="sbc/editbootinstall_genericarm.sh"
rootfs_label="rootfs"> rootfs_label="rootfs">