summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2020-01-07 12:49:14 -0800
committerZac Medico <zmedico@gentoo.org>2020-01-07 12:51:15 -0800
commitdde250e4bd48bc8dce2eb004fbfe2419fd7e297c (patch)
tree88975406fa88e0170e6c15ace6bc42f4d6e29630 /sys-apps/nvme-cli
parentdev-python/pymysql: Drop old (diff)
downloadgentoo-dde250e4bd48bc8dce2eb004fbfe2419fd7e297c.tar.gz
gentoo-dde250e4bd48bc8dce2eb004fbfe2419fd7e297c.tar.bz2
gentoo-dde250e4bd48bc8dce2eb004fbfe2419fd7e297c.zip
sys-apps/nvme-cli: Fix dracut config
Closes: https://bugs.gentoo.org/704934 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'sys-apps/nvme-cli')
-rw-r--r--sys-apps/nvme-cli/nvme-cli-1.9-r3.ebuild (renamed from sys-apps/nvme-cli/nvme-cli-1.9-r2.ebuild)2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys-apps/nvme-cli/nvme-cli-1.9-r2.ebuild b/sys-apps/nvme-cli/nvme-cli-1.9-r3.ebuild
index 8eee2953ac34..9d9a923835b3 100644
--- a/sys-apps/nvme-cli/nvme-cli-1.9-r2.ebuild
+++ b/sys-apps/nvme-cli/nvme-cli-1.9-r3.ebuild
@@ -23,6 +23,8 @@ src_prepare() {
sed -e 's|^LIBUUID =|LIBUUID ?=|' \
-e 's|^install-hostparams:$|\0 install-etc|' \
-i Makefile || die
+ sed -e "s|/usr/lib/udev|$(get_udevdir)|" \
+ -i nvmf-autoconnect/dracut-conf/70-nvmf-autoconnect.conf || die
}
src_configure() {