commit: 2d2e91f288679e272f731917feb58f3768ea586d Author: orbea <orbea <AT> riseup <DOT> net> AuthorDate: Thu Mar 24 20:17:07 2022 +0000 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> CommitDate: Sun May 15 23:14:01 2022 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=2d2e91f2
gkbuild/cryptsetup: Install the correct binaries with slibtool Signed-off-by: orbea <orbea <AT> riseup.net> gkbuilds/cryptsetup.gkbuild | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gkbuilds/cryptsetup.gkbuild b/gkbuilds/cryptsetup.gkbuild index 007874d..816df60 100644 --- a/gkbuilds/cryptsetup.gkbuild +++ b/gkbuilds/cryptsetup.gkbuild @@ -34,8 +34,7 @@ src_install() { "${D}"/sbin/* \ "${D}"/usr/share/ - cp -a cryptsetup.static "${D}"/sbin/cryptsetup \ - || die "Failed to copy '${S}/cryptsetup.static' to '${D}/sbin/cryptsetup'!" + install_exe 'cryptsetup.static' "${D}"/sbin/cryptsetup "${STRIP}" --strip-all "${D}"/sbin/cryptsetup \ || die "Failed to strip '${D}/sbin/cryptsetup'!"