diff options
-rwxr-xr-x | scripts/mk-images | 2 | ||||
-rw-r--r-- | scripts/mk-images.ppc | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/mk-images b/scripts/mk-images index 63e17b518..c6a3a39df 100755 --- a/scripts/mk-images +++ b/scripts/mk-images @@ -1053,7 +1053,7 @@ fi # Find the kernel, unpack it, and verify it vertag="BOOT" if [ "$BUILDARCH" = "ppc" -o "$BUILDARCH" = "ppc64" ]; then - arches="ppc64pseries ppc64iseries ppc" + arches="ppc64pseries ppc64 ppc64iseries ppc" elif [ "$BUILDARCH" = "i386" ]; then arches="i586" else diff --git a/scripts/mk-images.ppc b/scripts/mk-images.ppc index 7e1d549b5..a5d09d7d4 100644 --- a/scripts/mk-images.ppc +++ b/scripts/mk-images.ppc @@ -23,8 +23,8 @@ makeBootImages() { echo "Building boot images for kernel $kernelvers" FAKEARCH="" - if [ "$KERNELARCH" = "ppc64pseries" ]; then - echo "Building pSeries initrd" + if [ "$KERNELARCH" = "ppc64pseries" -o "$KERNELARCH" = "ppc64" ]; then + echo "Building $KERNELARCH initrd" makeinitrd --initrdto $TOPDESTPATH/ppc/chrp/ramdisk.image.gz \ --initrdsize 8192 \ --loaderbin loader \ |