From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1200369-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4322613835A for <garchives@archives.gentoo.org>; Fri, 28 Aug 2020 18:05:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 279E9E09FA; Fri, 28 Aug 2020 18:05:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0025FE09E7 for <gentoo-commits@lists.gentoo.org>; Fri, 28 Aug 2020 18:05:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BDA9433BE25 for <gentoo-commits@lists.gentoo.org>; Fri, 28 Aug 2020 18:05:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4A97A336 for <gentoo-commits@lists.gentoo.org>; Fri, 28 Aug 2020 18:05:18 +0000 (UTC) From: "Georgy Yakovlev" <gyakovlev@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" <gyakovlev@gentoo.org> Message-ID: <1598637833.c681b6b44fee0b200177fdae6806cc20bb33d086.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/kernel-build.eclass X-VCS-Directories: eclass/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: c681b6b44fee0b200177fdae6806cc20bb33d086 X-VCS-Branch: master Date: Fri, 28 Aug 2020 18:05:18 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8b8efe1c-ed1c-4755-a9d7-d4776ce11426 X-Archives-Hash: 4ef79a7fff1695747ecf086bf5b123d4 commit: c681b6b44fee0b200177fdae6806cc20bb33d086 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> AuthorDate: Fri Aug 28 04:02:35 2020 +0000 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> CommitDate: Fri Aug 28 18:03:53 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c681b6b4 eclass/kernel-build.eclass: don't strip ppc64 kernels it breaks external module builds Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> eclass/kernel-build.eclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass index 47b0db34956..048d0c9b016 100644 --- a/eclass/kernel-build.eclass +++ b/eclass/kernel-build.eclass @@ -176,6 +176,9 @@ kernel-build_src_install() { local image_path=$(kernel-install_get_image_path) cp -p "build/${image_path}" "${ED}/usr/src/linux-${ver}/${image_path}" || die + # building modules fails with 'vmlinux has no symtab?' if stripped + use ppc64 && dostrip -x "/usr/src/linux-${ver}/${image_path}" + # strip empty directories find "${D}" -type d -empty -exec rmdir {} + || die