lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1216887460.306306.238738123378.1.gpush@pingu>
Date:	Thu, 24 Jul 2008 18:17:40 +1000
From:	Jeremy Kerr <jk@...abs.org>
To:	<linux-kernel@...r.kernel.org>, <linuxppc-dev@...abs.org>
Subject: [RFC,PATCH] scripts/package: add powerpc images to tarball

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@...abs.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}"
 		;;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