From patchwork Sat Sep 30 01:10:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 114531 Delivered-To: patch@linaro.org Received: by 10.140.104.133 with SMTP id a5csp1415421qgf; Fri, 29 Sep 2017 18:12:15 -0700 (PDT) X-Google-Smtp-Source: AOwi7QCVhV0lwKfzAwuYk0DL/CGZUk1Rp+RdkFMbVetP+a+fMPBGjex9rQjS5sL6ideBlDPML+UM X-Received: by 10.101.87.202 with SMTP id q10mr2276174pgr.141.1506733935737; Fri, 29 Sep 2017 18:12:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506733935; cv=none; d=google.com; s=arc-20160816; b=urRxRorn4//SUPz1nDeDDlVl4qcAcO//qHegc7iWdZaOqysH8IEOQSZNe/lsvTJJL6 uWA6bzpi/4NbgU8Ge6Ah8HIe7EnFQx2/elfLq7CZTRl4R9rQuoRh1LPP4AyQ+K9Y9LLV UHF7J9sj3Txu79KQJrprsFS1A9r+d6ZvpHKGX1CCOx91d/WK1pQrfweFN/hgV4ItMNz2 k858eBe0MrmoNwEctJxrcOxLhFctsuQegtzb5+ykQfePuvLUCFE1vCeNS058p2BMdzpU HOnOcvgldR31+ExzZqJeB4R5m20+26+VS+LZVH9hCc1DXA3DTwb3oreAKb5ppFEOVye8 4wdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=s7LUqxWmyygwa4Y8ouLLrECjCCPpaLPpPnIGKbVGGBs=; b=qz+hIriML7qUXTvNQCY3XEswwqjtrWzGj8NpVfCGrLgcN4wbM3qpXnWhck6b4TXc0o xNKnIwp4nRMjOOqhWVd3eNPjUhny18LTgIIbh+0KlkEzyew4+0sYDjhcQo1Kmsec/mTX mGbvJUWrJCA6KbQaZG+rn9kACjSJUr6va+3mgosCJj/hFnugavDM3B5k3DcLt+OB0NAC D/6bcZn2PbxU+wmw39z9XDjwyHbiBG2NPFzcPbsCRztZ0v3UZZAfRx2qV9Z68r4rpx1y /+Vk+oui+RoDTr+uzmEWZJk9Cv0Edi1CgjMJ6dYgdw/rTpkBGlIkqk5gOSftxSEFkLnI MCHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=xRUMrN9h; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 68si4124683pla.106.2017.09.29.18.12.15; Fri, 29 Sep 2017 18:12:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=xRUMrN9h; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752687AbdI3BMB (ORCPT + 26 others); Fri, 29 Sep 2017 21:12:01 -0400 Received: from conuserg-07.nifty.com ([210.131.2.74]:25315 "EHLO conuserg-07.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752727AbdI3BKf (ORCPT ); Fri, 29 Sep 2017 21:10:35 -0400 Received: from grover.sesame (FL1-122-131-185-176.osk.mesh.ad.jp [122.131.185.176]) (authenticated) by conuserg-07.nifty.com with ESMTP id v8U1AOK6030198; Sat, 30 Sep 2017 10:10:25 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com v8U1AOK6030198 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1506733825; bh=s7LUqxWmyygwa4Y8ouLLrECjCCPpaLPpPnIGKbVGGBs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xRUMrN9hwn2X3u6/iRxstLvI0sH4rh8aEXryLz7l9wtpJWmVNNx/z+CRHmQOL4F6I XFfQAj/DxCTIICnHhM6KKybBYekOxCqeA2cwPhdk7/VjUv/0fO5x+jIGGbzueZE8UF 6kjPtDH55huaioq162H4tuDRmpm/wmhTaszGO+F3cBmlJAJYQr4WlH195QLETTfx/D 9aFgBfAF0WUn77AvGQmDJk8sR75t5o7/8kttQ2wJ3T2p+/HSs0nTZXxF+Godae94FB 8+NBuffBV/XhVCwdJjfRuaQPkEN0rfN9nY0TJ8MTntmSlrfBE2COmKdYBrThQHU2fn C1QxzsuM4O+dw== X-Nifty-SrcIP: [122.131.185.176] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH 2/9] kbuild: rpm-pkg: install vmlinux.bz2 unconditionally Date: Sat, 30 Sep 2017 10:10:04 +0900 Message-Id: <1506733811-24636-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1506733811-24636-1-git-send-email-yamada.masahiro@socionext.com> References: <1506733811-24636-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This conditional was added by commit fc370ecfdb37 ("kbuild: add vmlinux to kernel rpm"). Its git-log mentioned vmlinux.bz2 was necessary for debugging, but did not explain why ppc64 was an exception. I see no problem to copy vmlinux.bz2 all the time. Signed-off-by: Masahiro Yamada --- scripts/package/mkspec | 3 --- 1 file changed, 3 deletions(-) -- 2.7.4 diff --git a/scripts/package/mkspec b/scripts/package/mkspec index ef00750..a026c08 100755 --- a/scripts/package/mkspec +++ b/scripts/package/mkspec @@ -99,11 +99,8 @@ echo 'make %{?_smp_mflags} INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr KBUILD_SRC= head echo 'cp System.map $RPM_BUILD_ROOT'"/boot/System.map-$KERNELRELEASE" echo 'cp .config $RPM_BUILD_ROOT'"/boot/config-$KERNELRELEASE" - -echo "%ifnarch ppc64" echo 'bzip2 -9 --keep vmlinux' echo 'mv vmlinux.bz2 $RPM_BUILD_ROOT'"/boot/vmlinux-$KERNELRELEASE.bz2" -echo "%endif" if ! $PREBUILT; then echo 'rm -f $RPM_BUILD_ROOT'"/lib/modules/$KERNELRELEASE/build"