diff options
Diffstat (limited to 'eclass/linux-build.eclass')
-rw-r--r-- | eclass/linux-build.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/linux-build.eclass b/eclass/linux-build.eclass index 48296fd3..7072a7a3 100644 --- a/eclass/linux-build.eclass +++ b/eclass/linux-build.eclass @@ -465,9 +465,9 @@ linux-build_src_install() { linux-build_pkg_postinst() { kernel-2_pkg_postinst - # Bypass kernel-2_pkg_postinst madness - if ! use symlink && [[ -L "${EROOT}usr/src/linux" ]] ; then - rm "${EROOT}usr/src/linux" + # FIXME https://github.com/gentoo/gentoo/pull/13031 + if ! use symlink && [[ -e "${EROOT}usr/src/linux" ]] ; then + rm -rf "${EROOT}usr/src/linux" fi einfo "You may need to:" |