561 Commits

Author SHA1 Message Date
Colin Watson
2b15590f3b Fix buildd images for series earlier than bionic
Don't install gpg or gpg-agent when building buildd images for series
earlier than bionic.  (In earlier series, those packages didn't exist
and gnupg was build-essential.)
2019-01-16 12:39:21 +00:00
Łukasz 'sil2100' Zemczak
bf61fdecf3 Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into sil2100/raspi-wpasupplicant 2019-01-11 11:24:54 +01:00
Łukasz 'sil2100' Zemczak
e60bcbaecd Add proper IMAGAFORMAT for raspi3 classic builds, output the images with the expected naming. 2019-01-09 10:47:24 +01:00
Colin Watson
082a2046e7 Add a LXD image to builds for the buildd subproject 2018-12-19 22:11:16 +00:00
Łukasz 'sil2100' Zemczak
85eed4a91d Add wpasupplicant to the additional packages installed for the raspi2 and raspi3 targets. 2018-12-17 17:34:43 +01:00
Michael Hudson-Doyle
f81fb59a00 Do no install openssh-server in the base filsystem for the live server installer. 2018-12-17 13:40:57 +13:00
Michael Hudson-Doyle
c4e5659217 do not include kernel in base install for ubuntu-server:live
this actually makes things closer to the non-live server build and so
makes things a bit simpler
2018-12-13 10:47:54 +13:00
Tobias Koch
cbd4eb5717 Use series files with dependency handling to generate hook symlinks dynamically
This patch currently only applies to the "ubuntu-cpc" project.
          
More and more logic has been going into the hook scripts to decide under which conditions they should run or not. As we are moving to parallelized builds of image sets, this will get even more complicated. Base hooks will have to know which image sets they belong to and modification of the dependency chain between scripts will become more complicated and prone to errors, as the number of image sets grows.
            
This patch introduces explicit ordering and dependency handling for scripts through the use of `series` files and an explicit syntax for dependency specification.
2018-12-10 09:18:02 +01:00
Łukasz 'sil2100' Zemczak
6345ccd34c Add a few minor fixes for raspi3 builds. 2018-11-28 16:05:24 +01:00
Łukasz 'sil2100' Zemczak
c229012efb Add raspi3 arm64 rootfs build support. 2018-11-23 17:39:40 +01:00
Łukasz 'sil2100' Zemczak
65d907268a raspi3 support: be sure to create /boot/firmware during pi3 rootfs builds. Also, for the raspi3 we need to explicitly specify the kernel flavor to raspi2. We also switch to using raspi3-firmware instead of linux-firmware-raspi2 because the latter is not available for arm64. 2018-11-23 15:56:26 +01:00
Steve Langasek
6ee39485dd Merge lp:~sil2100/livecd-rootfs/use-ubuntu-image-classic 2018-11-21 12:51:00 -08:00
Łukasz 'sil2100' Zemczak
2947cdbe60 First batch of obvious changes - use better shellism, only call make (without make install). 2018-11-21 20:22:38 +01:00
Łukasz 'sil2100' Zemczak
37f3cb1714 Merge latest prerequisite branch. 2018-10-31 12:51:59 +01:00
Łukasz 'sil2100' Zemczak
2e3c7d050c Remove unneeded code and code duplication, add comments. 2018-10-31 12:46:57 +01:00
Łukasz 'sil2100' Zemczak
cc5d39b93d Merge latest prerequisite branches. 2018-10-30 17:43:03 +01:00
Łukasz 'sil2100' Zemczak
501afa0783 Merge latest prerequisite branch 2018-10-30 16:10:57 +01:00
Łukasz 'sil2100' Zemczak
f8529c9038 Add support for building classic images using makefile-based gadget trees. 2018-10-30 14:13:02 +01:00
Cody Shepherd
5bee1ade70 Ensure pre-seeded snaps are now published in the image manifests. 2018-10-22 10:21:50 -07:00
Łukasz 'sil2100' Zemczak
41b4130759 * Add support for raspi3 rootfs builds (based on Ryan Finnie).
* For ubuntu-image consumption, export the kernel and initrd to
  image/boot/uboot for raspi*.
