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
1=== added directory 'archives'
2=== added file 'archives/ppc64el-bootstrap-ppa.chroot'
3--- archives/ppc64el-bootstrap-ppa.chroot 1970-01-01 00:00:00 +0000
4+++ archives/ppc64el-bootstrap-ppa.chroot 2013-12-24 06:32:30 +0000
5@@ -0,0 +1,1 @@
6+deb http://ppa.launchpad.net/canonical-kernel-team/bootstrap/ubuntu @DISTRIBUTION@ main
7
8=== added file 'archives/ppc64el-bootstrap-ppa.key.chroot'
9--- archives/ppc64el-bootstrap-ppa.key.chroot 1970-01-01 00:00:00 +0000
10+++ archives/ppc64el-bootstrap-ppa.key.chroot 2013-12-24 06:32:30 +0000
11@@ -0,0 +1,13 @@
12+-----BEGIN PGP PUBLIC KEY BLOCK-----
13+Version: GnuPG v1.4.15 (GNU/Linux)
14+
15+mI0ETPbc7gEEANZKYrN9oZwXU/sMVa1If6VO9TyqSuF533/LAyLM5VjGTtS5ugzE
16+UqxGAuIhRIRIVzg/Vwe4LN/5ThO1yZxiLzicrd/5b2DtkAYUPede7J38k4sVICFm
17+be40s+tA55GIN47ncQ2biNWM64Y5po0U5tOEkbiqkPiF1XBWmNYP1iWlABEBAAG0
18+J0xhdW5jaHBhZCBQUEEgZm9yIENhbm9uaWNhbCBLZXJuZWwgVGVhbYi4BBMBAgAi
19+BQJM9tzuAhsDBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRAIVvGXuJKs6qqo
20+A/9RlzQ14WjaBzm0r4O22SnRIeZmmZ8edVQ6yOdAU56xC20c/yuiJPu0kRUN/VRg
21+P7MfD3k001Zst1qAVde+SxNI77gQSJm8mH6YdbRqnlfelEU+CbQZ9RK0MSg0pmL4
22+zqMoZIib+Ez5dMpJhMfBVC7XMxPn6jEzqWR4qpS549wUUA==
23+=RJWU
24+-----END PGP PUBLIC KEY BLOCK-----
25
26=== removed file 'package-lists/ubuntu-cloud-ppc64el'
27--- package-lists/ubuntu-cloud-ppc64el 2013-12-19 22:15:30 +0000
28+++ package-lists/ubuntu-cloud-ppc64el 1970-01-01 00:00:00 +0000
29@@ -1,12 +0,0 @@
30-# /usr/share/live/build/package-lists/ubuntu-cloud - package list for live-build(7)
31-
32-#include <minimal>
33-
34-# Tasks
35-standard^ server^ cloud-image^
36-
37-# Packages
38-## TODO-ppc64el: the following is the end goal
39-## linux-image-virtual landscape-client ubuntu-minimal
40-## for now we have ubuntu-minimal expanded minus console-setup
41-landscape-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
42
43=== modified file 'scripts/build/lb_chroot_archives'
44--- scripts/build/lb_chroot_archives 2013-12-20 01:46:03 +0000
45+++ scripts/build/lb_chroot_archives 2013-12-24 06:32:30 +0000
46@@ -56,14 +56,6 @@
47 deb ${LB_PARENT_MIRROR_CHROOT} ${LB_PARENT_DISTRIBUTION} ${LB_PARENT_ARCHIVE_AREAS}
48 EOF
49
50- # TODO-ppc64el: remove additional archives
51- [ "$(dpkg --print-architecture)" != "ppc64el" ] ||
52- cat >> chroot/etc/apt/sources.list << EOF
53-## TODO-ppc64el: get rid of -proposed and the bootstrap archive
54-deb ${LB_PARENT_MIRROR_CHROOT} ${LB_PARENT_DISTRIBUTION}-proposed ${LB_PARENT_ARCHIVE_AREAS}
55-deb http://people.canonical.com/~ubuntu-archive/bootstrap/ppc64el/ trusty main
56-EOF
57-
58 if [ "${_PASS}" = "source" ] || [ "${LB_APT_SOURCE_ARCHIVES}" = "true" ]
59 then
60 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: