forked from mk-fg/dracut-crypt-sshd
-
Notifications
You must be signed in to change notification settings - Fork 3
/
dracut-earlyssh.spec
43 lines (33 loc) · 942 Bytes
/
dracut-earlyssh.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
Summary: A dracut module that adds ssh to the boot image (also known as earlyssh)
Name: dracut-earlyssh
Version: 1.0.2
Release: 4
License: GPLv2+
Source: dracut-earlyssh-%{version}.tgz
Packager: Michael Curtis <[email protected]>
BuildRequires: dracut
BuildRequires: libblkid-devel
BuildRequires: gcc
Requires: dropbear
Requires: dracut
Requires: dracut-network
Requires: openssh
%description
A dracut module that includes dropbear in the boot image, along with some
helper utilities for unlocking encrypted drives over a remote connection.
Please read the README and configuration parameters in
/etc/dracut.conf.d/earlyssh.conf before use.
%prep
%setup
./configure
%build
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
cp README.md README
%files
%defattr(-,root,root,0755)
%doc README COPYING
%config(noreplace) %{_sysconfdir}/dracut.conf.d/earlyssh.conf
%{_libexecdir}/dracut-earlyssh
%{_prefix}/*/dracut/modules.d/*