Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
grubby
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
grubby
Commits
2bafc66f
Commit
2bafc66f
authored
2 weeks ago
by
Rocky Automation
Browse files
Options
Downloads
Patches
Plain Diff
import grubby-8.40-81.el10
parent
209034da
Branches
r10s
Tags
imports/r10s/grubby-8.40-81.el10
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
SOURCES/grubby-bls
+11
-9
11 additions, 9 deletions
SOURCES/grubby-bls
SPECS/grubby.spec
+7
-2
7 additions, 2 deletions
SPECS/grubby.spec
with
18 additions
and
11 deletions
SOURCES/grubby-bls
+
11
−
9
View file @
2bafc66f
...
...
@@ -595,17 +595,19 @@ remove_var_prefix() {
update_grubcfg
()
{
#
Older ppc64le OPAL firmware don't have BLS support so grub2-mkconfig has to be run
# to generate a config with menuentry commands.
if
[
"
${
arch
}
"
=
"ppc64le"
]
&&
[
-d
/sys/firmware/opal
]
;
then
#
Turn on RUN_MKCONFIG on different archs/scenarios
if
[[
"
${
arch
}
"
=
's390'
]]
||
[[
"
${
arch
}
"
=
's390x'
]]
;
then
# On s390/s390x systems, run mkconfig/zipl
RUN_MKCONFIG
=
"true"
fi
# PV and PVH Xen DomU guests boot with pygrub that doesn't have BLS support,
# also Xen Dom0 use the menuentries from 20_linux_xen and not the ones from
# 10_linux. So grub2-mkconfig has to run for both Xen Dom0 and DomU.
if
[[
-e
/sys/hypervisor/type
]]
&&
grep
-q
"^xen$"
/sys/hypervisor/type
;
then
elif
[[
"
${
arch
}
"
=
"ppc64le"
]]
&&
[[
-d
/sys/firmware/opal
]]
;
then
# Older ppc64le OPAL firmware don't have BLS support so grub2-mkconfig has to be run
# to generate a config with menuentry commands.
RUN_MKCONFIG
=
"true"
elif
[[
-e
/sys/hypervisor/type
]]
&&
grep
-q
"^xen$"
/sys/hypervisor/type
;
then
if
[
!
-e
/sys/hypervisor/guest_type
]
||
!
grep
-q
"^HVM$"
/sys/hypervisor/guest_type
;
then
# PV and PVH Xen DomU guests boot with pygrub that doesn't have BLS support,
# also Xen Dom0 use the menuentries from 20_linux_xen and not the ones from
# 10_linux. So grub2-mkconfig has to run for both Xen Dom0 and DomU.
RUN_MKCONFIG
=
true
fi
fi
...
...
This diff is collapsed.
Click to expand it.
SPECS/grubby.spec
+
7
−
2
View file @
2bafc66f
...
...
@@ -3,7 +3,7 @@
Name: grubby
Version: 8.40
Release: 8
0
%{?dist}
Release: 8
1
%{?dist}
Summary: Command line tool for updating bootloader configs
License: GPL-2.0-or-later
Source1: grubby-bls
...
...
@@ -75,9 +75,14 @@ fi
%{_mandir}/man8/grubby.8*
%changelog
*
Fri Jan 1
0 2025 Release Engineering <releng@rockylinux.org> - 8.40-8
0
*
Thu Mar 2
0 2025 Release Engineering <releng@rockylinux.org> - 8.40-8
1
- Add riscv64 device tree support
* Thu Mar 20 2025 Leo Sandoval <lsandova@redhat.com> - 8.40-81
- grubby-bls: in s390* systems, run zipl on grub cfg update event
Fixes previous commit and formats better the conditions that trigger grub cfg updates
Resolves: #RHEL-36092
* Fri Dec 06 2024 Leo Sandoval <lsandova@redhat.com> - 8.40-80
- grubby-bls: on PPC systems, remove petiboot's version checks
Resolves: #RHEL-70194
...
...
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