783 Commits

Author SHA1 Message Date
Łukasz 'sil2100' Zemczak
1e275b6b46 Append seeded snaps to manifests for all images. 2019-07-02 11:39:07 +02:00
Dimitri John Ledkov
124d074101 Unbreak cpc/server builds, by ensuring that includes are copied with archived symlinks, and only hooks resolve symlinks when getting copied. 2019-06-20 23:27:36 +01:00
Colin Watson
dc85df854b Add tzdata to buildd images
It isn't strictly build-essential, but it has traditionally been present
in both Debian and Ubuntu, and a variety of things fail without it.
2019-06-19 17:20:54 +01:00
David Krauser
0e3b1e206b
Add support for HyperV Gallery images 2019-06-11 23:26:07 -04:00
Dimitri John Ledkov
d7b629cae6 Do not force lzma on ubuntu-core builds, the compress format default should be set universally inside initramfs-tools-ubuntu-core package instead of getting duplicated multiple times all over the place. 2019-06-05 13:50:20 +01:00
Dimitri John Ledkov
3d36dc0794 Stop overriding initramfs compression default to lzma. LP: #1831736 2019-06-05 13:47:09 +01:00
Dimitri John Ledkov
11756d2d1e Fix typpo when dropping jasper. 2019-06-04 23:51:50 +01:00
Dimitri John Ledkov
de1055de29 Merge branch 'dead-ubuntu-rtm' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2019-06-04 23:43:52 +01:00
Dimitri John Ledkov
702ccb4c77 Merge branch 'dead-ubuntu-touch' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2019-06-04 23:42:31 +01:00
Dimitri John Ledkov
af96b80116 Merge branch 'dead-ubuntu-desktop-next' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2019-06-04 23:40:37 +01:00
Dimitri John Ledkov
97adf4c160 Merge branch 'drop-old-arm' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2019-06-04 23:39:44 +01:00
Dimitri John Ledkov
b0312baeb7 Merge branch 'dead-jasper' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2019-06-04 23:38:32 +01:00
Dimitri John Ledkov
1a3eaf75c8 Merge branch 'dead-wubi' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2019-06-04 23:37:47 +01:00
Łukasz 'sil2100' Zemczak
e3b7b319c1 Merge branch 'uc18-kassel' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master
Bumped the changelog entry timestamp.
2019-05-31 10:42:11 +02:00
Dimitri John Ledkov
d56653396d Drop ubuntu-rtm configs 2019-05-30 12:20:12 +01:00
Dimitri John Ledkov
44fd9ba9fd Drop ubuntu-touch configs 2019-05-30 12:13:31 +01:00
Dimitri John Ledkov
2aa3a59b7c Drop ubuntu-desktop-next configs 2019-05-30 12:00:59 +01:00
Dimitri John Ledkov
5b89298cd9 Drop old arm platforms. 2019-05-30 11:49:06 +01:00
Dimitri John Ledkov
c596d3d376 Drop dead jasper subproject. 2019-05-30 11:09:46 +01:00
Dimitri John Ledkov
6d02eac861 Drop dead wubi subproject. 2019-05-30 11:04:40 +01:00
Steve Langasek
c306763147 Strip translation files out of the minimal images.
This is another thing that goes unused when there is no human console user
(and we already don't have the locales themselves present on a minimal
image).

