1
0
mirror of https://github.com/dguglielmi/sunny-overlay.git synced 2025-12-06 09:32:37 +01:00

sys-kernel/dracut-openssh: add 0.5

This commit is contained in:
2025-05-22 00:03:21 +02:00
parent 75280d7e46
commit 7cb8cdfca0
2 changed files with 35 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST dracut-openssh-0.3.tar.gz 13944 BLAKE2B 4116b892b2ed7988453d35cec2f2f3f73c56c24876d447d8f852fed1c820139a6ab9dab5a713e6e4d6664bc3f64a66422ce7ee453d5a294ba9e5ba30b20916eb SHA512 30b8dac3829574ecebc18f27ada22a5d9adbb5e61780d8aa9cd6dfbd55c06112174b482445dbe0b7c5d187a26963a6c31e4310f287d96220ff207918be3ba3c8
DIST dracut-openssh-0.4.tar.gz 14109 BLAKE2B 5bcb83e7b8e6fe7461ad56963a1fb837b420efee8f7ceeab3bc331ceb87f4a4f6125c18c533246f2d999b4ddba9ea09e60342a45a60909155f01eb581f535f10 SHA512 fdd445772f3bb5a0b00950571ba280d2b863aa8db8c5f76cc86309df68d2bac9c27026c5176b38a7233b9e61ac1f7d868e7c335f35c95a95dcd36ec29ca1f7b9
DIST dracut-openssh-0.5.tar.gz 14120 BLAKE2B 184fb7894e1f731a1dbbf8098755b941992bf154a1b5abc9c3c6e72a2e3c06ffcbcf40eb7a847f9e6db9bdd2208ed9d3793f4863e8924ab4ed6e3f259b5e99ae SHA512 6ebca89576510e4cd298933e01ab89439a4b32c31a8f0c2b6c346ea695ebbba2f0237907f43d3fc4db48ff47a74edb873c5abff4c6b6cc2a53914c5bc830816d

View File

@@ -0,0 +1,34 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Dracut OpenSSH module"
HOMEPAGE="https://github.com/dguglielmi/dracut-openssh"
SRC_URI="https://github.com/dguglielmi/dracut-openssh/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="systemd systemd-networkd"
DEPEND="
net-misc/openssh
sys-kernel/dracut
"
RDEPEND="
${DEPEND}
!systemd-networkd? ( net-misc/dhcp )
systemd? ( sys-apps/systemd )
"
src_install() {
emake PREFIX="${D}" install
if use systemd-networkd; then
sed -i \
's@^#network_provider=.*@network_provider="systemd-networkd"@1' \
"${D}"/etc/dracut.conf.d/dracut-openssh.conf || die
fi
}