Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
grub2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
staging
rpms
grub2
Commits
bd68211c
Commit
bd68211c
authored
4 months ago
by
Rocky Automation
Browse files
Options
Downloads
Patches
Plain Diff
import grub2-2.02-160.el8_10
parent
57c5e00f
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
SOURCES/20-grub.install
+2
-1
2 additions, 1 deletion
SOURCES/20-grub.install
SOURCES/99-grub-mkconfig.install
+8
-2
8 additions, 2 deletions
SOURCES/99-grub-mkconfig.install
SPECS/grub2.spec
+10
-2
10 additions, 2 deletions
SPECS/grub2.spec
with
20 additions
and
5 deletions
SOURCES/20-grub.install
+
2
−
1
View file @
bd68211c
...
...
@@ -155,8 +155,9 @@ case "$COMMAND" in
if
[[
"x${GRUB_ENABLE_BLSCFG}"
=
"xtrue"
]]
||
[[
!
-
f
/
sbin
/
new
-
kernel
-
pkg
]];
then
ARCH
=
"$(uname -m)"
BLS_TARGET
=
"${BLS_DIR}/${MACHINE_ID}-${KERNEL_VERSION}.conf"
BLS_FAKE_TARGET
=
"${BLS_DIR}/ffffffffffffffffffffffffffffffff-${KERNEL_VERSION}.conf"
BLS_DEBUG
=
"$(echo ${BLS_TARGET} | sed -e "
s
/
$
{
KERNEL_VERSION
}
/
$
{
KERNEL_VERSION
}
~
debug
/
")"
rm
-
f
"${BLS_TARGET}"
"${BLS_DEBUG}"
rm
-
f
"${BLS_TARGET}"
"${BLS_DEBUG}"
"${BLS_FAKE_TARGET}"
for
i
in
vmlinuz
System
.
map
config
zImage
.
stub
dtb
;
do
rm
-
rf
"/boot/${i}-${KERNEL_VERSION}"
...
...
This diff is collapsed.
Click to expand it.
SOURCES/99-grub-mkconfig.install
100644 → 100755
+
8
−
2
View file @
bd68211c
...
...
@@ -9,16 +9,22 @@ ARCH=$(uname -m)
[[
-
f
/
etc
/
default
/
grub
]]
&&
.
/
etc
/
default
/
grub
# Can't assume a BLS capable bootloader on ppc64
if
[[
x
$GRUB_ENABLE_BLSCFG
!
=
x
fals
e
&&
if
[[
x
$GRUB_ENABLE_BLSCFG
=
x
tru
e
&&
$ARCH
!=
"ppc64"
&&
$ARCH
!=
"ppc64le"
]];
then
exit
0
fi
COMMAND
=
"$1"
grub_cfg
=/
boot
/
grub2
/
grub
.
cfg
if
mountpoint
-
q
/
boot
/
efi
;
then
os_name
=
$
(
grep
^
ID
=
/
etc
/
os
-
release
|
sed
-
e
's/^ID=//'
-
e
's/rhel/redhat/'
-
e
's/\"//g'
)
grub_cfg
=/
boot
/
efi
/
EFI
/
$os_name
/
grub
.
cfg
fi
case
"
$COMMAND
"
in
add
|
remove
)
grub2
-
mkconfig
--
no
-
grubenv
-
update
-
o
/
boot
/
grub2
/
grub
.
cfg
>&
/
dev
/
null
grub2
-
mkconfig
--
no
-
grubenv
-
update
-
o
$grub_
cfg
>&
/
dev
/
null
;;
*
)
;;
...
...
This diff is collapsed.
Click to expand it.
SPECS/grub2.spec
+
10
−
2
View file @
bd68211c
...
...
@@ -7,7 +7,7 @@
Name: grub2
Epoch: 1
Version: 2.02
Release: 1
58
%{?dist}.rocky.0.1
Release: 1
60
%{?dist}.rocky.0.1
Summary: Bootloader with support for Linux, Multiboot and more
Group: System Environment/Base
License: GPLv3+
...
...
@@ -525,7 +525,7 @@ fi
%endif
%changelog
* Tue
Nov 05
2024 Release Engineering <releng@rockylinux.org> - 2.02-1
58
.rocky.0.1
* Tue
Dec 17
2024 Release Engineering <releng@rockylinux.org> - 2.02-1
60
.rocky.0.1
- Removing redhat old cert sources entries (Sherif Nagy)
- Preserving rhel8 sbat entry based on shim-review feedback ticket no. 194
- Porting to 8.10
...
...
@@ -533,6 +533,14 @@ fi
- Cleaning up grup.macro extra signing certs
- Use rocky-sb-certs for secure boot signing
* Wed Nov 13 2024 Leo Sandoval <lsandova@redhat.com> - 2.02-160
- Remove BLS fake config in case of kernel removal
- Resolves: #RHEL-4316
* Tue Nov 12 2024 Leo Sandoval <lsandova@redhat.com> - 2.02-159
- Fix default behavior when GRUB_ENABLE_BLSCFG is not present
- Resolves: #RHEL-4319
* Thu Sep 19 2024 Leo Sandoval <lsandova@redhat.com> - 2.02-158
- grub-mkconfig.in: turn off executable owner bit
- Resolves: #RHEL-58835
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment