Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
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
etersoft
eepm
Commits
01f54b63
Commit
01f54b63
authored
Nov 08, 2024
by
Boris Yumankulov
Committed by
Vitaly Lipatov
Nov 09, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play waydroid: migrate to epm update-kernel functions
parent
70c82245
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
waydroid.sh
prescription.d/waydroid.sh
+3
-9
No files found.
prescription.d/waydroid.sh
View file @
01f54b63
...
...
@@ -53,6 +53,7 @@ case "${3}" in
waydroid_install
;;
'--integrate'
)
assure_root
waydroid_integrate
;;
'--software-render'
)
...
...
@@ -65,19 +66,12 @@ esac
waydroid_install
()
{
if
!
grep
"psi=1"
/etc/sysconfig/grub2 &>/dev/null
;
then
cp
/etc/sysconfig/grub2 /etc/sysconfig/grub2.epmbak
sed
-i
"s|^
\(
GRUB_CMDLINE_LINUX_DEFAULT='.*
\)
'
\$
|
\1
psi=1'|"
/etc/sysconfig/grub2
fi
epm update-kernel
--add-kernel-options
psi1
epm update
||
fatal
epm update-kernel
||
fatal
if
check_run_kernel
;
then
echo
"The most newer installed
${
USED_KFLAVOUR
}
kernel is running."
else
echo
"The system has a newer
${
USED_KFLAVOUR
}
kernel."
echo
"Reboot with a fresh
${
USED_KFLAVOUR
}
kernel and restart: epm play waydroid"
if
!
epm update-kernel
--check-run-kernel
;
then
fatal
fi
...
...
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