Merge lp:~vorlon/live-build/cloud-images-ppc64el into lp:~ubuntu-on-ec2/live-build/cloud-images

Proposed by Steve Langasek
Status: Merged
Merged at revision: 1871
Proposed branch: lp:~vorlon/live-build/cloud-images-ppc64el
Merge into: lp:~ubuntu-on-ec2/live-build/cloud-images
Diff against target: 60 lines (+14/-20)
4 files modified
archives/ppc64el-bootstrap-ppa.chroot (+1/-0)
archives/ppc64el-bootstrap-ppa.key.chroot (+13/-0)
package-lists/ubuntu-cloud-ppc64el (+0/-12)
scripts/build/lb_chroot_archives (+0/-8)
To merge this branch: bzr merge lp:~vorlon/live-build/cloud-images-ppc64el
Reviewer Review Type Date Requested Status
Ubuntu on EC2 Pending
Review via email: mp+199997@code.launchpad.net

Description of the change

Adjust the ppc64el handling to use the canonical-kernel-team bootstrap ppa,
letting us pull in a kernel package and minimizing the arch-specific delta

To post a comment you must log in.
1874. By Steve Langasek

Bootstrap archive no longer needed, drop the hard-coded special case

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added directory 'archives'
=== added file 'archives/ppc64el-bootstrap-ppa.chroot'
--- archives/ppc64el-bootstrap-ppa.chroot 1970-01-01 00:00:00 +0000
+++ archives/ppc64el-bootstrap-ppa.chroot 2013-12-24 06:32:30 +0000
@@ -0,0 +1,1 @@
1deb http://ppa.launchpad.net/canonical-kernel-team/bootstrap/ubuntu @DISTRIBUTION@ main
02
=== added file 'archives/ppc64el-bootstrap-ppa.key.chroot'
--- archives/ppc64el-bootstrap-ppa.key.chroot 1970-01-01 00:00:00 +0000
+++ archives/ppc64el-bootstrap-ppa.key.chroot 2013-12-24 06:32:30 +0000
@@ -0,0 +1,13 @@
1-----BEGIN PGP PUBLIC KEY BLOCK-----
2Version: GnuPG v1.4.15 (GNU/Linux)
3
4mI0ETPbc7gEEANZKYrN9oZwXU/sMVa1If6VO9TyqSuF533/LAyLM5VjGTtS5ugzE
5UqxGAuIhRIRIVzg/Vwe4LN/5ThO1yZxiLzicrd/5b2DtkAYUPede7J38k4sVICFm
6be40s+tA55GIN47ncQ2biNWM64Y5po0U5tOEkbiqkPiF1XBWmNYP1iWlABEBAAG0
7J0xhdW5jaHBhZCBQUEEgZm9yIENhbm9uaWNhbCBLZXJuZWwgVGVhbYi4BBMBAgAi
8BQJM9tzuAhsDBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRAIVvGXuJKs6qqo
9A/9RlzQ14WjaBzm0r4O22SnRIeZmmZ8edVQ6yOdAU56xC20c/yuiJPu0kRUN/VRg
10P7MfD3k001Zst1qAVde+SxNI77gQSJm8mH6YdbRqnlfelEU+CbQZ9RK0MSg0pmL4
11zqMoZIib+Ez5dMpJhMfBVC7XMxPn6jEzqWR4qpS549wUUA==
12=RJWU
13-----END PGP PUBLIC KEY BLOCK-----
014
=== removed file 'package-lists/ubuntu-cloud-ppc64el'
--- package-lists/ubuntu-cloud-ppc64el 2013-12-19 22:15:30 +0000
+++ package-lists/ubuntu-cloud-ppc64el 1970-01-01 00:00:00 +0000
@@ -1,12 +0,0 @@
1# /usr/share/live/build/package-lists/ubuntu-cloud - package list for live-build(7)
2
3#include <minimal>
4
5# Tasks
6standard^ server^ cloud-image^
7
8# Packages
9## TODO-ppc64el: the following is the end goal
10## linux-image-virtual landscape-client ubuntu-minimal
11## for now we have ubuntu-minimal expanded minus console-setup
12landscape-client adduser apt apt-utils bzip2 debconf debconf-i18n eject gnupg ifupdown initramfs-tools iproute2 iputils-ping isc-dhcp-client kmod less locales lsb-release makedev mawk net-tools netbase netcat-openbsd ntpdate passwd procps python3 resolvconf rsyslog sudo tzdata ubuntu-keyring udev upstart ureadahead vim-tiny whiptail
130
=== modified file 'scripts/build/lb_chroot_archives'
--- scripts/build/lb_chroot_archives 2013-12-20 01:46:03 +0000
+++ scripts/build/lb_chroot_archives 2013-12-24 06:32:30 +0000
@@ -56,14 +56,6 @@
56deb ${LB_PARENT_MIRROR_CHROOT} ${LB_PARENT_DISTRIBUTION} ${LB_PARENT_ARCHIVE_AREAS}56deb ${LB_PARENT_MIRROR_CHROOT} ${LB_PARENT_DISTRIBUTION} ${LB_PARENT_ARCHIVE_AREAS}
57EOF57EOF
5858
59 # TODO-ppc64el: remove additional archives
60 [ "$(dpkg --print-architecture)" != "ppc64el" ] ||
61 cat >> chroot/etc/apt/sources.list << EOF
62## TODO-ppc64el: get rid of -proposed and the bootstrap archive
63deb ${LB_PARENT_MIRROR_CHROOT} ${LB_PARENT_DISTRIBUTION}-proposed ${LB_PARENT_ARCHIVE_AREAS}
64deb http://people.canonical.com/~ubuntu-archive/bootstrap/ppc64el/ trusty main
65EOF
66
67 if [ "${_PASS}" = "source" ] || [ "${LB_APT_SOURCE_ARCHIVES}" = "true" ]59 if [ "${_PASS}" = "source" ] || [ "${LB_APT_SOURCE_ARCHIVES}" = "true" ]
68 then60 then
69 echo "deb-src ${LB_PARENT_MIRROR_CHROOT} ${LB_PARENT_DISTRIBUTION} ${LB_PARENT_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list61 echo "deb-src ${LB_PARENT_MIRROR_CHROOT} ${LB_PARENT_DISTRIBUTION} ${LB_PARENT_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list

Subscribers

People subscribed via source and target branches

to all changes: