2171 Commits

Author SHA1 Message Date
Steve Langasek
4ca92b04a7 Drop /etc/update-motd.d/51-cloudguest from cloud images; this is not consistent with current Ubuntu Advantage product language. Any future customizations to update-motd for cloud images should be done via a package instead. 2019-03-12 11:47:01 -07:00
Steve Langasek
8deb87f037 releasing package livecd-rootfs version 2.568 2019-03-11 18:14:53 -07: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
Tobias Koch
3cebce2fb9 snap-tool: exit non-zero if problem occurred 2019-02-27 10:17:38 +01:00
Julian Andres Klode
d8962ee22f releasing package livecd-rootfs version 2.567 2019-02-27 09:02:17 +01:00
Julian Andres Klode
b0684bbeee Fix change to ignore ubiquity packages, it failed to mark anything as automatic. 2019-02-27 09:02:10 +01:00
Julian Andres Klode
57d23cf034
releasing package livecd-rootfs version 2.566 2019-02-26 08:57:23 +01:00
Tobias Koch
3a294f5b50 magic-proxy: return 404 when InRelease file cannot be found "by hash"
When the magic-proxy script could not find a valid InRelease file for the
configured timestamp, it would fall back to serving the canonical version
of it. This meant that builds would succeed, even though snap-shotting the
repository failed.

This update makes the script return HTTP 404 when an InRelease by-hash
link for a given combination of mirror, suite and timestamp cannot be
found.
2019-02-26 08:43:34 +01:00
Julian Andres Klode
b2db5bf365 Do not mark direct dependencies of ubiquity as auto installed
This caused cryptsetup to remain auto on the installed system

LP: #1801629
2019-02-22 11:00:14 +01:00
Steve Langasek
e8f064324b releasing package livecd-rootfs version 2.565 2019-02-20 08:26:22 +01:00
Steve Langasek
1053349a32 Drop python3-minimal alternate dependency; nothing should depend on python3-minimal. 2019-02-20 08:26:11 +01:00
Steve Langasek
d314a8c9b1 Also drop dependency on python. 2019-02-20 08:24:46 +01:00
Steve Langasek
5e6f65e374 releasing package livecd-rootfs version 2.564 2019-02-19 08:28:59 +01:00
Steve Langasek
7e4a2627ed Use python3 vmdkstream exclusively; we should not fall back to python2. 2019-02-18 18:06:01 +01:00
Colin Watson
b5ff7a0618 releasing package livecd-rootfs version 2.563 2019-02-18 15:58:19 +00:00
Colin Watson
3b22ad381a Make sure buildd images have a /usr/sbin/policy-rc.d symlink
Installing policyrcd-script-zg2 doesn't quite do this because of the way
that live-build installs its own temporary version of policy-rc.d.  The
only remotely sensible way I can see to deal with this is to create the
symlink manually.
2019-02-18 14:58:59 +00:00
Dimitri John Ledkov
5376c013a7
releasing package livecd-rootfs version 2.562 2019-02-18 12:01:55 +01:00
Dimitri John Ledkov
a77ec4a9df
Add python3 vmdkstream support 2019-02-18 12:01:25 +01:00
Dimitri John Ledkov
89dee6610d
subiquity: make subiqutiy_config.mount optional 2019-02-18 10:27:16 +01:00
Łukasz 'sil2100' Zemczak
cd6a85cfde releasing package livecd-rootfs version 2.561 2019-02-07 12:40:44 +01: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
3cf7de97cc Update changelog 2019-02-05 19:51:38 +07:00
Balint Reczey
96cc185813 Merge feature/parallelization-snap-version-fixing 2019-02-05 17:06:24 +07:00
Balint Reczey
9f532ad4cf Update changelog 2019-02-05 17:04:08 +07:00
Tobias Koch
eabe867003 Bugfix: specify channel when requesting snap info 2019-02-05 10:05:15 +01: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
Didier Roche
7d42c3f4b4 releasing package livecd-rootfs version 2.559 2019-02-01 08:05:48 +01:00
Michael Hudson-Doyle
ae04fee7c2 changelog entry 2019-02-01 17:22:25 +13:00
Łukasz 'sil2100' Zemczak
ff860d4717 releasing package livecd-rootfs version 2.558 2019-01-21 10:34:03 +01:00
Łukasz 'sil2100' Zemczak
b3dd27aedd Use linux-firmware-raspi2 instead of raspi3-firmware. 2019-01-18 17:10:11 +01:00
Colin Watson
8465a11865 releasing package livecd-rootfs version 2.557 2019-01-16 12:52:29 +00:00
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
48f98803bd releasing package livecd-rootfs version 2.556 2019-01-11 11:34:35 +01:00
Łukasz 'sil2100' Zemczak
a140fdcd5a Bump the timestamp 2019-01-11 11:25:30 +01: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
480eab7e32 releasing package livecd-rootfs version 2.555 2019-01-10 22:58:28 +01:00
Łukasz 'sil2100' Zemczak
abec4f4c1d Link to the proper name instead. 2019-01-10 22:58:07 +01:00
Łukasz 'sil2100' Zemczak
7a2a551ca0 releasing package livecd-rootfs version 2.554 2019-01-09 10:48:11 +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
75fa8802ec releasing package livecd-rootfs version 2.553 2019-01-07 21:24:38 +00:00
Colin Watson
46942330d8 Move buildd image building to binary hooks 2018-12-20 01:20:57 +00:00
Colin Watson
082a2046e7 Add a LXD image to builds for the buildd subproject 2018-12-19 22:11:16 +00:00
Michael Hudson-Doyle
65397a6e62 releasing package livecd-rootfs version 2.552 2018-12-19 11:00:20 +13:00
Michael Hudson-Doyle
625ace8483 Do not include curtin in the live-server installer.squashfs as the version of subiquity that includes it in the snap has now been released to stable. 2018-12-18 15:18:04 +13: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
d6444ffe6e releasing package livecd-rootfs version 2.551 2018-12-17 20:27:29 +13:00
Michael Hudson-Doyle
b461b15ccd changelog typo 2018-12-17 14:02:35 +13:00