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
96b29f5d
Commit
96b29f5d
authored
Jun 19, 2018
by
Carlo Landmeter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update-kernel: add additional firmware files
parent
d8a0bb45
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
update-kernel.in
update-kernel.in
+12
-0
No files found.
update-kernel.in
View file @
96b29f5d
...
...
@@ -251,8 +251,20 @@ mkdir -p $MODLOOP/modules/firmware
find
$ROOT
/lib/modules
-type
f
-name
"*.ko"
| xargs modinfo
-F
firmware |
sort
-u
|
while
read
FW
;
do
if
[
-e
"
$ROOT
/lib/firmware/
$FW
"
]
;
then
install
-pD
$ROOT
/lib/firmware/
$FW
$MODLOOP
/modules/firmware/
$FW
# include nvram files if firmware is needed.
[
-e
"
$ROOT
/lib/firmware/
${
FW
%.*
}
.txt"
]
&&
install
-pD
\
$ROOT
/lib/firmware/
${
FW
%.*
}
.txt
$MODLOOP
/modules/firmware/
${
FW
%.*
}
.txt
fi
done
# include bluetooth firmware in modloop
if
[
-d
"
$MODLOOP
/modules/firmware/brcm"
]
;
then
for
_btfw
in
"
$ROOT
"
/lib/firmware/brcm/
*
.hcd
;
do
install
-pD
"
$_btfw
"
\
"
$MODLOOP
"
/modules/firmware/brcm/
"
${
_btfw
##*/
}
"
done
fi
mksquashfs
$MODLOOP
"
$STAGING
/
$MODIMG
"
-comp
xz
-exit-on-error
mkinitfs
$MKINITFS_ARGS
-q
-b
$ROOT
-F
"
$features
base squashfs"
\
...
...
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