aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-07-23 22:59:33 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-07-24 00:56:48 +0200
commitfe4f505dab7c4c1420c54d493d638445d95dc742 (patch)
tree99c194376595e2b917f461b7813ebda54e90c7f7 /gkbuilds
parentbcache: Switch to UDEV usage (diff)
downloadgenkernel-fe4f505dab7c4c1420c54d493d638445d95dc742.tar.gz
genkernel-fe4f505dab7c4c1420c54d493d638445d95dc742.tar.bz2
genkernel-fe4f505dab7c4c1420c54d493d638445d95dc742.zip
multipath: Switch to UDEV usage
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'gkbuilds')
-rw-r--r--gkbuilds/lvm.gkbuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/gkbuilds/lvm.gkbuild b/gkbuilds/lvm.gkbuild
index 1346cb0f..30063819 100644
--- a/gkbuilds/lvm.gkbuild
+++ b/gkbuilds/lvm.gkbuild
@@ -63,11 +63,12 @@ src_install() {
ln -s dmsetup "${D}"/usr/sbin/dmstats \
|| die "Failed to create symlink '${D}/usr/sbin/dmstats' to '${D}/usr/sbin/dmsetup'!"
- # For backward compatibility
+ # For backward compatibility (packages like multipath-tools are
+ # expecting /sbin/dmsetup in udev rules).
mkdir "${D}"/sbin || die "Failed to create '${D}/sbin'!"
ln -s ../usr/sbin/dmsetup "${D}"/sbin/dmsetup \
- || die "Failed to create symlink '${D}/sbin/dmstats' to '${D}/usr/sbin/dmstats'!"
+ || die "Failed to create symlink '${D}/sbin/dmsetup' to '${D}/usr/sbin/dmsetup'!"
ln -s ../usr/sbin/dmstats "${D}"/sbin/dmstats \
|| die "Failed to create symlink '${D}/sbin/dmstats' to '${D}/usr/sbin/dmstats'!"