diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-09-29 21:10:04 -0400 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-10-09 05:13:19 -0400 |
commit | 81771ce2d1a9f9ce8739aac7af64bb03ff4b6a1a (patch) | |
tree | 5ec50bac0420df6ad7ac0381051396ad8a443fd1 | |
parent | 6736ce27ce34d791ff2f030df6162527bd383a3c (diff) |
kbuild: rpm-pkg: install vmlinux.bz2 unconditionally
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>
-rwxr-xr-x | scripts/package/mkspec | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/package/mkspec b/scripts/package/mkspec index ef007501effe..a026c089d773 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 | |||
99 | echo 'cp System.map $RPM_BUILD_ROOT'"/boot/System.map-$KERNELRELEASE" | 99 | echo 'cp System.map $RPM_BUILD_ROOT'"/boot/System.map-$KERNELRELEASE" |
100 | 100 | ||
101 | echo 'cp .config $RPM_BUILD_ROOT'"/boot/config-$KERNELRELEASE" | 101 | echo 'cp .config $RPM_BUILD_ROOT'"/boot/config-$KERNELRELEASE" |
102 | |||
103 | echo "%ifnarch ppc64" | ||
104 | echo 'bzip2 -9 --keep vmlinux' | 102 | echo 'bzip2 -9 --keep vmlinux' |
105 | echo 'mv vmlinux.bz2 $RPM_BUILD_ROOT'"/boot/vmlinux-$KERNELRELEASE.bz2" | 103 | echo 'mv vmlinux.bz2 $RPM_BUILD_ROOT'"/boot/vmlinux-$KERNELRELEASE.bz2" |
106 | echo "%endif" | ||
107 | 104 | ||
108 | if ! $PREBUILT; then | 105 | if ! $PREBUILT; then |
109 | echo 'rm -f $RPM_BUILD_ROOT'"/lib/modules/$KERNELRELEASE/build" | 106 | echo 'rm -f $RPM_BUILD_ROOT'"/lib/modules/$KERNELRELEASE/build" |