commit: cfc9ff455e2473e4322bd18c5fa21370d9c0702e
Author: orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Thu Mar 24 18:43:40 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=cfc9ff45
gkbuild/util-linux: Install the correct binaries with slibtool
Signed-off-by: orbea <orbea <AT> riseup.net>
gkbuilds/util-linux.gkbuild | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/gkbuilds/util-linux.gkbuild b/gkbuilds/util-linux.gkbuild
index 40ea1fb..5addbb1 100644
--- a/gkbuilds/util-linux.gkbuild
+++ b/gkbuilds/util-linux.gkbuild
@@ -47,11 +47,8 @@ src_install() {
mkdir "${D}"/sbin || die "Failed to create '${D}/sbin'!"
- cp -a blkid.static "${D}"/sbin/blkid \
- || die "Failed to copy '${S}/blkid.static' to
'${D}/sbin/blkid'!"
-
- cp -a switch_root "${D}"/sbin/switch_root \
- || die "Failed to copy '${S}/switch_root' to
'${D}/sbin/switch_root'!"
+ install_exe 'blkid.static' "${D}"/sbin/blkid
+ install_exe 'switch_root' "${D}"/sbin/switch_root
local sbin
for sbin in \