Enable building of powerpc cloud images.

This commit is contained in:
Daniel Watkins 2016-04-07 14:34:12 +01:00
parent 5ac47abce7
commit 2909aba4b5
5 changed files with 18 additions and 6 deletions

4
debian/changelog vendored
View File

@ -1,7 +1,11 @@
livecd-rootfs (2.396) UNRELEASED; urgency=medium
[ Adam Conrad ]
* Remove obsolete pvr-omap4 special-casing to simplify configs.
[ Daniel Watkins ]
* Enable building of powerpc cloud images.
-- Adam Conrad <adconrad@ubuntu.com> Sun, 03 Apr 2016 02:39:50 -0600
livecd-rootfs (2.395) xenial; urgency=medium

View File

@ -470,6 +470,10 @@ case $PROJECT in
ppc64el)
add_task install server
;;
powerpc)
KERNEL_FLAVOURS=powerpc64-smp
add_task install server
;;
esac
OPTS="${OPTS:+$OPTS }--system=normal"
OPTS="${OPTS:+$OPTS }--hdd-label=cloudimg-rootfs"

View File

@ -8,8 +8,8 @@ BOOT_MOUNTPOINT=
ROOTPART_START=1
case $ARCH:$SUBARCH in
ppc64el:*)
echo "ppc64el disk images are handled separately"
ppc64el:*|powerpc:*)
echo "POWER disk images are handled separately"
exit 0
;;
armhf:raspi2)

View File

@ -1,7 +1,11 @@
#!/bin/bash -eux
if [ "$ARCH" != "ppc64el" ]; then
exit 0
fi
case $ARCH in
ppc64el|powerpc)
;;
*)
exit 0
;;
esac
. /build/config/functions

View File

@ -177,7 +177,7 @@ case $arch in
add_serial_console hvc0
exit 0
;;
s390x)
powerpc|s390x)
exit 0
;;
esac