From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] linux-firmware: move all mediatek WLAN/BT drivers to -network subpkg
Date: Wed, 19 Apr 2023 00:31:47 +0200 [thread overview]
Message-ID: <20230418223147.3Ga9mnWQyf3DvTUCi87mLNwhfxHIZOUvGYTqZnl08dI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43516@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 830 bytes --]
There is an updated 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
this shouldn't break anything because `linux-firmware` depends on `linux-firmware-network` already
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: 2166 bytes --]
From e66ac7fbd7910de0e9f352a5184c5a8ca360e475 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Tue, 18 Apr 2023 18:31:06 -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
this shouldn't break anything because `linux-firmware` depends on
`linux-firmware-network` already
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
next prev parent reply other threads:[~2023-04-18 22:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-18 21:43 [PR PATCH] " classabbyamp
2023-04-18 21:46 ` [PR PATCH] [Updated] " classabbyamp
2023-04-18 22:31 ` classabbyamp [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230418223147.3Ga9mnWQyf3DvTUCi87mLNwhfxHIZOUvGYTqZnl08dI@z \
--to=classabbyamp@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).