diff options
author | 2024-04-29 10:35:34 -0500 | |
---|---|---|
committer | 2024-04-29 10:35:34 -0500 | |
commit | 12cdca31704000822c50b996facc955d5e3ae5a9 (patch) | |
tree | 9f2fbfc1400e3cf85a140777b917c99cb70bfa64 | |
parent | gkbuilds/busybox: rework toolchain handling (diff) | |
download | genkernel-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.gkbuild | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gkbuilds/lvm.gkbuild b/gkbuilds/lvm.gkbuild index 3006381..27a7521 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'!" |