linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* 'make rpm' Failing due to i386 bug
@ 2001-11-28  4:32 Joseph Manojlovich
  2001-11-28 17:49 ` Tom Rini
  0 siblings, 1 reply; 7+ messages in thread
From: Joseph Manojlovich @ 2001-11-28  4:32 UTC (permalink / raw)
  To: linuxppc-dev


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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-11-29 16:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-28  4:32 'make rpm' Failing due to i386 bug Joseph Manojlovich
2001-11-28 17:49 ` 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

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).