Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] linux-firmware: move all mediatek WLAN/BT drivers to -network subpkg
@ 2023-04-18 21:43 classabbyamp
  2023-04-18 21:46 ` [PR PATCH] [Updated] " classabbyamp
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: classabbyamp @ 2023-04-18 21:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 715 bytes --]

There is a new pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages mt-move
https://github.com/void-linux/void-packages/pull/43516

linux-firmware: move all mediatek WLAN/BT drivers to -network subpkg
based on https://github.com/chimera-linux/cports/blob/339c0eef5be61397707170c6789e09fa4c3b5810/main/firmware-linux/template.py#L83-L86

fixes #43515

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly** (the intended packages have the intended files)


A patch file from https://github.com/void-linux/void-packages/pull/43516.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mt-move-43516.patch --]
[-- Type: text/x-diff, Size: 2066 bytes --]

From ca645518a66d6504a66766ac8c18f1d72097aef4 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Tue, 18 Apr 2023 17:37:44 -0400
Subject: [PATCH] linux-firmware: move all mediatek WLAN/BT drivers to -network
 subpkg

based on https://github.com/chimera-linux/cports/blob/339c0eef5be61397707170c6789e09fa4c3b5810/main/firmware-linux/template.py#L83-L86

fixes #43515
---
 srcpkgs/linux-firmware/template | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/linux-firmware/template b/srcpkgs/linux-firmware/template
index 5785aeb93ca0..738d2a28554a 100644
--- a/srcpkgs/linux-firmware/template
+++ b/srcpkgs/linux-firmware/template
@@ -1,13 +1,13 @@
 # Template file for 'linux-firmware'
 pkgname=linux-firmware
 version=20230210
-revision=1
-depends="${pkgname}-amd>=${version}_${revision} ${pkgname}-network>=${version}_${revision}"
+revision=2
+depends="linux-firmware-amd>=${version}_${revision} linux-firmware-network>=${version}_${revision}"
 short_desc="Binary firmware blobs for the Linux kernel"
 maintainer="Érico Nogueira <ericonr@disroot.org>"
-license="See /usr/share/licenses/${pkgname}"
+license="See /usr/share/licenses/linux-firmware"
 homepage="https://www.kernel.org/"
-distfiles="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/${pkgname}-${version}.tar.gz"
+distfiles="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${version}.tar.gz"
 checksum=ccc2ff9d475f368fa915e509fddb2c3815189f9461a008db1af0f096a2bfdbd3
 python_version=3
 nostrip=yes
@@ -93,7 +93,9 @@ linux-firmware-network_package() {
 		vmove usr/lib/firmware/kaweth
 		vmove usr/lib/firmware/libertas
 		vmove usr/lib/firmware/mrvl
-		vmove "usr/lib/firmware/mt*.bin"
+		vmove "usr/lib/firmware/mt7*.bin"
+		# don't move mediatek SoC firmware
+		( shopt -s extglob; vmove "usr/lib/firmware/mediatek/!(mt7986*|mt81*|sof*)" )
 		vmove usr/lib/firmware/ueagle-atm
 		vmove usr/lib/firmware/ti-connectivity
 		vmove usr/lib/firmware/dpaa2

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-04-29 22:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-18 21:43 [PR PATCH] linux-firmware: move all mediatek WLAN/BT drivers to -network subpkg classabbyamp
2023-04-18 21:46 ` [PR PATCH] [Updated] " classabbyamp
2023-04-18 22:31 ` classabbyamp
2023-04-25 15:06 ` atk
2023-04-29 22:37 ` [PR PATCH] [Updated] " classabbyamp
2023-04-29 22:39 ` classabbyamp
2023-04-29 22:43 ` [PR PATCH] [Merged]: " classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).