aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2022-03-24 13:17:07 -0700
committerorbea <orbea@riseup.net>2022-05-15 16:14:01 -0700
commit2d2e91f288679e272f731917feb58f3768ea586d (patch)
treec48f841670f6c9c53fd84fd2722994b499412243
parentgkbuild/util-linux: Install the correct binaries with slibtool (diff)
downloadgenkernel-2d2e91f288679e272f731917feb58f3768ea586d.tar.gz
genkernel-2d2e91f288679e272f731917feb58f3768ea586d.tar.bz2
genkernel-2d2e91f288679e272f731917feb58f3768ea586d.zip
gkbuild/cryptsetup: Install the correct binaries with slibtool
Signed-off-by: orbea <orbea@riseup.net>
-rw-r--r--gkbuilds/cryptsetup.gkbuild3
1 files changed, 1 insertions, 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'!"