From: Yi Li <liyiadam@gmail.com>
To: linuxppc-dev@lists.ozlabs.org
Cc: Yi Li <liyiadam@gmail.com>
Subject: [PATCH] kbuild: rpm-pkg: Disable vmlinux.bz2 for ppc64 and ppc64le
Date: Tue, 22 May 2018 16:45:57 +0800 [thread overview]
Message-ID: <1526978757-130391-1-git-send-email-liyiadam@gmail.com> (raw)
petitboot bootloader cannot load vmlinux.bz2.
Signed-off-by: Yi Li <liyiadam@gmail.com>
---
scripts/package/mkspec | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/package/mkspec b/scripts/package/mkspec
index e05646d..e4146ec 100755
--- a/scripts/package/mkspec
+++ b/scripts/package/mkspec
@@ -93,8 +93,10 @@ $M make %{?_smp_mflags} INSTALL_MOD_PATH=%{buildroot} KBUILD_SRC= modules_instal
make %{?_smp_mflags} INSTALL_HDR_PATH=%{buildroot}/usr KBUILD_SRC= headers_install
cp System.map %{buildroot}/boot/System.map-$KERNELRELEASE
cp .config %{buildroot}/boot/config-$KERNELRELEASE
+ %ifnarch ppc64 ppc64le
bzip2 -9 --keep vmlinux
mv vmlinux.bz2 %{buildroot}/boot/vmlinux-$KERNELRELEASE.bz2
+ %endif
$S$M rm -f %{buildroot}/lib/modules/$KERNELRELEASE/build
$S$M rm -f %{buildroot}/lib/modules/$KERNELRELEASE/source
$S$M mkdir -p %{buildroot}/usr/src/kernels/$KERNELRELEASE
--
1.8.3.1
reply other threads:[~2018-05-22 8:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1526978757-130391-1-git-send-email-liyiadam@gmail.com \
--to=liyiadam@gmail.com \
--cc=linuxppc-dev@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).