aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2024-04-29 10:35:34 -0500
committerBen Kohler <bkohler@gentoo.org>2024-04-29 10:35:34 -0500
commit12cdca31704000822c50b996facc955d5e3ae5a9 (patch)
tree9f2fbfc1400e3cf85a140777b917c99cb70bfa64
parentgkbuilds/busybox: rework toolchain handling (diff)
downloadgenkernel-12cdca31704000822c50b996facc955d5e3ae5a9.tar.gz
genkernel-12cdca31704000822c50b996facc955d5e3ae5a9.tar.bz2
genkernel-12cdca31704000822c50b996facc955d5e3ae5a9.zip
gkbuilds/lvm: add 2.03 support
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
-rw-r--r--gkbuilds/lvm.gkbuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/gkbuilds/lvm.gkbuild b/gkbuilds/lvm.gkbuild
index 30063819..27a75214 100644
--- a/gkbuilds/lvm.gkbuild
+++ b/gkbuilds/lvm.gkbuild
@@ -54,6 +54,8 @@ src_install() {
"${STRIP}" --strip-all "${D}"/usr/sbin/lvm \
|| die "Failed to strip '${D}/usr/sbin/lvm'!"
+ # dmsetup.static has moved to libdm/dm-tools/ in 2.03, allow both locations for now
+ [ -f libdm/dm-tools/dmsetup.static ] && mv libdm/dm-tools/dmsetup.static tools/dmsetup.static
cp -a tools/dmsetup.static "${D}"/usr/sbin/dmsetup \
|| die "Failed to copy '${S}/tools/dmsetup.static' to '${D}/usr/sbin/dmsetup'!"