2018-10-17 19:03:16 +01:00
Łukasz 'sil2100' Zemczak
4f6e5dc11e For the pc model, the name changed so we need to special case it a bit. 2018-10-11 17:12:50 +02:00
Łukasz 'sil2100' Zemczak
1498baada5 The model assertions for 18 don't actually use series=18 because that would be too logical. 2018-10-10 21:57:55 +02:00
Łukasz 'sil2100' Zemczak
c184977a90 Decide what model assertion series to fetch depending on the suite. For xenial use 16 and for others (so bionic+): 18. 2018-10-03 11:51:49 +02:00
Robert C Jennings
9f96dcb4de Add the server snap seed to the ubuntu-cpc project 2018-09-27 11:36:01 -05:00
Colin Watson
bb652c238f Merge trunk. 2018-09-19 16:24:26 +02:00
Łukasz 'sil2100' Zemczak
e547599e5a Add support for raspi3 rootfs generation for ubuntu-image consumption with all the additional changes required. 2018-09-18 11:06:16 +02:00
Michael Hudson-Doyle
e804cc4e00 a less hackish approach 2018-08-17 12:01:27 +12:00
Michael Hudson-Doyle
a261471969 a less hackish approach 2018-08-17 12:00:41 +12:00
Michael Hudson-Doyle
1aa8b9d882 ffs 2018-08-17 10:09:57 +12:00
Michael Hudson-Doyle
00151c5e0b Set PREINSTALLED=true for live-server so that universe ends up being
enabled in the image.
2018-08-16 21:28:52 +12:00
Robert C Jennings
c3f5ee6716 Disable checksum generation
These checksums are unused, integrity checking in launchpad is performed
separately.
2018-07-11 15:06:16 -05:00
Colin Watson
1e6563aa79 Merge trunk. 2018-06-29 22:07:49 +01:00
Colin Watson
baee4ed403 We know cosmic's name now. 2018-06-29 21:57:15 +01:00
Colin Watson
8b1970f661 live-build/auto/config: Drop "lp-*" hostname filter for Launchpad
builders, since LP #1747015 is now fixed; "*.buildd" should be enough.
2018-06-14 12:41:46 +01:00
Daniel Watkins
80459b6c1b ubuntu-cpc: Use linux-kvm for all amd64 minimized builds (LP: #1775472). 2018-06-06 17:19:17 -07:00
Simon Quigley
9ba04172d4 Completely drop Lubuntu Next. 2018-05-08 21:12:15 -05:00
Simon Quigley
382f17b08c Don't follow recommends. 2018-05-03 23:23:30 -05:00
Simon Quigley
480e02443e Drop seed workarounds for unbuilt Lubuntu Next. 2018-05-03 23:08:44 -05:00
Colin Watson
1fab544a84 Add init to buildd chroots, since it's needed for LXD-based builds. 2018-04-30 16:39:01 +01:00
Colin Watson
b77de06bfd Remove some unnecessary buildd configuration. 2018-04-30 09:54:28 +01:00
Colin Watson
416093beec Use a public-facing mirror URL in the final buildd /etc/apt/sources.list. 2018-04-29 21:42:41 +01:00
Colin Watson
cb22177287 Add a buildd subproject. 2018-04-27 16:07:44 +01:00
Michael Hudson-Doyle
65dd7df171 last minute pre-upload typo fix 2018-04-11 19:18:47 +12:00
Michael Hudson-Doyle
aacb8daaee merge trunk 2018-04-11 19:10:32 +12:00
Steve Langasek
c46962ca2e Refactor snap preseeding to allow additional snaps to be preseeded from
hooks
2018-04-10 15:59:31 -07:00
Robert C Jennings
73dba1f31a snap preseeding: capture Ubuntu snap seeding policy in code
When no channel is given for a pre-seeded snap, the channel
should be stable/ubuntu-XX.YY to match Ubuntu policy.

This patch adds the LB_DISTRIBUTION var to config/{binary,chroot}
to have a common way of determining the Ubuntu XX.YY version
number between hooks and auto/build.
2018-04-10 11:59:19 -05:00
Iain Lane
e68923777e merge lp:~tsimonq2/livecd-rootfs/lubuntu-seed-mangling 2018-04-03 11:56:28 +01:00
Simon Quigley
e4151ca741 Proper bash is rad, let's do it. 2018-03-25 10:10:39 -05:00
Simon Quigley
10ebe98d84 Special-case Lubuntu's seeds so that the minimal install works. 2018-03-25 10:06:13 -05:00
Dimitri John Ledkov
bfa43c1c5c On amd64, if building minimal images for bionic, xenial, or extra ppa,
use kvm kernel, otherwise fallback to virtual.
2018-03-21 11:05:46 +00:00