Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
a5acd603
Commit
a5acd603
authored
Nov 24, 2020
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bootloader: Cleanup splash in 50-bootargs
The 'splash' boot argument must be cleared so that it is not enabled for rootfs and livecd that do not have plymouth installed.
parent
a6732245
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
50-bootargs
features.in/bootloader/rootfs/image-scripts.d/50-bootargs
+4
-2
No files found.
features.in/bootloader/rootfs/image-scripts.d/50-bootargs
View file @
a5acd603
#!/bin/sh -eu
#!/bin/sh -eu
if
[
-n
"
${
GLOBAL_BASE_BOOTARGS
-
}
"
]
;
then
if
[
-s
/etc/sysconfig/grub2
]
;
then
if
[
-s
/etc/sysconfig/grub2
]
;
then
# Cleanup
sed
-i
"s/ splash//g"
/etc/sysconfig/grub2
if
[
-n
"
${
GLOBAL_BASE_BOOTARGS
-
}
"
]
;
then
sed
-Ei
\
sed
-Ei
\
"s/(GRUB_CMDLINE_LINUX_DEFAULT=)(.*)(['
\"
])/
\1\2
$GLOBAL_BASE_BOOTARGS
\3
/"
\
"s/(GRUB_CMDLINE_LINUX_DEFAULT=)(.*)(['
\"
])/
\1\2
$GLOBAL_BASE_BOOTARGS
\3
/"
\
/etc/sysconfig/grub2
/etc/sysconfig/grub2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment