-
Notifications
You must be signed in to change notification settings - Fork 4
/
ignition-edge.spec
65 lines (46 loc) · 1.51 KB
/
ignition-edge.spec
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
%define dracutlibdir %{_prefix}/lib/dracut
%global forgeurl https://github.com/fedora-iot/ignition-edge
%global debug_package %{nil}
Version: 99
%forgemeta -v -i
Name: ignition-edge
Release: 1%{?dist}
Summary: Ignition glue for the edge
# Upstream license specification: Apache-2.0
License: ASL 2.0
URL: %{forgeurl}
Source0: %{forgesource}
BuildRequires: systemd
%global _description %{expand:
dracut module and firstboot systemd services
}
%description %{_description}
%prep
%forgesetup
%build
%install
%make_install
%files
%{dracutlibdir}/modules.d/35ignition-edge
%{dracutlibdir}/modules.d/10coreos-sysctl
%{dracutlibdir}/modules.d/99emergency-shell-setup
%{dracutlibdir}/modules.d/99journal-conf
%{_unitdir}/ignition-firstboot-complete.service
%{_unitdir}/coreos-ignition-write-issues.service
%{_unitdir}/coreos-check-ssh-keys.service
%{_libexecdir}/coreos-ignition-write-issues
%{_libexecdir}/coreos-check-ssh-keys
%post
%systemd_post ignition-firstboot-complete.service
%systemd_post coreos-ignition-write-issues.service
%systemd_post coreos-check-ssh-keys.service
%preun
%systemd_preun ignition-firstboot-complete.service
%systemd_preun coreos-ignition-write-issues.service
%systemd_preun coreos-check-ssh-keys.service
%postun
%systemd_postun_with_restart ignition-firstboot-complete.service
%systemd_postun_with_restart coreos-ignition-write-issues.service
%systemd_postun_with_restart coreos-check-ssh-keys.service
%changelog
# let's skip this for now