2527 Commits

Author SHA1 Message Date
Łukasz 'sil2100' Zemczak
ee700c1f44 releasing package livecd-rootfs version 2.578.10 2.578.10 2019-11-05 20:18:03 +01:00
David Krauser
68e56a233e Updating changelog for hyperv gallery images. 2019-10-09 16:12:31 -04:00
David Krauser
7ca1312c09 Fixing broken binary hook symlinks for hyperv gallery image builds. 2019-10-09 16:12:31 -04:00
Dimitri John Ledkov
ba29aa2120 Unbreak cpc/server builds, by ensuring that includes are copied with archived symlinks, and only hooks resolve symlinks when getting copied. 2019-10-09 16:12:31 -04:00
David Krauser
86eb0e9916 Add support for HyperV Gallery images 2019-10-09 16:12:31 -04:00
Adam Conrad
626bc6dd8d releasing package livecd-rootfs version 2.578.9 2.578.9 2019-10-08 15:56:27 -06:00
Robert C Jennings
23fa3735c8
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:01:21 -05:00
Łukasz 'sil2100' Zemczak
bb5e5126d2 releasing package livecd-rootfs version 2.578.8 2.578.8 2019-09-12 10:51:15 +02:00
Robert C Jennings
be0b42c329
ubuntu-cpc: use sys.exit() rather than quit() 2019-08-28 20:22:08 -05:00
Robert C Jennings
4a7866254e
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-28 20:22:08 -05:00
Robert C Jennings
740c6ab42b
ubuntu-cpc: rework image artifact cleanup
The livecd.ubuntu-cpc.ext4 that is present in each build (plus kernel
and initrd) are not renamed from /build/binary/boot/filsystem.ext4
and friends until after the binary hooks are run, so this patch moves
from trying to perform this cleanup in a binary hook.  Now the cleanup
will be run at the end of live-build/binary for the ubuntu-cpc project.
2019-08-28 20:22:08 -05:00
Robert C Jennings
0d56c46d24
ubuntu-cpc: Only produce explicitly named artifacts (LP: #1837254)
In parallel builds where a list of image targets are provided the build
may produce binaries that are not part of the named set of targets but
are created by series dependencies.  These implicitly created binaries
may be generated by multiple builds but are unused as our convention for
the ubuntu-cpc project is to only consume binaries from the explicitly
named image targets; this avoid overwriting the same object by multiple
parallel builds.

This patch adds support for a 'provides' keyword for series files. It can
be specified multiple times per series file.  The field is used by the
make-hooks script to generate a list of output files created explicitly by
the named image targets.  The list is saved to the "explicit_provides"
file in the hooks output directory. In the case of the "all" target
this list would be empty.  This list is consumed by the "final.binary"
hook file.

This patch adds support for optional final.binary hooks in hooks.d/base
and/or hooks.d/extra.  These final.binary hooks are always included as
the last hook(s) if either exist with the hook in "extra" running last.

The base/final.binary hook includes logic to parse the "explicit_provides"
file generated by the make-hooks script and remove any binary output not
explicitly specified.

Some series files named unnecessary dependencies, specifically
disk-image, to keep output of implicit artifacts consistent between
parallel builds.  These unnecessary dependencies are removed in this
patch.
2019-08-28 20:22:07 -05:00
Tobias Koch
e00b7fa1dc Add retry logic to snap-tool to make downloads more resilient
LP: #1837871
2019-08-26 13:43:43 +02:00
Iain Lane
5a088d522f
Update changelog to fix c+p fail 2.578.6 2019-07-16 16:27:13 +01:00
Iain Lane
0d54091641
Finalise changelog 2019-07-16 13:20:54 +01:00
Iain Lane
e81e8e55b8
Update changelog 2019-07-16 13:20:48 +01:00
Iain Lane
b7e6aee81b
live-build/functions: Seed core again on non-minimized builds
This is apparently still required; without it snapd gives an error
message like:

  stateengine.go:102: state ensure error: devicemgr: cannot proceed without seeding "core"

(cherry picked from commit 7f07cc899192b33c0eded30ffa514a6581df046e)
2019-07-16 13:17:08 +01:00
Michael Vogt
2dbda09b6a
Run "snap debug validate-seed" to do basic validation of the generated seed.yaml
(cherry picked from commit b208ded59ea9e54ad42bd071a39cebe2e4809aa4)

Signed-off-by: Iain Lane <iain.lane@canonical.com>
2019-07-16 13:16:57 +01:00
Tobias Koch
a1302a4a91
Backport error-checking on determining snap bases
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1828500

Signed-off-by: Iain Lane <iain.lane@canonical.com>
(cherry picked from commit 51ef72e5b97820e7e6529903ee18270c87491609)
2019-07-16 13:14:27 +01:00
Steve Langasek
bddc32b01f releasing package livecd-rootfs version 2.578.5 2.578.5 2019-05-30 12:13:58 -07:00
Steve Langasek
e528a8eabd 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-30 12:13:50 -07:00
Balint Reczey
ba8797dc16 Update changelog 2019-05-24 12:43:19 +02:00
Balint Reczey
4931523fc1 Merge lp:~rbalint/livecd-rootfs -b wsl-disco 2019-05-24 12:40:21 +02:00
Steve Langasek
50ca382be5 releasing package livecd-rootfs version 2.578.4 2.578.4 2019-05-23 13:33:45 -07:00
Robert C Jennings
367e9fbfeb
magic-proxy: Send headers on error (LP: #1829944) 2019-05-21 19:22:35 -05:00
Steve Langasek
24e39d6844 releasing package livecd-rootfs version 2.578.3 2.578.3 2019-05-21 15:19:37 -07:00
Robert C Jennings
2fecd44890
ubuntu-cpc: Allow comments in series files and add comments
The addition of disk-image to series files in a prior commit required
some explanation.  Without comment support in series files that was
not possible.  This patch adds support for comments and adds those
comments as well.
2019-05-20 22:14:05 -05:00
Robert C Jennings
00b995c7e2
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-20 22:14:05 -05:00
Robert C Jennings
f493132f90
ubuntu-cpc: Fixup comment references to file names post-parallelization 2019-05-20 22:13:23 -05:00
Balint Reczey
edbbc23970 Build WSL rootfs tarball
LP: #1827930
2019-05-17 16:40:31 +02:00
Michael Hudson-Doyle
51bd9d5b4a releasing package livecd-rootfs version 2.578.2 2.578.2 2019-05-08 10:44:02 +12:00
Michael Hudson-Doyle
523a964b64 Remove device nodes later for ubuntu-base:minimized (i.e. docker) builds. (LP: #1828118) 2019-05-08 10:43:49 +12:00
Julian Andres Klode
a3dac25d86 releasing package livecd-rootfs version 2.578.1 2.578.1 2019-04-26 10:34:17 +02: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
d5c0bd170b releasing package livecd-rootfs version 2.578 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 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
79e3123053 Make snapd-explicit-install-stamp a part of the image 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
Balint Reczey
04e5864c51 Merge ~rbalint/livecd-rootfs:ubuntu/master 2019-04-12 17:33:45 +02: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
Łukasz 'sil2100' Zemczak
b952a0c243 releasing package livecd-rootfs version 2.576 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 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 2.574 2019-03-21 22:51:27 +00:00
Dimitri John Ledkov
036d7d2949
Make serial-subiquity@ use the same codepath as tty1 subiquity.
Such that subiquity runs in the correct environment.
Depends on: https://github.com/CanonicalLtd/subiquity/pull/428
2019-03-21 12:27:15 +00:00
Didier Roche
a44c468a6c releasing package livecd-rootfs version 2.573 2.573 2019-03-20 17:11:39 +01:00