Apply 0001-Correct-grammar-in-Grub-rescue-menu-entries.patch
Bump the package release
This commit is contained in:
parent
f92b7d0d53
commit
6db45c2f91
@ -0,0 +1,66 @@
|
||||
diff --git a/80-rhel/config_files/aarch64/grub2-efi.cfg b/80-rhel/config_files/aarch64/grub2-efi.cfg
|
||||
index 1ce5d33..96dc867 100644
|
||||
--- a/80-rhel/config_files/aarch64/grub2-efi.cfg
|
||||
+++ b/80-rhel/config_files/aarch64/grub2-efi.cfg
|
||||
@@ -39,7 +39,7 @@ submenu 'Troubleshooting -->' {
|
||||
linux @KERNELPATH@ @ROOT@ nomodeset
|
||||
initrd @INITRDPATH@
|
||||
}
|
||||
- menuentry 'Rescue a @PRODUCT@ system' --class red --class gnu-linux --class gnu --class os {
|
||||
+ menuentry 'Rescue an @PRODUCT@ system' --class red --class gnu-linux --class gnu --class os {
|
||||
linux @KERNELPATH@ @ROOT@ inst.rescue
|
||||
initrd @INITRDPATH@
|
||||
}
|
||||
diff --git a/80-rhel/config_files/ppc/grub.cfg.in b/80-rhel/config_files/ppc/grub.cfg.in
|
||||
index 1b14ede..8fe0731 100644
|
||||
--- a/80-rhel/config_files/ppc/grub.cfg.in
|
||||
+++ b/80-rhel/config_files/ppc/grub.cfg.in
|
||||
@@ -13,7 +13,7 @@ menuentry "Test this media & install @PRODUCT@ @VERSION@ (64-bit kernel)" --cla
|
||||
initrd /ppc/ppc64/initrd.img
|
||||
}
|
||||
|
||||
-menuentry "Rescue a @PRODUCT@ system (64-bit kernel)" --class fedora --class gnu-linux --class gnu --class os {
|
||||
+menuentry "Rescue an @PRODUCT@ system (64-bit kernel)" --class fedora --class gnu-linux --class gnu --class os {
|
||||
linux /ppc/ppc64/vmlinuz @ROOT@ inst.rescue ro
|
||||
initrd /ppc/ppc64/initrd.img
|
||||
}
|
||||
diff --git a/80-rhel/config_files/x86/grub2-bios.cfg b/80-rhel/config_files/x86/grub2-bios.cfg
|
||||
index cfca1bf..3eaf3a0 100644
|
||||
--- a/80-rhel/config_files/x86/grub2-bios.cfg
|
||||
+++ b/80-rhel/config_files/x86/grub2-bios.cfg
|
||||
@@ -30,7 +30,7 @@ submenu 'Troubleshooting -->' {
|
||||
linux @KERNELPATH@ @ROOT@ nomodeset quiet
|
||||
initrd @INITRDPATH@
|
||||
}
|
||||
- menuentry 'Rescue a @PRODUCT@ system' --class fedora --class gnu-linux --class gnu --class os {
|
||||
+ menuentry 'Rescue an @PRODUCT@ system' --class fedora --class gnu-linux --class gnu --class os {
|
||||
linux @KERNELPATH@ @ROOT@ inst.rescue quiet
|
||||
initrd @INITRDPATH@
|
||||
}
|
||||
diff --git a/80-rhel/config_files/x86/grub2-efi.cfg b/80-rhel/config_files/x86/grub2-efi.cfg
|
||||
index 8c9adad..2468a06 100644
|
||||
--- a/80-rhel/config_files/x86/grub2-efi.cfg
|
||||
+++ b/80-rhel/config_files/x86/grub2-efi.cfg
|
||||
@@ -33,7 +33,7 @@ submenu 'Troubleshooting -->' {
|
||||
linuxefi @KERNELPATH@ @ROOT@ nomodeset quiet
|
||||
initrdefi @INITRDPATH@
|
||||
}
|
||||
- menuentry 'Rescue a @PRODUCT@ system' --class fedora --class gnu-linux --class gnu --class os {
|
||||
+ menuentry 'Rescue an @PRODUCT@ system' --class fedora --class gnu-linux --class gnu --class os {
|
||||
linuxefi @KERNELPATH@ @ROOT@ inst.rescue quiet
|
||||
initrdefi @INITRDPATH@
|
||||
}
|
||||
diff --git a/80-rhel/config_files/x86/isolinux.cfg b/80-rhel/config_files/x86/isolinux.cfg
|
||||
index 216d36f..034fce4 100644
|
||||
--- a/80-rhel/config_files/x86/isolinux.cfg
|
||||
+++ b/80-rhel/config_files/x86/isolinux.cfg
|
||||
@@ -87,7 +87,7 @@ label basic
|
||||
|
||||
label rescue
|
||||
menu indent count 5
|
||||
- menu label ^Rescue a @PRODUCT@ system
|
||||
+ menu label ^Rescue an @PRODUCT@ system
|
||||
text help
|
||||
If the system will not boot, this lets you access files
|
||||
and edit config files to try to get it booting again.
|
||||
|
@ -1,6 +1,6 @@
|
||||
Name: lorax-templates-almalinux
|
||||
Version: 9.0
|
||||
Release: 40%{?dist}
|
||||
Release: 40%{?dist}.1
|
||||
Summary: AlmaLinux 9 build templates for lorax and livemedia-creator
|
||||
|
||||
License: GPLv2+
|
||||
@ -11,6 +11,8 @@ Source0: lorax-templates-rhel-9.0-40.tar.gz
|
||||
# Required for the template branding support
|
||||
Requires: lorax >= 34.9.1
|
||||
|
||||
Patch0001: 0001-Correct-grammar-in-Grub-rescue-menu-entries.patch
|
||||
|
||||
# Where are these supposed to end up?
|
||||
%define templatedir %{_datadir}/lorax/templates.d/70-almalinux
|
||||
|
||||
@ -21,6 +23,8 @@ placed in %{templatedir}
|
||||
%prep
|
||||
%setup -n lorax-templates-rhel-%{version}
|
||||
|
||||
%%patch0001 -p1
|
||||
|
||||
# Do not try to install packages not available in AlmaLinux
|
||||
sed -i '/libreport-rhel-anaconda-bugzilla/d' 80-rhel/runtime-install.tmpl
|
||||
sed -i '/redhat-release-eula/d' 80-rhel/runtime-install.tmpl
|
||||
@ -38,6 +42,9 @@ cp -a 80-rhel/* $RPM_BUILD_ROOT/%{templatedir}
|
||||
%{templatedir}/*
|
||||
|
||||
%changelog
|
||||
* Tue Apr 01 2025 Yuriy Kohut <ykohut@almalinux.org> - 9.0-40.1
|
||||
- Correct grammar in Grub rescue menuentries
|
||||
|
||||
* Tue Oct 01 2024 Eduard Abdullin <eabdullin@almalinux.org> - 9.0-40
|
||||
- Sync with lorax-templates-rhel-9.0-40
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user