Name: dracut-sshd # The git_dir_version macro is quite a mis-match for our use-case # since using a 3-component version number requires updating # the 'lead' parameter, anyways # cf. https://pagure.io/rpkg-util/issue/21#comment-601077 #Version: 0.0 Version: 0.5.1 Release: 2%{?dist} Summary: Provide SSH access to initramfs early user space URL: https://github.com/gsauthof License: GPLv3+ VCS: git+https://github.com/gsauthof/dracut-sshd.git#dcc7b37424b77dee585dfa450d2ba98cce435452: Source: dracut-sshd-0.0.tar.gz BuildArch: noarch Requires: dracut-network %description This Dracut module integrates the OpenSSH sshd into your initramfs. It allows for remote unlocking of a fully encrypted root filesystem and remote access to the Dracut emergency shell (i.e. early userspace). %prep %setup -q -n dracut-sshd-0.0 %build # nothing to do here %install mkdir -p %{buildroot}/usr/lib/dracut/modules.d cp -r 46sshd %{buildroot}/usr/lib/dracut/modules.d/ %files /usr/lib/dracut/modules.d/46sshd/module-setup.sh /usr/lib/dracut/modules.d/46sshd/sshd.service %config(noreplace) /usr/lib/dracut/modules.d/46sshd/sshd_config %doc README.md %doc example/20-wired.network %changelog * Sat Jan 26 2019 Georg Sauthoff - 0.4-1 - initial packaging