summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-05-16 21:15:31 +0000
committerJeremy Katz <katzj@redhat.com>2006-05-16 21:15:31 +0000
commit3c2dff37ecd6e7b9cb5f3c871593cabd3a371c55 (patch)
tree407dd7c61423509ee72b2185c08e9a7845723d75 /scripts
parent9983b07289ccc7a8d3840f703c148ebc0236cc94 (diff)
2006-05-16 Jeremy Katz <katzj@redhat.com>
* scripts/mk-images: Try to make it so that ppc64 trees can be installable.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mk-images7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/mk-images b/scripts/mk-images
index fc7a2a19a..f47c54d6a 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -758,14 +758,17 @@ doPostImages() {
if [ ${BUILDARCH} = s390x ]; then
# FIXME: this is a bad hack for s390, but better than copying for now
source $TOPDIR/mk-images.s390
+elif [ ${BUILDARCH} = ppc64 ]; then
+ # ... and similar for ppc64
+ source $TOPDIR/mk-images.ppc
else
source $TOPDIR/mk-images.${BUILDARCH}
fi
# Find the kernel, unpack it, and verify it
kerneltags="kernel"
-if [ "$BUILDARCH" = "ppc" -o "$BUILDARCH" = "ppc64" ]; then
- arches="ppc64pseries ppc64 ppc64iseries ppc"
+if [ "$BUILDARCH" = "ppc" ]; then
+ arches="ppc64 ppc64iseries ppc"
elif [ "$BUILDARCH" = "i386" ]; then
arches="i586"
kerneltags="kernel kernel-xenU"