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
d0810260
Commit
d0810260
authored
Jul 27, 2024
by
Boris Yumankulov
Committed by
Vitaly Lipatov
Nov 09, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm update-kernel: add --used-kflavour argument for print kernel flavour
parent
364227e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
epm-kernel_update
bin/epm-kernel_update
+13
-0
No files found.
bin/epm-kernel_update
View file @
d0810260
...
...
@@ -61,6 +61,11 @@ case $1 in
shift
kernel_options_remove
"
$@
"
return
;;
'--used-kflavour'
)
used_kflavour
info
'You used $USED_KFLAVOUR kernel kflavour'
return
;;
esac
warmup_bases
...
...
@@ -130,3 +135,11 @@ kernel_options_remove() {
fi
done
}
used_kflavour
()
{
if
[
$(
uname
-r
|
grep
"rt"
)
]
;
then
USED_KFLAVOUR
=
$(
uname
-r
|
awk
-F
'-'
'{print $2}'
)
else
USED_KFLAVOUR
=
$(
uname
-r
|
awk
-F
'-'
'{print $2 "-" $3}'
)
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