1848 Commits

Author SHA1 Message Date
Robert C Jennings
4144105767
Merge vagrant_40_gb_xenial into ubuntu/xenial [a=patviafore] [r=rcj]
Make Ubuntu Vagrant box 40G. (LP: #1580596)

Vagrant images were previously put at 10G, but this was a regression
from Trusty, in which they were 40G. This made it a tough sell for
users to upgrade if they were using a Ubuntu desktop experience.

This change does not impact disk usage as Vagrant with the virtualbox
provider dynamically allocates space with the VMDK. On a test system,
the VMDK took up 1.1G of disk space according to df, and after
creating a 2G file in Vagrant, the VMDK grew to 3.1G.

Therefore, users who are running on a system with little free space will
not see adverse effects if they upgrade to a new vagrant image

MP: https://code.launchpad.net/~patviafore/livecd-rootfs/+git/livecd-rootfs/+merge/384636
2020-11-20 15:25:51 -06:00
Robert C Jennings
51b616f991
Merge tarball-transform into ubuntu/xenial [a=codyshepherd] [r=rcj,vorlon]
Bring tarball and rootfs hooks in line with bionic+, and allow for ext4 image format to be built without breaking tarballs. LP: #1863024

MP: https://code.launchpad.net/~codyshepherd/livecd-rootfs/+git/livecd-rootfs/+merge/392066
2020-11-20 15:25:07 -06:00
Cody Shepherd
695b4de393
Omit file type exensions in manifest names 2020-11-20 12:41:32 -08:00
Cody Shepherd
c5102d998e
Create manifests for buildd tarballs 2020-11-20 07:52:21 -08:00
Cody Shepherd
aede5df67b
Skip jasper for buildd subproject 2020-10-26 09:40:53 -07:00
Cody Shepherd
bacc18b6b3
Change tar transform target to match changes in bionic+, allowing for
ext4 image format to be built correctly
2020-10-09 09:25:23 -07:00
Steve Langasek
02ea8c9398 releasing package livecd-rootfs version 2.408.61 2.408.61 2020-10-06 12:56:47 -07:00
Cody Shepherd
e1e3fec767
Don't install recommends for bootable buildd image 2020-10-06 10:22:12 -07:00
Cody Shepherd
c440245dba
Update changelog 2020-10-06 10:22:06 -07:00
Cody Shepherd
c9043b2697
Call function to set up resolvconf to enable DNS for buildd 2020-10-06 10:20:46 -07:00
Cody Shepherd
f7512b21a0
Remove bind9 from buildd installed packages 2020-10-06 10:20:46 -07:00
Cody Shepherd
4a9592601d
Disable buildd console output on ttyS0 2020-10-06 10:20:46 -07:00
Cody Shepherd
515bc1430b
Safely set /etc/resolv.conf to an empty file in buildd images.
In the buildd image chroot, /etc/resolv.conf is a symbolic link to
a configuration file in the /run directory. A call to truncate will
modify that file, which we should not do. Instead, we want to remove
the symbolic link and replace it with an empty file.
2020-10-06 10:20:45 -07:00
Cody Shepherd
e23685134e
* Remove explicit install of grub-efi* packages for amd64
* Remove systemd-networkd artifacts from includes.chroot
2020-10-06 10:20:45 -07:00
Cody Shepherd
7981a08c2c
Install packages and perform dist-upgrade necessary for secure xenial
bootable-buildd image
2020-10-06 10:20:44 -07:00
Cody Shepherd
2d9243e499
Fork buildd disk-image-uefi hook from the ubuntu-cpc/base/
disk-image-uefi hook; it was originally a backported fork of the hook
from the ubuntu/focal branch
2020-10-06 10:20:44 -07:00
Cody Shepherd
bd20b4321b
Set ports/archive as appropriate for default mirror 2020-10-06 10:20:43 -07:00
Cody Shepherd
0e66c9e3f0
Set a default archive mirror 2020-10-06 10:20:43 -07:00
Cody Shepherd
e30aefc83b
Only build bootable buildd images for amd64. 2020-10-06 10:20:43 -07:00
Cody Shepherd
9b93c0c613
Properly setup the chroot before using the network in buildd hook. 2020-10-06 10:20:42 -07:00
Cody Shepherd
9b1fe7a820
Fix broken DNS in buildd image builds.
Instead of injecting an empty resolv.conf with an includes.chroot, we'll
inject it in late with a hook. The empty resolv.conf breaks DNS early in
the build, and causes some binary hooks to fail
2020-10-06 10:20:42 -07:00
Cody Shepherd
a29e886fe1
Include empty resolv.conf only in buildd lxd tarballs. 2020-10-06 10:20:41 -07:00
Cody Shepherd
172a7dd55c
Add hooks to build bootable buildd images
Only install policyrd-script-zg2 in lxd tarball
2020-10-06 10:20:41 -07:00
Cody Shepherd
934cb358e1
Enable building buildd artifacts with an ext4 image target 2020-10-06 10:20:32 -07:00
Steve Langasek
33328cc7ed releasing package livecd-rootfs version 2.408.60 2.408.60 2020-09-16 13:41:32 -07:00
Steve Langasek
18bd95f937 Changelog 2020-09-16 13:41:03 -07:00
Steve Langasek
5201114a9e Merge remote-tracking branch 'codyshepherd/cpc-ubuntu-server' into ubuntu/xenial 2020-09-16 13:39:16 -07:00
Cody Shepherd
c279a93b1b
Omit --no-install-recommends flag and ubuntu-server from install 2020-09-16 13:00:55 -06:00
Cody Shepherd
78fe4394c1
Install grub-legacy-ec2 for all ubuntu-cpc (LP #1888575) 2020-09-16 11:24:58 -06:00
Pat Viafore
4e18eab233
Make Ubuntu Vagrant box 40G. (LP: #1580596)
Vagrant images were previously put at 10G, but this was a regression
from Trusty, in which they were 40G.  This made it a tough sell for
users to upgrade if they were using a Ubuntu desktop experience.

This change does not impact disk usage as Vagrant with the virtualbox
provider dynamically allocates space with the VMDK.  On a test system,
the VMDK took up 1.1G of disk space according to df, and after
creating a 2G file in Vagrant, the VMDK grew to 3.1G.

Therefore, users who are running on a system with little free space will
not see adverse effects if they upgrade to a new vagrant image
2020-05-26 09:47:05 -05:00
Robert C Jennings
c6977a7d02
Merge feature/xenial_snap_bases into ubuntu/xenial [a=rcj] [r=jchittum]
Backport snap pre-seed base support (LP: #1874834)

Xenial builds with core18-based snaps pre-seed core snap instead core18
and snapd.  This patch is a backport of snap pre-seeding functionality
that is snap base aware.

MP: https://code.launchpad.net/~rcj/livecd-rootfs/+git/livecd-rootfs/+merge/382939
2.408.59
2020-04-27 11:18:06 -05:00
Robert C Jennings
8789997c4b
Backport snap preseed base support (LP: #1874834)
Xenial builds with core18-based snaps pre-seed core snap instead core18
and snapd.  This patch is a backport of snap pre-seeding functionality
that is snap base aware.
2020-04-24 11:31:23 -05:00
Brian Murray
2738ffc1b3 Merge remote-tracking branch 'rcj/feature/snap_cohort_key-xenial' into ubuntu/xenial 2020-03-06 01:23:33 -08:00
Robert C Jennings
ace52c572b
Use a snap cohort key for consistent parallel builds (LP: #1866159) 2020-03-05 08:21:47 +01:00
Michael Hudson-Doyle
9e58a0d403 releasing package livecd-rootfs version 2.408.57 2.408.57 2019-12-19 22:42:31 +13:00
Michael Hudson-Doyle
d70309b7e0 Preserve apt preferences created by any package we install (i.e. ubuntu-advantage-tools) against live-build's attempt to delete them. (LP: #1855354) 2019-12-19 15:47:26 +13:00
Łukasz 'sil2100' Zemczak
1f4b996077 releasing package livecd-rootfs version 2.408.56 2.408.56 2019-10-30 17:31:37 +01:00
Łukasz 'sil2100' Zemczak
baf2b5bcdd Backport enabling of adding extra snaps to ubuntu-core images via the EXTRA_SNAPS environment 2019-10-30 17:30:10 +01:00
Adam Conrad
2a5370e7b6 releasing package livecd-rootfs version 2.408.55 2.408.55 2019-10-08 16:05:46 -06:00
Robert C Jennings
53e8eeaee3
magic-proxy: dump proxy log to stdout on failure (LP: #1847300)
When we encounter a failure in 'lb binary' the launchpad builders can
only surface the build output from stdout.  If the binary hook failure
implicates the archive we can not determine fault without the apt
proxy log.  This patch will dump the proxy log to stdout to aid in
debugging these failures.
2019-10-08 11:02:30 -05:00
Colin Watson
24e1ea3bc2 releasing package livecd-rootfs version 2.408.54 2.408.54 2019-09-26 10:54:28 +01:00
Colin Watson
27ef9b07b4 Fix /dev/ptmx rather than excluding makedev
Revert exclusion of makedev from buildd chroots, as it turned out not to
be the problem.  Instead, fix up /dev/ptmx to be a character device node
rather than a symlink to /dev/pts/ptmx, in line with the discussion in
https://bugs.debian.org/817236; I think this is safer than
cherry-picking the fix to debootstrap at this point in a stable release
cycle.

LP: #1844504
2019-09-26 10:32:04 +01:00
Colin Watson
684c0c6888 releasing package livecd-rootfs version 2.408.53 2.408.53 2019-09-24 15:06:16 +01:00
Colin Watson
6049019a8b Fix exclusion of makedev from buildd chroots
debootstrap doesn't respect --exclude for "Priority: required" packages,
so we have to purge makedev later.

LP: #1844504
2019-09-24 14:31:40 +01:00
Colin Watson
ca8e2b2c7b releasing package livecd-rootfs version 2.408.52 2.408.52 2019-09-18 11:02:33 +02:00
Colin Watson
ca945b9a34 Add reference to LP: #1844504 2019-09-18 10:59:24 +02:00
Colin Watson
566b3f3a3e Exclude makedev from buildd chroots
It was historically excluded, and apparently breaks some builds (e.g.
mir).
2019-09-17 13:42:33 +02:00
Łukasz 'sil2100' Zemczak
badff9dcb7 releasing package livecd-rootfs version 2.408.51 2.408.51 2019-09-12 10:52:02 +02:00
Robert C Jennings
ae9b91d124
ubuntu-cpc: use sys.exit() rather than quit() 2019-08-30 14:05:09 -05:00
Robert C Jennings
c3d1a92933
ubuntu-cpc: remove unused final.binary hook support
Right now this is a solution looking for a problem as the implementation
no longer relies on it.
2019-08-30 14:05:08 -05:00