From: Joseph Manojlovich <manojlov@cse.psu.edu>
To: linuxppc-dev@lists.linuxppc.org
Subject: 'make rpm' Failing due to i386 bug
Date: Tue, 27 Nov 2001 23:32:24 -0500 [thread overview]
Message-ID: <20011127233224.C23109@cardassian.cse.psu.edu> (raw)
Hey all. I was using the latest stable branch from source.mvista.com,
and noticed that 'make rpm' wasn't working. Looking closer, I noticed
that a supporting script, scripts/mkspec, is quite 386 specific. It
makes an rpm spec file that assumes the kernel image is compressed,
which with ppc it isn't (for me at least).
Here's a quick patch which fixes this for the ppc platform, but would
not work on platforms that use compressed kernel images, like x86. I'm
not looking forward to fixing the make system for the kernel, so if
anyone wants to permanently fix this, it would be appreciated.
--- linuxppc-old/scripts/mkspec Sun Nov 18 03:45:21 2001
+++ linuxppc/scripts/mkspec Tue Nov 27 22:02:17 2001
@@ -28,12 +28,12 @@
echo "%setup -q"
echo ""
echo "%build"
-echo "make oldconfig dep clean bzImage modules"
+echo "make oldconfig dep clean vmlinux modules"
echo ""
echo "%install"
echo 'mkdir -p $RPM_BUILD_ROOT/boot $RPM_BUILD_ROOT/lib $RPM_BUILD_ROOT/lib/modules'
echo 'INSTALL_MOD_PATH=$RPM_BUILD_ROOT make modules_install'
-echo 'cp arch/i386/boot/bzImage $RPM_BUILD_ROOT'"/boot/vmlinuz-$VERSION.$PATCHLEVEL.$SUBLEVEL$EXTRAVERSION"
+echo 'cp vmlinux $RPM_BUILD_ROOT'"/boot/vmlinux-$VERSION.$PATCHLEVEL.$SUBLEVEL$EXTRAVERSION"
echo 'cp System.map $RPM_BUILD_ROOT'"/boot/System.map-$VERSION.$PATCHLEVEL.$SUBLEVEL$EXTRAVERSION"
echo ""
echo "%clean"
(end of patch)
--
Joe Manojlovich
manojlov@cse.psu.edu
"And a thermostat on a home furnace... is that supposed to go to
5000 degrees, do you think?"
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next reply other threads:[~2001-11-28 4:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-28 4:32 Joseph Manojlovich [this message]
2001-11-28 17:49 ` 'make rpm' Failing due to i386 bug Tom Rini
2001-11-29 1:06 ` Ethan Benson
2001-11-29 3:19 ` Tom Rini
2001-11-29 7:10 ` Ethan Benson
2001-11-29 15:27 ` Tom Rini
2001-11-29 16:11 ` Geert Uytterhoeven
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=20011127233224.C23109@cardassian.cse.psu.edu \
--to=manojlov@cse.psu.edu \
--cc=linuxppc-dev@lists.linuxppc.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).