diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-09-09 12:23:27 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-09-09 12:23:27 +0100 |
commit | 494293a6e42fc845a2bfbe8cae7dc0aeec2f9edc (patch) | |
tree | a93504cdf3bf39bc52dbd81a95899de461b706b5 /packages/sys-kernel | |
parent | 989a44a555cd9d052c5fffdce7eace449a8f5ac5 (diff) |
sys-kernel/dkms : fix exheres
Diffstat (limited to 'packages/sys-kernel')
-rw-r--r-- | packages/sys-kernel/dkms/dkms-2.3.exheres-0 | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/packages/sys-kernel/dkms/dkms-2.3.exheres-0 b/packages/sys-kernel/dkms/dkms-2.3.exheres-0 index ce29354..e835a4f 100644 --- a/packages/sys-kernel/dkms/dkms-2.3.exheres-0 +++ b/packages/sys-kernel/dkms/dkms-2.3.exheres-0 @@ -1,6 +1,7 @@ # Copyright 2018 Redcore Linux Project # Distributed under the terms of the GNU General Public License v2 +require bash-completion require github [ user=dell tag="v${PV}" ] require openrc-service @@ -37,8 +38,10 @@ DEFAULT_SRC_PREPARE_PATCHES=( ) DEFAULT_SRC_INSTALL_PARAMS=( - SBIN="${IMAGE}/usr/$(exhost --target)/bin" - LIBDIR="${IMAGE}/usr/$(exhost --target)/lib/dkms" + SBIN=/usr/$(exhost --target)/bin + LIBDIR=/usr/$(exhost --target)/lib/dkms + SYSTEMD_UNITDIR=/usr/$(exhost --target)/lib/systemd/system + BASHDIR=${BASHCOMPLETIONDIR} ) src_compile() { @@ -46,6 +49,9 @@ src_compile() { } src_install() { - default + emake \ + ${DEFAULT_SRC_INSTALL_PARAMS[@]} \ + DESTDIR="${IMAGE}" install + install_openrc_files } |