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
0
Merge Requests
0
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
Anton Palgunov
mkimage-profiles
Commits
923a02f0
Commit
923a02f0
authored
Jun 05, 2023
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
plymouth: add feature plymouth to initrd.mk for rootfs
parent
855b4a32
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
config.mk
features.in/plymouth/config.mk
+0
-1
10-plymouth
features.in/plymouth/rootfs/image-scripts.d/10-plymouth
+5
-0
No files found.
features.in/plymouth/config.mk
View file @
923a02f0
...
@@ -32,7 +32,6 @@ endif
...
@@ -32,7 +32,6 @@ endif
@$(call add,THE_BRANDING,bootsplash graphics)
@$(call add,THE_BRANDING,bootsplash graphics)
@$(call add,THE_PACKAGES,make-initrd-plymouth cpio)
@$(call add,THE_PACKAGES,make-initrd-plymouth cpio)
ifeq (vm,$(IMAGE_CLASS))
ifeq (vm,$(IMAGE_CLASS))
@$(call add,VM_INITRDFEATURES,plymouth)
@$(call add,BASE_BOOTARGS,quiet loglevel=3 splash)
@$(call add,BASE_BOOTARGS,quiet loglevel=3 splash)
endif
endif
...
...
features.in/plymouth/rootfs/image-scripts.d/10-plymouth
View file @
923a02f0
...
@@ -6,5 +6,10 @@ if [ -f "$CONFIG" ]; then
...
@@ -6,5 +6,10 @@ if [ -f "$CONFIG" ]; then
grep
-q
'^Theme='
"
$CONFIG
"
||
sed
-i
's/#\([T\[]\)/\1/'
"
$CONFIG
"
grep
-q
'^Theme='
"
$CONFIG
"
||
sed
-i
's/#\([T\[]\)/\1/'
"
$CONFIG
"
fi
fi
CONFIG
=
"
$destdir
/etc/initrd.mk"
if
[
-f
"
$CONFIG
"
]
;
then
grep
-q
plymouth
"
$CONFIG
"
||
echo
'FEATURES += plymouth'
>>
"
$CONFIG
"
fi
cp
-a
/usr/share/plymouth/default-install-duration
\
cp
-a
/usr/share/plymouth/default-install-duration
\
/var/lib/plymouth/boot-duration
||
:
/var/lib/plymouth/boot-duration
||
:
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