Message ID | 1429394714-9028-1-git-send-email-bp@alien8.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Sun, Apr 19, 2015 at 12:05:14AM +0200, Borislav Petkov wrote: > From: Borislav Petkov <bp@suse.de> > > No need for the intermediary vmlinux.orig - bzip2 can keep the original > files used for compression with --keep. > > Signed-off-by: Borislav Petkov <bp@suse.de> > Cc: Michal Marek <mmarek@suse.cz> > Cc: linux-kbuild@vger.kernel.org Applied to kbuild.git#misc. I will push it after v4.1-rc1 becomes available, though. Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/scripts/package/mkspec b/scripts/package/mkspec index d9ab94b17de0..89f9669d4f00 100755 --- a/scripts/package/mkspec +++ b/scripts/package/mkspec @@ -111,10 +111,8 @@ echo 'cp System.map $RPM_BUILD_ROOT'"/boot/System.map-$KERNELRELEASE" echo 'cp .config $RPM_BUILD_ROOT'"/boot/config-$KERNELRELEASE" echo "%ifnarch ppc64" -echo 'cp vmlinux vmlinux.orig' -echo 'bzip2 -9 vmlinux' +echo 'bzip2 -9 --keep vmlinux' echo 'mv vmlinux.bz2 $RPM_BUILD_ROOT'"/boot/vmlinux-$KERNELRELEASE.bz2" -echo 'mv vmlinux.orig vmlinux' echo "%endif" if ! $PREBUILT; then