2053 Commits

Author SHA1 Message Date
Dimitri John Ledkov
9d7b6a8e7e Drop maas hook from server-live. 2019-05-16 13:09:25 +02:00
Dimitri John Ledkov
ba49d6db5f Use snap-tool to seed subiquity snap. 2019-05-16 13:03:30 +02:00
Julian Andres Klode
66e382d73b releasing package livecd-rootfs version 2.582 2019-05-13 14:23:08 +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
d4923801ca releasing package livecd-rootfs version 2.581 2019-05-08 10:35:28 +12: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
Robert C Jennings
05850394d7
ubuntu-cpc: Ensure base disk image is the same between all build targets
The following targets have livecd.ubuntu-cpc.manifest (and
livecd.ubuntu-cpc.ext4) which differ in some way from the 'all'
target. They are all missing grub-efi and other modifications:

root-dir
squashfs
tarball

These targets do not depend on the 'disk-image' target. This means that
the ext4 produced will lack the uefi modifications (and any from the
disk-image target binary hooks).

Since the ext4 file is common to all builds there is a chance that a
parallel build from one of these targets could overwrite this artifact.
This patch ensures that all targets will produce consistent base output.
2019-05-02 16:04:10 -05:00
Julian Andres Klode
263cc6f453 releasing package livecd-rootfs version 2.580 2019-04-26 10:30:18 +02:00
Julian Andres Klode
ffd06b6e09 Merge branch 'minimize-manual-earlier' of lp:~juliank/livecd-rootfs into ubuntu/master 2019-04-26 10:29:25 +02:00
Dimitri John Ledkov
0fe925b591
releasing package livecd-rootfs version 2.579 2019-04-25 17:07:19 +01:00
Dimitri John Ledkov
d13964805e
Fix ubuntu-server-live images to generate initrd with casper UUID. Whilst configs are sources, the variables are not exported into the environment by default. Thus when casper hook is executed, it had no idea that it should generate UUID. 2019-04-25 17:07:02 +01: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
Steve Langasek
d5c0bd170b releasing package livecd-rootfs version 2.578 2019-04-13 02:13:22 -07:00
Steve Langasek
39f2558b96 Fix the sed script that Tobias had right in the first place and I mangled in the previous upload. 2019-04-13 02:13:17 -07:00
Steve Langasek
85b7813ff8 releasing package livecd-rootfs version 2.577 2019-04-12 13:38:45 -07:00
Steve Langasek
f4fa240ed7 Adjust sed command for clarity. 2019-04-12 13:37:02 -07:00
Tobias Koch
796211dde7 If image has core18 snaps only, automatically preseed snapd 2019-04-12 13:37:02 -07:00
Tobias Koch
05e71b3840 Do not include any snaps in ubuntu-cpc:minimized builds 2019-04-12 13:37:02 -07:00
Łukasz 'sil2100' Zemczak
b952a0c243 releasing package livecd-rootfs version 2.576 2019-04-10 10:28:25 +02:00
Łukasz 'sil2100' Zemczak
e779a202c5 Merge branch 'feature/snap-tool-prefer-stable-for-core' of https://git.launchpad.net/~tobijk/livecd-rootfs/+git/livecd-rootfs into ubuntu/master 2019-04-09 18:31:27 +02:00
Mathieu Trudel-Lapierre
c6c7d5618a releasing package livecd-rootfs version 2.575 2019-04-01 14:30:02 -04:00
Robert C Jennings
a45342f269
ubuntu-cpc: avoid duplicate snaps listed in qcow manifest
commit a993592 introduced an additional call to create_manifest
(and snap-seed-parse) to write binary/boot/filesystem.packages. This
caused duplicate snap lines in the qcow manifest. This is because the
live-build/auto/binary code assumes that after 'lb binary' is run the
filesystem.packages will only have debs and it calls snap-seed-parse to
add them to the file. The commit changed filesystem.packages in the
ubuntu-cpc uefi binary hook to include debs and snaps.

This patch keeps the intent of the prior patch, updating the
filesystem.packages file for the content of the uefi disk image, but
only writes a listing of debian packages to match the expected content
of filesystem.packages.  The snaps will still be added in generic code
in live-build/auto/build.
2019-03-29 15:39:47 -05:00
Dimitri John Ledkov
2db7f01a58
releasing package livecd-rootfs version 2.574 2019-03-21 22:51:27 +00:00
Didier Roche
a44c468a6c releasing package livecd-rootfs version 2.573 2019-03-20 17:11:39 +01:00
Tobias Koch
79ed860c5e snap-tool info prints out the base 2019-03-20 17:00:58 +01:00
Tobias Koch
ee4fc93b06 snap-tool: prefer 'stable' channel over 'stable/ubuntu-X.X' for core snaps
When the "snap-tool" script encounters a core snap it will switch to
the "stable" channel if the channel was set to "stable/ubuntu-X.X". This
ensures that core snaps always come from one canonical source.
2019-03-20 14:58:01 +01:00
Dimitri John Ledkov
1f5c21fd12
releasing package livecd-rootfs version 2.572 2019-03-20 00:58:27 +00:00
Dimitri John Ledkov
2adae2ef2c
releasing package livecd-rootfs version 2.571 2019-03-18 14:21:52 +00:00
Didier Roche
ad4f8f745c releasing package livecd-rootfs version 2.570 2019-03-18 09:59:22 +01:00
Didier Roche
73bf25a664 releasing package livecd-rootfs version 2.570 2019-03-18 09:58:58 +01:00
Steve Langasek
41c342ebe2 releasing package livecd-rootfs version 2.569 2019-03-14 10:05:54 -07:00
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