From 292ead1baff4a4bd6e6ab758802df0bfd91dd68e Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Sun, 8 May 2022 01:24:33 +0200 Subject: pcr: libreboot-utils: Add ifdtool Recent (post 2006) Intel computers typically have a flash chip that contains several partitions: - An "Intel flash descriptor" partition that contains a partition table, permission settings for read/write access to these partitions. various configuration settings like the flash chip speed, and so on. - A partition for the BIOS that contains the BIOS, Coreboot, EFI, Libreboot, UEFI, etc. - A partition for the Management Engine firmware. - A partition for some Gigabit Ethernet settings (the MAC address, LEDs settings, etc). - A partition named "Platform data" that probably contains some serial numbers or other data on some computers. The ifdtool utility can display these partitions, various settings present in Intel flash descriptor, extract or replace these partitions content, etc. Signed-off-by: Denis 'GNUtoo' Carikli --- pcr/libreboot-utils/PKGBUILD | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'pcr') diff --git a/pcr/libreboot-utils/PKGBUILD b/pcr/libreboot-utils/PKGBUILD index 091263fa6..cc343c67d 100644 --- a/pcr/libreboot-utils/PKGBUILD +++ b/pcr/libreboot-utils/PKGBUILD @@ -4,7 +4,7 @@ # Maintainers: Parabola hackers pkgname=libreboot-utils -pkgrel=11 +pkgrel=12 _upstream_ver=20211122 pkgver=4.15.libreboot${_upstream_ver} pkgdesc="Misc. Coreboot/Libreboot utils (bucts, cbfstool, ECtool, nvramtool, superiotool)" @@ -85,6 +85,9 @@ build() { # Build cbmem. make -C cbmem + # Build ifdtool + make -C ifdtool + # Build me_cleaner. cd me_cleaner python3 setup.py build @@ -145,6 +148,9 @@ package() { # Install cbmem. make -C cbmem install DESTDIR="${pkgdir}" PREFIX=/usr + # Install ifdtool. + make -C ifdtool install DESTDIR="${pkgdir}" PREFIX=/usr + # Install me_cleaner. cd me_cleaner python3 setup.py install --root="$pkgdir/" --optimize=1 -- cgit v1.2.3