ubuntu-cpc: Enable building of powerpc cloud images.

This commit is contained in:
Robert C Jennings 2017-05-25 20:35:29 -05:00
parent b0453f87e8
commit bfcc963d8b
5 changed files with 21 additions and 6 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
livecd-rootfs (2.209.16) trusty; urgency=medium
[ Daniel Watkins ]
* Enable building of powerpc cloud images.
-- Robert C Jennings <robert.jennings@canonical.com> Tue, 24 May 2017 14:31:47 -0500
livecd-rootfs (2.209.15) trusty; urgency=medium
[ Ben Howard ]

View File

@ -414,6 +414,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

@ -173,7 +173,7 @@ case $arch in
i386|amd64)
add_serial_console ttyS0
;;
ppc64el)
powerpc|ppc64el)
add_serial_console hvc0
exit 0
;;