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
856d3386
Commit
856d3386
authored
2 years ago
by
Rocky Automation
Browse files
Options
Downloads
Patches
Plain Diff
import grubby-8.40-47.el8
parent
54046259
No related branches found
Branches containing commit
Tags
imports/r8/grubby-8.40-47.el8
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
SOURCES/grubby-bls
+14
-0
14 additions, 0 deletions
SOURCES/grubby-bls
SPECS/grubby.spec
+21
-1
21 additions, 1 deletion
SPECS/grubby.spec
with
35 additions
and
1 deletion
SOURCES/grubby-bls
+
14
−
0
View file @
856d3386
...
...
@@ -532,6 +532,20 @@ update_bls_fragment() {
fi
done
if
[[
$param
=
"ALL"
]]
&&
[[
-n
$remove_args
||
-n
$add_args
]]
;
then
if
[[
!
-f
/etc/kernel/cmdline
]]
;
then
# anaconda could pre-populate this file, but until then, most of
# the time we'll just want the most recent one. This is pretty
# close to the current almost-correct behavior of falling back to
# /proc/cmdline anyhow.
echo
"
$(
get_bls_args
-1
)
"
>
/etc/kernel/cmdline
fi
read
old_args < /etc/kernel/cmdline
local
new_args
=
"
$(
update_args
"
${
old_args
}
"
"
${
remove_args
}
"
"
${
add_args
}
"
)
"
echo
"
$new_args
"
>
/etc/kernel/cmdline
fi
update_grubcfg
}
...
...
This diff is collapsed.
Click to expand it.
SPECS/grubby.spec
+
21
−
1
View file @
856d3386
Name: grubby
Version: 8.40
Release: 4
2
%{?dist}
Release: 4
7
%{?dist}
Summary: Command line tool for updating BootLoaderSpec files
License: GPLv2+
URL: https://github.com/rhinstaller/grubby
...
...
@@ -169,6 +169,26 @@ current boot environment.
%{_mandir}/man8/*.8*
%changelog
* Mon Oct 10 2022 Robbie Harwood <rharwood@redhat.com> - 8.40-47
- Backport fedora/rhel9 initial cmdline population
- Resolves: #2129740
* Thu Oct 06 2022 Robbie Harwood <rharwood@redhat.com> - 8.40-46
- Fix quoting of opts in grubby-bls
- Resolves: #2129740
* Thu Aug 11 2022 Robbie Harwood <rharwood@redhat.com> - 8.40-44
- Write to /etc/kernel/cmdline on non-s390x also
- Resolves: #1978226
* Thu Aug 11 2022 Robbie Harwood <rharwood@redhat.com> - 8.40-44
- Write to /etc/kernel/cmdline on s390x and only s390x
- Resolves: #1978226
* Fri Jun 03 2022 Robbie Harwood <rharwood@redhat.com> - 8.40-43
- Additionally write to /etc/kernel/cmdline
- Resolves: #1978226
* Wed Jun 09 2021 Javier Martinez Canillas <javierm@redhat.com> - 8.40-42
- grubby-bls: expand only the kernelopts variable
Resolves: rhbz#1819666
...
...
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