Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
alpine-conf
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
17
Issues
17
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
alpine-conf
Commits
82ae0882
Commit
82ae0882
authored
Oct 27, 2014
by
Kaarle Ritvanen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update-kernel: vanilla kernel has no suffix in version
parent
2d0489a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
update-kernel.in
update-kernel.in
+7
-1
No files found.
update-kernel.in
View file @
82ae0882
...
...
@@ -58,6 +58,12 @@ apk add -qU -t $VIRTUAL mkinitfs squashfs-tools
.
/etc/mkinitfs/mkinitfs.conf
FLAVOR
=
$(
uname
-r
|
cut
-d
-
-f
3-
)
KVER_FLAVOR
=
-
$FLAVOR
if
[
-z
"
$FLAVOR
"
]
;
then
FLAVOR
=
vanilla
KVER_FLAVOR
=
fi
TMPDIR
=
$(
mktemp
-dt
$SCRIPT
.XXXXXX
)
ROOT
=
$TMPDIR
/root
...
...
@@ -98,7 +104,7 @@ cp -a "$ROOT/lib/firmware" "$MODLOOP/modules"
mksquashfs
"
$MODLOOP
"
"
$STAGING
/
$MODIMG
"
-comp
xz
mkinitfs
-q
-F
"
$features
squashfs"
-b
"
$ROOT
"
-o
"
$STAGING
/
$FLAVOR
.gz"
$KVER
cp
"
$ROOT
/boot/vmlinuz
-
$
FLAVOR
"
"
$STAGING
/
$FLAVOR
"
cp
"
$ROOT
/boot/vmlinuz
$KVER_
FLAVOR
"
"
$STAGING
/
$FLAVOR
"
if
[
"
$MNTDIR
"
]
;
then
...
...
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