diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2021-04-02 11:04:14 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2021-04-02 11:04:33 +0100 |
commit | 296273b37e76d98f527219bc07592b01eeb18531 (patch) | |
tree | 172ec3cd30ba3a97ee039aa6d2fb7c12c27351ff /sys-kernel/linux-headers/linux-headers-4.14-r1.ebuild | |
parent | sys-kernel/linux-headers: avoid ${D} in src_test() (diff) | |
download | gentoo-296273b37e76d98f527219bc07592b01eeb18531.tar.gz gentoo-296273b37e76d98f527219bc07592b01eeb18531.tar.bz2 gentoo-296273b37e76d98f527219bc07592b01eeb18531.zip |
sys-kernel/linux-headers: reorder src_install and src_test
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'sys-kernel/linux-headers/linux-headers-4.14-r1.ebuild')
-rw-r--r-- | sys-kernel/linux-headers/linux-headers-4.14-r1.ebuild | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sys-kernel/linux-headers/linux-headers-4.14-r1.ebuild b/sys-kernel/linux-headers/linux-headers-4.14-r1.ebuild index c931c75d07ed..4b167e1ada31 100644 --- a/sys-kernel/linux-headers/linux-headers-4.14-r1.ebuild +++ b/sys-kernel/linux-headers/linux-headers-4.14-r1.ebuild @@ -30,14 +30,6 @@ src_prepare() { [[ -n ${PATCH_VER} ]] && eapply "${WORKDIR}/${PV}"/*.patch } -src_install() { - kernel-2_src_install - - # hrm, build system sucks - find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete - find "${ED}" -depth -type d -delete 2>/dev/null -} - src_test() { einfo "Possible unescaped attribute/type usage" egrep -r \ @@ -47,3 +39,11 @@ src_test() { emake ARCH=$(tc-arch-kernel) headers_check } + +src_install() { + kernel-2_src_install + + # hrm, build system sucks + find "${ED}" '(' -name '.install' -o -name '*.cmd' ')' -delete + find "${ED}" -depth -type d -delete 2>/dev/null +} |