* [PR PATCH] linux-firmware: use included Makefile.
@ 2021-01-11 2:45 ericonr
2021-01-11 2:50 ` [PR PATCH] [Updated] " ericonr
2021-01-11 2:52 ` [PR PATCH] [Merged]: " ericonr
0 siblings, 2 replies; 3+ messages in thread
From: ericonr @ 2021-01-11 2:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 547 bytes --]
There is a new pull request by ericonr against master on the void-packages repository
https://github.com/ericonr/void-packages firm
https://github.com/void-linux/void-packages/pull/27817
linux-firmware: use included Makefile.
Manually copying the files is error prone, leading to a lot of missing
symlinks (defined in the WHENCE file) as well as unnecessary content,
such as source code and some helper scripts. This commit fixes that.
Fixes #27682
A patch file from https://github.com/void-linux/void-packages/pull/27817.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-firm-27817.patch --]
[-- Type: text/x-diff, Size: 1936 bytes --]
From 96ebaffa40656421897a9a62152cd5c42921c927 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Sun, 10 Jan 2021 23:43:07 -0300
Subject: [PATCH] linux-firmware: use included Makefile.
Manually copying the files is error prone, leading to a lot of missing
symlinks (defined in the WHENCE file) as well as unnecessary content,
such as source code and some helper scripts. This commit fixes that.
Fixes #27682
---
srcpkgs/linux-firmware/template | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/linux-firmware/template b/srcpkgs/linux-firmware/template
index a2cc5c30c9d..31035a9095d 100644
--- a/srcpkgs/linux-firmware/template
+++ b/srcpkgs/linux-firmware/template
@@ -1,7 +1,7 @@
# Template file for 'linux-firmware'
pkgname=linux-firmware
version=20201218
-revision=1
+revision=2
depends="${pkgname}-amd>=${version}_${revision} ${pkgname}-network>=${version}_${revision}"
short_desc="Binary firmware blobs for the Linux kernel"
maintainer="Orphaned <orphan@voidlinux.org>"
@@ -16,12 +16,14 @@ subpackages="linux-firmware-amd linux-firmware-broadcom
linux-firmware-intel linux-firmware-nvidia linux-firmware-network"
do_install() {
- vmkdir usr/lib/firmware
- vmkdir usr/share/licenses/${pkgname}
- vcopy "*" usr/lib/firmware
- rm -f ${DESTDIR}/usr/lib/firmware/{README*,configure,GPL*}
- mv ${DESTDIR}/usr/lib/firmware/{LICEN*,WHENCE} \
- ${DESTDIR}/usr/share/licenses/${pkgname}
+ make install FIRMWAREDIR=/usr/lib/firmware DESTDIR=$DESTDIR
+
+ for _l in LICEN* WHENCE
+ do
+ vlicense "$_l"
+ done
+
+ # XXX: should some firmwares, like carl9170, be pruned?
}
linux-firmware-amd_package() {
@@ -86,5 +88,7 @@ linux-firmware-network_package() {
vmove usr/lib/firmware/ueagle-atm
vmove usr/lib/firmware/ti-connectivity
vmove usr/lib/firmware/dpaa2
+
+ # XXX: should bluetooth firmware be moved into this subpkg?
}
}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Updated] linux-firmware: use included Makefile.
2021-01-11 2:45 [PR PATCH] linux-firmware: use included Makefile ericonr
@ 2021-01-11 2:50 ` ericonr
2021-01-11 2:52 ` [PR PATCH] [Merged]: " ericonr
1 sibling, 0 replies; 3+ messages in thread
From: ericonr @ 2021-01-11 2:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 552 bytes --]
There is an updated pull request by ericonr against master on the void-packages repository
https://github.com/ericonr/void-packages firm
https://github.com/void-linux/void-packages/pull/27817
linux-firmware: use included Makefile.
Manually copying the files is error prone, leading to a lot of missing
symlinks (defined in the WHENCE file) as well as unnecessary content,
such as source code and some helper scripts. This commit fixes that.
Fixes #27682
A patch file from https://github.com/void-linux/void-packages/pull/27817.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-firm-27817.patch --]
[-- Type: text/x-diff, Size: 1697 bytes --]
From 61c5800c666b4640d5f92b1d81daeb63ece9a94b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Sun, 10 Jan 2021 23:43:07 -0300
Subject: [PATCH] linux-firmware: use included Makefile.
Manually copying the files is error prone, leading to a lot of missing
symlinks (defined in the WHENCE file) as well as unnecessary content,
such as source code and some helper scripts. This commit fixes that.
Fixes #27682
---
srcpkgs/linux-firmware/template | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/linux-firmware/template b/srcpkgs/linux-firmware/template
index a2cc5c30c9d..bb1fbf54ecc 100644
--- a/srcpkgs/linux-firmware/template
+++ b/srcpkgs/linux-firmware/template
@@ -1,7 +1,7 @@
# Template file for 'linux-firmware'
pkgname=linux-firmware
version=20201218
-revision=1
+revision=2
depends="${pkgname}-amd>=${version}_${revision} ${pkgname}-network>=${version}_${revision}"
short_desc="Binary firmware blobs for the Linux kernel"
maintainer="Orphaned <orphan@voidlinux.org>"
@@ -16,12 +16,14 @@ subpackages="linux-firmware-amd linux-firmware-broadcom
linux-firmware-intel linux-firmware-nvidia linux-firmware-network"
do_install() {
- vmkdir usr/lib/firmware
- vmkdir usr/share/licenses/${pkgname}
- vcopy "*" usr/lib/firmware
- rm -f ${DESTDIR}/usr/lib/firmware/{README*,configure,GPL*}
- mv ${DESTDIR}/usr/lib/firmware/{LICEN*,WHENCE} \
- ${DESTDIR}/usr/share/licenses/${pkgname}
+ make install FIRMWAREDIR=/usr/lib/firmware DESTDIR=$DESTDIR
+
+ for _l in LICEN* WHENCE
+ do
+ vlicense "$_l"
+ done
+
+ # XXX: should some firmwares, like carl9170, be pruned?
}
linux-firmware-amd_package() {
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Merged]: linux-firmware: use included Makefile.
2021-01-11 2:45 [PR PATCH] linux-firmware: use included Makefile ericonr
2021-01-11 2:50 ` [PR PATCH] [Updated] " ericonr
@ 2021-01-11 2:52 ` ericonr
1 sibling, 0 replies; 3+ messages in thread
From: ericonr @ 2021-01-11 2:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 399 bytes --]
There's a merged pull request on the void-packages repository
linux-firmware: use included Makefile.
https://github.com/void-linux/void-packages/pull/27817
Description:
Manually copying the files is error prone, leading to a lot of missing
symlinks (defined in the WHENCE file) as well as unnecessary content,
such as source code and some helper scripts. This commit fixes that.
Fixes #27682
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-01-11 2:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-11 2:45 [PR PATCH] linux-firmware: use included Makefile ericonr
2021-01-11 2:50 ` [PR PATCH] [Updated] " ericonr
2021-01-11 2:52 ` [PR PATCH] [Merged]: " ericonr
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).