linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [RFC,PATCH] scripts/package: add powerpc images to tarball
@ 2008-07-24  8:17 Jeremy Kerr
  2008-07-25  1:08 ` Milton Miller
  0 siblings, 1 reply; 9+ messages in thread
From: Jeremy Kerr @ 2008-07-24  8:17 UTC (permalink / raw)
  To: linux-kernel, linuxppc-dev

Currently, tarball builds for powerpc kernels don't have any boot
images (other than vmlinux) present.

Add support for powerpc builds in the buildtar script, to include
a few default images.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

---
RFC: any requests for more/less boot images?

---
 scripts/package/buildtar |   10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/scripts/package/buildtar b/scripts/package/buildtar
index 28574ae..85e5563 100644
--- a/scripts/package/buildtar
+++ b/scripts/package/buildtar
@@ -72,6 +72,16 @@ case "${ARCH}" in
 	x86|i386|x86_64)
 		[ -f "${objtree}/arch/x86/boot/bzImage" ] && cp -v -- "${objtree}/arch/x86/boot/bzImage" "${tmpdir}/boot/vmlinuz-${KERNELRELEASE}"
 		;;
+	powerpc)
+		for img in zImage zImage.pseries zImage.iseries \
+				dtbImage dtbImage.ps3
+		do
+			imgpath=arch/powerpc/boot/${img}
+			[ -f "${objtree}/${imgpath}" ] || continue
+			cp -v -- "${objtree}/${imgpath}" \
+				"${tmpdir}/boot/${img}-${KERNELRELEASE}"
+		done
+		;;
 	alpha)
 		[ -f "${objtree}/arch/alpha/boot/vmlinux.gz" ] && cp -v -- "${objtree}/arch/alpha/boot/vmlinux.gz" "${tmpdir}/boot/vmlinuz-${KERNELRELEASE}"
 		;;

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

end of thread, other threads:[~2008-07-28 16:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-24  8:17 [RFC,PATCH] scripts/package: add powerpc images to tarball Jeremy Kerr
2008-07-25  1:08 ` Milton Miller
2008-07-25  1:11   ` Jeremy Kerr
2008-07-26  3:59     ` Milton Miller
2008-07-26  4:55   ` Grant Likely
2008-07-26 17:20     ` Milton Miller
2008-07-26 17:53       ` Grant Likely
2008-07-28 16:34         ` T Ziomek
2008-07-28 16:49           ` Grant Likely

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