You are not logged in.

#1 2023-10-02 20:59:39

fch07
Member
Registered: 2021-09-22
Posts: 71

[SOLVED]How to install flashrom 1.3?

I need to install flashrom in order to update my BIOS, but the version on on arch repo is 1.2-4, and it needs to be 1.3.
https://github.com/flashrom/flashrom/re … tag/v1.3.0
Now to install a tar.gz file or is it needed to create a PKGBUILD? On aur I found only that version, which is old for my use: https://aur.archlinux.org/packages/flashrom-git

Last edited by fch07 (2023-10-02 21:44:54)

Offline

#2 2023-10-02 21:42:22

loqs
Member
Registered: 2014-03-06
Posts: 18,880

Re: [SOLVED]How to install flashrom 1.3?

See Arch_build_system#Using_the_pkgctl_tool and the links from that wiki page.  Note I added the new versions signing key without checking it was signed by the current signing key.

pkgctl repo clone --protocol=https flashrom # get the PKGBUILD
cd flashrom/
curl -o PKGBUILD.diff http://ix.io/4I0D # get my changes to update it to 1.3
git apply -v PKGBUILD.diff # apply changes
gpg --import keys/pgp/*.asc # import signing keys
makepkg -rsi # build and install package

Last edited by loqs (2023-10-02 21:42:43)

Offline

#3 2023-10-02 21:44:19

fch07
Member
Registered: 2021-09-22
Posts: 71

Re: [SOLVED]How to install flashrom 1.3?

loqs wrote:

See Arch_build_system#Using_the_pkgctl_tool and the links from that wiki page.  Note I added the new versions signing key without checking it was signed by the current signing key.

pkgctl repo clone --protocol=https flashrom # get the PKGBUILD
cd flashrom/
curl -o PKGBUILD.diff http://ix.io/4I0D # get my changes to update it to 1.3
git apply -v PKGBUILD.diff # apply changes
gpg --import keys/pgp/*.asc # import signing keys
makepkg -rsi # build and install package

thanks

Offline

#4 2023-10-02 22:10:19

loqs
Member
Registered: 2014-03-06
Posts: 18,880

Re: [SOLVED]How to install flashrom 1.3?

http://ix.io/4I0K contains an updated diff which adds back /usr/lib/udev/rules.d/flashrom.rules which should not have been removed.

Offline

Board footer

Powered by FluxBB