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
18
Issues
18
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
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
e8290993
Commit
e8290993
authored
Oct 24, 2014
by
Kaarle Ritvanen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update-kernel: use quiet mode when available
parent
602ff4dd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
update-kernel.in
update-kernel.in
+6
-6
No files found.
update-kernel.in
View file @
e8290993
...
...
@@ -40,14 +40,14 @@ clean_up() {
set
+e
ignore_sigs
apk del
$VIRTUAL
apk del
-q
$VIRTUAL
rm
-fr
$TMPDIR
}
trap
clean_up EXIT
$SIGNALS
apk add
-
U
--virtual
$VIRTUAL
mkinitfs squashfs-tools
apk add
-
qU
-t
$VIRTUAL
mkinitfs squashfs-tools
.
/etc/mkinitfs/mkinitfs.conf
...
...
@@ -56,9 +56,9 @@ FLAVOR=$(uname -r | cut -d - -f 3-)
TMPDIR
=
$(
mktemp
-dt
$SCRIPT
.XXXXXX
)
ROOT
=
$TMPDIR
/root
apk add
-
-arch
$ARCH
--root
$ROOT
--keys-dir
/etc/apk/keys
\
--repositories
/etc/apk/repositories
--no-script
s
\
--initdb
-U
alpine-base dahdi-linux linux-
$FLAVOR
linux-firmware
apk add
-
qU
-p
$ROOT
--initdb
--no-scripts
--arch
$ARCH
\
--keys-dir
/etc/apk/keys
--repositories-file
/etc/apk/repositorie
s
\
alpine-base dahdi-linux linux-
$FLAVOR
linux-firmware
KVER
=
$(
ls
$ROOT
/lib/modules
)
depmod
-b
$ROOT
$KVER
...
...
@@ -73,7 +73,7 @@ cp -a $ROOT/lib/modules $MODLOOP
cp
-a
$ROOT
/lib/firmware
$MODLOOP
/modules
mksquashfs
$MODLOOP
$STAGING
/
$MODIMG
-comp
xz
mkinitfs
-F
"
$features
squashfs"
-b
$ROOT
-o
$STAGING
/
$FLAVOR
.gz
$KVER
mkinitfs
-
q
-
F
"
$features
squashfs"
-b
$ROOT
-o
$STAGING
/
$FLAVOR
.gz
$KVER
cp
$ROOT
/boot/vmlinuz-
$FLAVOR
$STAGING
/
$FLAVOR
...
...
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