diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2021-04-28 14:46:30 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2021-04-28 15:30:48 +0200 |
commit | df9692779fe7c9242d92ea9508312e18411a8e38 (patch) | |
tree | eac95dccd8ea16d788be929e21a5aed5161bb79c /sys-kernel | |
parent | media-video/pipewire: add live ebuild (diff) | |
download | gentoo-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.ebuild | 9 |
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 |