diff options
author | Mike Gilbert <floppym@gentoo.org> | 2017-07-03 20:35:59 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2017-07-03 20:36:17 -0400 |
commit | 07d29c7357f4f569260019158959bef27cb97a63 (patch) | |
tree | b67a3e35afc53a7993702366779ae8f2669f260b /sys-kernel/dracut | |
parent | dev-db/phpmyadmin: Add 4.7.2 release - fixes bug 620496. (diff) | |
download | gentoo-07d29c7357f4f569260019158959bef27cb97a63.tar.gz gentoo-07d29c7357f4f569260019158959bef27cb97a63.tar.bz2 gentoo-07d29c7357f4f569260019158959bef27cb97a63.zip |
sys-kernel/dracut: override systemdutildir
When sys-fs/udev is installed, dracut's built-in logic fails.
Package-Manager: Portage-2.3.6_p9, Repoman-2.3.2_p77
Diffstat (limited to 'sys-kernel/dracut')
-rw-r--r-- | sys-kernel/dracut/dracut-045-r1.ebuild (renamed from sys-kernel/dracut/dracut-045.ebuild) | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys-kernel/dracut/dracut-045.ebuild b/sys-kernel/dracut/dracut-045-r1.ebuild index f627068adf69..3c4fcadb254d 100644 --- a/sys-kernel/dracut/dracut-045.ebuild +++ b/sys-kernel/dracut/dracut-045-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://kernel/linux/utils/boot/${PN}/${P}.tar.xz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="debug selinux" +IUSE="debug selinux systemd" RESTRICT="test" @@ -36,6 +36,7 @@ RDEPEND="${CDEPEND} sys-libs/libsepol sec-policy/selinux-dracut ) + systemd? ( sys-apps/systemd ) !net-analyzer/arping " DEPEND="${CDEPEND} @@ -80,6 +81,9 @@ src_install() { einfo "Setting libdirs to \"${libdirs}\" ..." echo "libdirs=\"${libdirs}\"" > "${T}/gentoo.conf" + + use systemd || echo 'systemdutildir="/lib/systemd"' >> "${T}/gentoo.conf" + insinto "${dracutlibdir}/dracut.conf.d" doins "${T}/gentoo.conf" |