Skip to content

Commit 5f74372

Browse files
committed
contrib: Add Fedora COPR
Signed-off-by: Sean Rhodes <[email protected]>
1 parent bc59282 commit 5f74372

File tree

2 files changed

+29
-5
lines changed

2 files changed

+29
-5
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,18 @@ sudo pamac install coreboot-configurator
4141
sudo pamac remove coreboot-configurator
4242
```
4343

44+
## Fedora
45+
##### Install
46+
```
47+
sudo dnf copr enable starlabs/coreboot-configurator
48+
sudo dnf install coreboot-configurator nvramtool
49+
50+
```
51+
##### Uninstall
52+
```
53+
sudo dnf remove coreboot-configurator nvramtool
54+
```
55+
4456
## Other Distributions
4557
##### Dependencies
4658
```

contrib/rpm/nvramtool.spec

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Summary: coreboot nvramtool
1+
Summary: nvramtool
22
Name: nvramtool
3-
Version: 4.16
4-
Release: 1%{?dist}
3+
Version: 4.17
4+
Release: 2.1%{?dist}
55
License: GPLv2
66
URL: https://review.coreboot.org/coreboot
77
Source: https://coreboot.org/releases/coreboot-%{version}.tar.xz
@@ -10,18 +10,30 @@ BuildRequires: make
1010
BuildRequires: gcc
1111

1212
%description
13-
nvramtool manipulates nvram from userspace.
13+
nvramtool is a utility for reading/writing coreboot parameters and
14+
displaying information from the coreboot table. It is intended for x86-based
15+
systems (both 32-bit and 64-bit) that use coreboot.
16+
17+
The coreboot table resides in low physical memory, and may be accessed
18+
through the /dev/mem interface. It is created at boot time by coreboot, and
19+
contains various system information such as the type of mainboard in use. It
20+
specifies locations in the CMOS (nonvolatile RAM) where the coreboot
21+
parameters are stored.
22+
23+
For information about coreboot, see https://www.coreboot.org/.
1424

1525
%prep
1626
tar -C %{_builddir} -xf %{_sourcedir}/coreboot-%{version}.tar.xz
1727
mv %{_builddir}/coreboot-%{version} %{_builddir}/nvramtool-%{version}
1828
cd %{_builddir}/nvramtool-%{version}/util/nvramtool
1929
DESTDIR=%{buildroot} PREFIX=%{_prefix} make
2030
install -Dm755 nvramtool %{buildroot}/%{_sbindir}/nvramtool
31+
install -m644 cli/nvramtool.8 %{buildroot}/usr/share/man/man8
32+
2133

2234
%files
2335
%{_sbindir}/%{name}
2436

2537
%changelog
26-
* Sat May 14 2022 Adam Thiede <[email protected]> 4.16
38+
* Tue Jul 5 2022 Sean Rhodes <[email protected]> 4.17
2739
- initial spec file

0 commit comments

Comments
 (0)