Bug-Ubuntu: https://bugs.launchpad.net/bugs/1829333
2019-05-17 18:25:21 +02:00
Julian Andres Klode
bed915a0fb Don't purge busybox-static in minimized, no longer installed
This caused the builds to fail because we were purging are non
existing package.
2019-05-13 14:22:53 +02:00
Michael Hudson-Doyle
42992467a1 Remove device nodes later for ubuntu-base:minimized (i.e. docker) builds. (LP: #1828118) 2019-05-08 10:04:23 +12:00
Julian Andres Klode
e95ad81c47 Run clean_debian_chroot after minimize_manual
This avoids us having apt cache files in the final image.

For auto/build, we move the call to clean_debian_chroot to the end,
this also takes care of the caches generated by apt-get update
in case of a preinstalled-pool.

For layered, it's just a simple swap of the lines.

LP: #1826377
2019-04-25 11:51:30 +02:00
Steve Langasek
b83f70a2ea Add support for the 'kassel' subflavor of UC18 images. 2019-04-19 15:24:45 -07:00
Tobias Koch
05e71b3840 Do not include any snaps in ubuntu-cpc:minimized builds 2019-04-12 13:37:02 -07:00
Balint Reczey
2d162dd121 Pass --sort=name to tar to make tarballs more reproducible and rsync-friendly 2019-04-10 14:38:35 +02:00
Didier Roche
b20cf752e6 Add languages to live pass
The name of the pass is live and not "ubuntu-live" which is the live pass
default task.
2019-03-20 17:10:05 +01:00
Didier Roche
995f3cf9e0 Ensure default langpacks are removed after installation
Add langpacks to live tasks to have them in the ubiquity diff file and
thus, purged after installation if not selected. (LP: #1818890)
2019-03-18 09:45:47 +01:00
Jean-Baptiste Lallement
38bb0b3301 Fix grub divert for multilayer images
grub-probe must not be called during image build so grub is diverted. In
multilayer image the chroot is always the tip of the filesystem, so we
divert grub at the beginning of each pass and undivdert it as the end.
For flat images, it's diverted just before building the chroot and
undiverted after.
2019-03-18 09:33:07 +01:00
Steve Langasek
ea5f01942f divert grub when calling into lb chroot
UbuntuStudio image builds have recently begun failing as a result of adding a
grub theme customization to their flavor, which they then try to apply by
running update-grub from their maintainer scripts.  This fails with:

  Setting up plymouth-theme-ubuntustudio (0.57) ...
  update-alternatives: using /usr/share/plymouth/themes/ubuntustudio-logo/ubuntustudio-logo.plymouth to provide /usr/share/plymouth/themes/default.plymouth (default.plymouth) in auto mode
  update-alternatives: using /usr/share/plymouth/themes/ubuntustudio-text/ubuntustudio-text.plymouth to provide /usr/share/plymouth/themes/text.plymouth (text.plymouth) in auto mode
  update-initramfs: diverted by livecd-rootfs (will be called later)
  /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
  dpkg: error processing package plymouth-theme-ubuntustudio (--configure):
   installed plymouth-theme-ubuntustudio package post-installation script subprocess returned error exit status 1

Packages providing grub themes should be able to call update-grub from their
maintainer scripts, and they should be able to be installed under
livecd-rootfs.  It's surprising to me that this hasn't been a problem before
now for any flavors.

We know that grub-probe should not be called as part of an image build, so
just use our standard helper function to divert it before running the chroot
stage and undivert it after.
2019-03-09 20:08:29 +00:00
Łukasz 'sil2100' Zemczak
8c8b7164d4 Support building pi3-arm64 core18 images. At the same time, make sure we still use the right gadget tree repository for the classic arm64 pi3 image. 2019-02-06 18:11:27 +01:00
Balint Reczey
039ed8ec31 Merge fixing minimized text spacing 2019-02-06 17:55:10 +07:00
Balint Reczey
0182d380ca Nicely separate motd text about minimizing from texts above 2019-02-05 17:24:09 +07:00
Balint Reczey
a06d208871 Merge branch feature/parallelization-pkg-version-fixing 2019-02-04 23:03:56 +07:00
Colin Watson
305d5cef50 Drop code to handle buildd images for <disco
We'll deal with those in stable updates instead.
2019-02-01 18:07:58 +00:00
Colin Watson
36af2769dc Disable merged /usr in buildd images
Otherwise we might end up building packages with hardcoded paths that
assume a merged /usr.
2019-02-01 18:03:20 +00:00
Tobias Koch
5b70d86f5c Inject a proxy into the build providing a snapshot view of the package repo.
When the REPO_SNAPSHOT_STAMP variable is set, the auto/build script will attempt
to launch a transparent HTTP proxy on port 8080, and insert an iptables rule to
redirect all outgoing HTTP requests to this proxy.

The proxy, contained in the `magic-proxy` Python script, examines each request
and silently overrides those pointing to InRelease files or files that are
listed in InRelease files. It will instead provide the contents of the requested
file as it was at REPO_SNAPSHOT_STAMP, by downloading the corresponding asset
"by hash".
2019-02-01 11:26:20 +01:00
Michael Hudson-Doyle
a9991a908e revert change to ubuntu-server:live snap seeding 2019-02-01 17:22:25 +13:00
Jean-Baptiste Lallement
f84d92d76f Calculate total size of the image + typos 2019-01-30 12:29:57 +01:00
Jean-Baptiste Lallement
3db920c40c Fixed quoting of subproject variable 2019-01-30 12:29:57 +01:00
Jean-Baptiste Lallement
52d9bd3ead Run live specific scripts on non live layers
Allow execution of lb_binary_linux-image and lb_chroot_live-packages on
any layer by setting LIVE_PASSES.
2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
283871573d Changed the naming scheme for multi layer images to dot format 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
addef92e23 Decouple from ubuntu-cdimage & debian-cd landings
We don't want to regress the ubuntu desktop traditional image when
livecd-rootfs lands uncordinated with ubuntu-cdimage & debian-cd.
Decoupling enables us to:
- land livecd-rootfs (no change for ubuntu-desktop project,
ubuntu-desktop:ubiquity-ng can be tested once the 2 others branches
lands)
- land ubuntu-cdimage & debian-cd for publishing any arbitrary squashfs
names
- finally, revert that commit and land it in livecd-rootfs to transform
the traditional ubuntu-desktop image to a layered approach.
2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
2d2ce6eea4 Rename chroot.$PASS -> overlay.$PASS 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
e0d30dd2d3 Fixed substract -> subtract 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
41becb0af7 Ensure snaps are available on ubuntu-server live 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
3075d65578 Cleanup and handle manifest-remove files
manifest-remove files are generated in all cases and removed for
projects/subprojects that don't need it like the new ubiquity.
2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
9dba350834 Added lb_binary_layered
Created lb_binary_layered based on lb_binary
Factorized several helpers
These helpers are called from lb_chroot
2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
43ec452fa0 Moved reusable functions to functions
Moved functions to reuse in lb_binary and lb_chroot to functions
2019-01-30 12:29:56 +01:00