diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2020-07-23 22:59:33 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-07-24 00:56:48 +0200 |
commit | fe4f505dab7c4c1420c54d493d638445d95dc742 (patch) | |
tree | 99c194376595e2b917f461b7813ebda54e90c7f7 /gkbuilds | |
parent | bcache: Switch to UDEV usage (diff) | |
download | genkernel-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.gkbuild | 5 |
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'!" |