-
Notifications
You must be signed in to change notification settings - Fork 5
/
dracut-nmbl.spec.in
44 lines (34 loc) · 1.08 KB
/
dracut-nmbl.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
%global debug_package %{nil}
%global kver %{expand:%(rpm -q kernel-core --qf '%%{VERSION}' | tail -n 1)}
%global krel %{expand:%(rpm -q kernel-core --qf '%%{RELEASE}' | tail -n 1)}
Summary: nmbl proof of concept as a dracut module
Name: dracut-nmbl
BuildArch: noarch
Version: @@VERSION@@
Release: @@RELEASE@@%{?dist}
Group: System Environment/Base
License: GPLv3
URL: https://github.com/rhboot/nmbl-poc
BuildRequires: git
BuildRequires: make
Requires: kexec-tools
Source0: dracut-nmbl-%{version}.tar.xz
%description
nmbl-poc is a proof of concept for a bootloader for UEFI machines based on
the linux kernel and grub-emu, using either switchroot or kexec.
%prep
%autosetup -S git_am
%build
make all
%install
%make_install
%files
%defattr(-,root,root,-)
%{_sysconfdir}/dracut.conf.d/grub2-emu.conf
%dir /usr/lib/dracut/modules.d/99grub2-emu-kexec
/usr/lib/dracut/modules.d/99grub2-emu-kexec/*
%dir /usr/lib/dracut/modules.d/99grub2-emu-switchroot
/usr/lib/dracut/modules.d/99grub2-emu-switchroot/*
%changelog
* Fri Mar 17 2023 Peter Jones <pjones@redhat.com> - 0-0
- Yeet a spec file into the world