summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2021-04-28 14:46:30 +0200
committerLars Wendler <polynomial-c@gentoo.org>2021-04-28 15:30:48 +0200
commitdf9692779fe7c9242d92ea9508312e18411a8e38 (patch)
treeeac95dccd8ea16d788be929e21a5aed5161bb79c /sys-kernel
parentmedia-video/pipewire: add live ebuild (diff)
downloadgentoo-df9692779fe7c9242d92ea9508312e18411a8e38.tar.gz
gentoo-df9692779fe7c9242d92ea9508312e18411a8e38.tar.bz2
gentoo-df9692779fe7c9242d92ea9508312e18411a8e38.zip
sys-kernel/dracut-crypt-ssh: Fixed libdir for x86
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/20573 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/dracut-crypt-ssh/dracut-crypt-ssh-1.0.7.ebuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys-kernel/dracut-crypt-ssh/dracut-crypt-ssh-1.0.7.ebuild b/sys-kernel/dracut-crypt-ssh/dracut-crypt-ssh-1.0.7.ebuild
index a403202d1903..88badd7c96af 100644
--- a/sys-kernel/dracut-crypt-ssh/dracut-crypt-ssh-1.0.7.ebuild
+++ b/sys-kernel/dracut-crypt-ssh/dracut-crypt-ssh-1.0.7.ebuild
@@ -27,6 +27,15 @@ RDEPEND="${DEPEND}
PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
+src_prepare() {
+ default
+
+ # Fix libdir (hard-coded to "lib64")
+ sed "s@/lib64/@/$(get_libdir)/@" \
+ -i modules/60crypt-ssh/module-setup.sh \
+ || die
+}
+
src_configure() {
tc-export CC
default