Package Base Details: linux-firmware-git

Git Clone URL: https://aur.archlinux.org/linux-firmware-git.git (read-only, click to copy)
Submitter: xduugu
Maintainer: MRWITEK
Last Packager: MRWITEK
Votes: 76
Popularity: 1.18
First Submitted: 2010-05-19 22:50 (UTC)
Last Updated: 2023-12-20 12:42 (UTC)

Pinned Comments

MRWITEK commented on 2023-12-20 12:42 (UTC)

Upstream doesn't sign most commits anymore, so GPG signature check is disabled. They still sign every tag. Packages in the official repos package tags. You can check signatures with the following commands:

$ git log --format=raw --show-signature main
$ git tag -v $(git tag)

gbin commented on 2022-03-02 17:58 (UTC) (edited on 2022-03-02 18:07 (UTC) by gbin)

edit: found my problem the key server it could be useful for other people.

The default port is an high port and your ISP might filter it out!

use :80 in the ubuntu one and it should work:

pal ➜  ~  gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 4CDE8575E547BF835FE15807A31B6BD72486CFD6
gpg: key A31B6BD72486CFD6: public key "Josh Boyer <jwboyer@fedoraproject.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1

MRWITEK commented on 2020-04-08 14:47 (UTC) (edited on 2022-12-15 12:15 (UTC) by MRWITEK)

https://wiki.archlinux.org/title/Arch_User_Repository#ERROR%3A_One_or_more_PGP_signatures_could_not_be_verified%21%3B_what_should_I_do%3F

https://wiki.archlinux.org/title/PKGBUILD#validpgpkeys

https://wiki.archlinux.org/title/Makepkg#Signature_checking

https://wiki.archlinux.org/title/Arch_User_Repository#What_is_the_difference_between_foo_and_foo-git_packages%3F

Latest Comments

1 2 3 4 5 Next › Last »

MRWITEK commented on 2023-12-20 12:42 (UTC)

Upstream doesn't sign most commits anymore, so GPG signature check is disabled. They still sign every tag. Packages in the official repos package tags. You can check signatures with the following commands:

$ git log --format=raw --show-signature main
$ git tag -v $(git tag)

Davius commented on 2023-12-04 09:52 (UTC) (edited on 2023-12-04 09:53 (UTC) by Davius)

seted as obsolete : missing dependancy : rdfind Need to find a way to avoid the use of --skippgpcheck

Beh_256914 commented on 2023-11-09 15:41 (UTC)

just a quick question is the latest gsp stuff downloadable if I use this like this stuff https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=f4a3c72e5c413a601d1e21f9606f1c94a610d05d

c0d3z3r0 commented on 2023-10-03 13:51 (UTC) (edited on 2023-10-03 14:04 (UTC) by c0d3z3r0)

Looks like the problem with signatures is that the main branch is not being signed (anymore - was it ever? I don't know). Only tags are signed

Oh, well... https://www.spinics.net/lists/kernel/msg4521808.html

Kitt3120 commented on 2023-09-05 17:27 (UTC)

Oh, that explains it. Thanks for the info. I disabled the check for now and went with the newest version. Of course, as you said, at my own risk. I am also not aware on how to handle SSH signatures in PKGBUILDs, sorry :/

MRWITEK commented on 2023-09-05 16:05 (UTC) (edited on 2023-09-09 17:48 (UTC) by MRWITEK)

For some reason, some commits are now signed with SSH signature instead of PGP signature. I don't know how to make makepkg work with that. The last commit signed with PGP is c801b3b807d249bc24ab826e2754191f5f58cd1b, so use that one, or skip signature check AT YOUR OWN RISK.

Kitt3120 commented on 2023-09-05 08:29 (UTC) (edited on 2023-09-05 08:30 (UTC) by Kitt3120)

I'm getting the following error on two of my machines. Is this a problem on my side? I tried importing the key of Josh Boyer as described here, it's installed on my system.

==> Validating source files with sha256sums...
    linux-firmware-git ... Skipped
==> Verifying source file signatures with gpg...
    linux-firmware-git git repo ... SIGNATURE NOT FOUND
==> ERROR: One or more PGP signatures could not be verified!

error: failed to download sources for 'linux-firmware-git-20230814.0e048b06-1': 

acidunit commented on 2023-06-29 23:46 (UTC) (edited on 2023-06-29 23:46 (UTC) by acidunit)

Okay, I found out how to use this on the newest commits.

First, go to prepare() and comment out these two lines:

patch -Np1 -i ../0001-Add-support-for-compressing-firmware-in-copy-firmware-modified.patch
patch -Np1 -i ../allow-inplace-rebuild.patch

Next, go to package_linux-firmware-git(), and find the line that says:

make DESTDIR="${pkgdir}" FIRMWAREDIR=/usr/lib/firmware installcompress

Change installcompress to either install-xz, or install-zst. I recommend zst for obvious reasons.

Lastly, if you choose install-zst, go down to package_linux-firmware-marvell-git(). Find the line that says:

rm "${pkgdir}"/usr/lib/firmware/mrvl/prestera/mvsw_prestera_fw_arm64-v4.1.img.xz

Change it to:

rm "${pkgdir}"/usr/lib/firmware/mrvl/prestera/mvsw_prestera_fw_arm64-v4.1.img.zst

There you go.

Niinu commented on 2023-06-29 18:29 (UTC) (edited on 2023-06-29 18:49 (UTC) by Niinu)

The copy-firmware.sh has been updated and the patches don't work anymore and without the patches the package_linux-firmware-git() make compression process breaks in someway that's beyond me:

==> Starting prepare()...
patching file Makefile
Hunk #1 FAILED at 11.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
patching file copy-firmware.sh
Hunk #1 FAILED at 6.
Hunk #2 succeeded at 44 with fuzz 1 (offset 25 lines).
Hunk #3 FAILED at 36.
2 out of 3 hunks FAILED -- saving rejects to file copy-firmware.sh.rej
==> ERROR: A failure occurred in prepare().