Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1742434

[PATCH 2/9] kbuild: rpm-pkg: install vmlinux.bz2 unconditionally

From Masahiro Yamada <yamada.masahiro@socionext.com>
Newsgroups linux.kernel
Subject [PATCH 2/9] kbuild: rpm-pkg: install vmlinux.bz2 unconditionally
Date 2017-09-30 03:20 +0200
Message-ID <uveBI-5A0-27@gated-at.bofh.it> (permalink)
References <uveBH-5A0-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <yamada.masahiro@socionext.com>
---

 scripts/package/mkspec | 3 ---
 1 file changed, 3 deletions(-)

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"
-- 
2.7.4

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 2/9] kbuild: rpm-pkg: install vmlinux.bz2 unconditionally Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-09-30 03:20 +0200

csiph-web