From 12cdca31704000822c50b996facc955d5e3ae5a9 Mon Sep 17 00:00:00 2001 From: Ben Kohler Date: Mon, 29 Apr 2024 10:35:34 -0500 Subject: gkbuilds/lvm: add 2.03 support Signed-off-by: Ben Kohler --- gkbuilds/lvm.gkbuild | 2 ++ 1 file changed, 2 insertions(+) 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'!" -- cgit v1.2.3-65-gdbad