mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-17 01:46:58 +02:00
sys-apps/keyutils: Clean slate to reapply our changes
This commit is contained in:
parent
03c56caf2e
commit
f6a355da10
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
|
|
||||||
inherit toolchain-funcs linux-info multilib-minimal usr-ldscript systemd
|
inherit toolchain-funcs linux-info multilib-minimal usr-ldscript
|
||||||
|
|
||||||
DESCRIPTION="Linux Key Management Utilities"
|
DESCRIPTION="Linux Key Management Utilities"
|
||||||
HOMEPAGE="https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git"
|
HOMEPAGE="https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git"
|
||||||
@ -26,8 +26,6 @@ PATCHES=(
|
|||||||
"${FILESDIR}"/${PN}-1.5.9-header-extern-c.patch
|
"${FILESDIR}"/${PN}-1.5.9-header-extern-c.patch
|
||||||
)
|
)
|
||||||
|
|
||||||
MAKEOPTS+=" ETCDIR=/usr/share/keyutils"
|
|
||||||
|
|
||||||
pkg_setup() {
|
pkg_setup() {
|
||||||
# To prevent a failure in test phase and false positive bug reports
|
# To prevent a failure in test phase and false positive bug reports
|
||||||
# we are enforcing the following options because testsuite expects
|
# we are enforcing the following options because testsuite expects
|
||||||
@ -112,15 +110,11 @@ multilib_src_test() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
multilib_src_install() {
|
multilib_src_install() {
|
||||||
systemd_dotmpfilesd "${FILESDIR}/tmpfiles.d/keyutils.conf"
|
|
||||||
# Possibly undo the setting for USE=static (see src_compile).
|
# Possibly undo the setting for USE=static (see src_compile).
|
||||||
export NO_ARLIB=$(usex static-libs 0 1)
|
export NO_ARLIB=$(usex static-libs 0 1)
|
||||||
|
|
||||||
default
|
default
|
||||||
use static || gen_usr_ldscript -a keyutils
|
use static || gen_usr_ldscript -a keyutils
|
||||||
dosym ../usr/share/keyutils/request-key.conf /etc/request-key.conf
|
|
||||||
dodir /etc/request-key.d
|
|
||||||
dodir /etc/keyutils
|
|
||||||
}
|
}
|
||||||
|
|
||||||
multilib_src_install_all() {
|
multilib_src_install_all() {
|
||||||
|
Loading…
Reference in New Issue
Block a user