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
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
645
Issues
645
List
Boards
Labels
Service Desk
Milestones
Merge Requests
166
Merge Requests
166
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
a4bd808e
Commit
a4bd808e
authored
Jun 19, 2018
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main/alpine-conf: update-kernel firmware
backport patch that includes needed files for firmware needed for rpi
parent
31739cc4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
2 deletions
+41
-2
main/alpine-conf/0001-update-kernel-add-additional-firmware-files.patch
...nf/0001-update-kernel-add-additional-firmware-files.patch
+37
-0
main/alpine-conf/APKBUILD
main/alpine-conf/APKBUILD
+4
-2
No files found.
main/alpine-conf/0001-update-kernel-add-additional-firmware-files.patch
0 → 100644
View file @
a4bd808e
From 96b29f5dd64111b9d063a327e24247ced02c1427 Mon Sep 17 00:00:00 2001
From: Carlo Landmeter <clandmeter@alpinelinux.org>
Date: Tue, 19 Jun 2018 15:32:51 +0000
Subject: [PATCH] update-kernel: add additional firmware files
---
update-kernel.in | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/update-kernel.in b/update-kernel.in
index 0d20371..aaf1cff 100644
--- a/update-kernel.in
+++ b/update-kernel.in
@@ -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" \
--
2.17.1
main/alpine-conf/APKBUILD
View file @
a4bd808e
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
alpine-conf
pkgver
=
3.8.0_rc2
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"Alpine configuration management scripts"
url
=
http://git.alpinelinux.org/cgit/
$pkgname
arch
=
"all"
license
=
"MIT"
depends
=
"openrc>=0.24.1-r6 busybox>=1.26.1-r3"
source
=
"http://dev.alpinelinux.org/archive/alpine-conf/alpine-conf-
$pkgver
.tar.xz
0001-update-kernel-add-additional-firmware-files.patch
"
builddir
=
"
$srcdir
"
/
$pkgname
-
$pkgver
...
...
@@ -24,4 +25,5 @@ package() {
done
}
sha512sums
=
"3b5224c2484b47c858fcea9fca0d2a1a73db7151ae8ed02480ae05dea35eb6f5ed4c2ffd887686cd43ac701948319c74e2cb8ccb1ada4f64ab9c8c350a241208 alpine-conf-3.8.0_rc2.tar.xz"
sha512sums
=
"3b5224c2484b47c858fcea9fca0d2a1a73db7151ae8ed02480ae05dea35eb6f5ed4c2ffd887686cd43ac701948319c74e2cb8ccb1ada4f64ab9c8c350a241208 alpine-conf-3.8.0_rc2.tar.xz
faffb4d2e6da15f631211e36fdd8cdaedae91e8c00e09055f17130fef7ce073fadfa78deebedb1877768c1707fc1e0a2741496dea5b0831b2f2b12cef23555de 0001-update-kernel-add-additional-firmware-files.patch"
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