summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-05-08 01:24:33 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-05-08 01:29:50 +0200
commit292ead1baff4a4bd6e6ab758802df0bfd91dd68e (patch)
tree5280e4ad5e74a9e560ddf8103218da9f2a5cc97f
parent98f89fb6211ed6bb4f866edc6b6977aaaee22f8a (diff)
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 <GNUtoo@cyberdimension.org>
-rw-r--r--pcr/libreboot-utils/PKGBUILD8
1 files changed, 7 insertions, 1 deletions
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 <dev@lists.parabola.nu>
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