2604 Commits

Author SHA1 Message Date
Łukasz 'sil2100' Zemczak
5439131162 releasing package livecd-rootfs version 2.603 2.603 2019-07-23 09:28:59 +02:00
Robert C Jennings
0afb887cb7
ubuntu-cpc: use sys.exit() rather than quit() 2019-07-22 11:29:04 -05:00
Robert C Jennings
5083d76835
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-07-22 11:29:04 -05:00
Robert C Jennings
cb535805d7
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-07-22 11:29:04 -05:00
Robert C Jennings
14b7f62b17
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-07-22 11:29:04 -05:00
Tobias Koch
6c4b2f1b1f Add retry logic to snap-tool to make downloads more resilient 2019-07-22 10:58:42 +02:00
Dimitri John Ledkov
16ab0a40fc releasing package livecd-rootfs version 2.602 2.602 2019-07-18 14:07:30 +01:00
Dimitri John Ledkov
2550b1dda7 Merge branch 'fix-hyperv-links' of git+ssh://git.launchpad.net/~davidkrauser/livecd-rootfs/+git/livecd-rootfs into ubuntu/master 2019-07-18 14:06:22 +01:00
David Krauser
5a2b49950a Fixing broken binary hook symlinks for hyperv gallery image builds. 2019-07-17 15:27:06 -04:00
Iain Lane
c623a7ee3e
Finalise changelog 2.601 2019-07-16 11:30:31 +01:00
Iain Lane
d712c068e6
Update changelog 2019-07-16 10:28:26 +01:00
Iain Lane
979dbde6a2
Fix slight whitespace error 2019-07-16 10:27:47 +01:00
Iain Lane
b208ded59e
Merge branch 'snap-validate-seed' of git+ssh://git.launchpad.net/~mvo/livecd-rootfs into ubuntu/master 2019-07-16 10:27:27 +01:00
Michael Vogt
4fb73c2b19 functions: use CHROOT_ROOT in snap_preseed 2019-07-16 08:29:09 +02:00
Michael Vogt
248efab2fd live-build: move snap seed validation into snap_preseed 2019-07-15 20:12:33 +02:00
Michael Vogt
ac717bff40 live-build: move snap seed validation into preinstall_snaps (thanks to rcj) 2019-07-15 17:32:28 +02:00
Iain Lane
bc36d4a3f7
Finalise changelog 2.600 2019-07-15 16:28:27 +01:00
Iain Lane
4319b217f6
Update changelog 2019-07-15 16:28:27 +01:00
Iain Lane
7f07cc8991
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"
2019-07-15 16:15:31 +01:00
Tobias Koch
18468c4218 Check exit status of snap-tool info call while determining base snap 2019-07-15 07:49:59 +02:00
Michael Vogt
8bc09a160b Run "snap debug validate-seed" to do basic validation of the geerated seed.yaml 2019-07-12 17:55:16 +02:00
Łukasz 'sil2100' Zemczak
7ec97a627a releasing package livecd-rootfs version 2.599 2.599 2019-07-03 15:38:52 +02:00
Łukasz 'sil2100' Zemczak
bf80f2100b Add changelog entry. 2019-07-02 11:43:10 +02:00
Łukasz 'sil2100' Zemczak
1e275b6b46 Append seeded snaps to manifests for all images. 2019-07-02 11:39:07 +02:00
Julian Andres Klode
b716446b34 releasing package livecd-rootfs version 2.598 2.598 2019-06-24 17:55:47 +02:00
Julian Andres Klode
4c053597b4 Change minimize-manual to read package section from version
Change minimize-manual to read package section from version instead of
package objects, fixing compatibility with (python-)apt 1.9.0.
2019-06-24 17:54:39 +02:00
Dimitri John Ledkov
3a90e5f8f3 releasing package livecd-rootfs version 2.597 2.597 2019-06-20 23:28:00 +01: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
Dimitri John Ledkov
095c8f4696 Install s390-tools-zkey into the installer layer for zkey support in subiquity. 2019-06-20 23:26:13 +01:00
Colin Watson
2fb9773476 releasing package livecd-rootfs version 2.596 2.596 2019-06-19 23:22:46 +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
Steve Langasek
93471ebb1f releasing package livecd-rootfs version 2.595 2.595 2019-06-15 11:09:55 -07:00
Steve Langasek
796a89a3c0 Remove dangling symlink /usr/lib/systemd/system/local-fs.target.wants/media-region.lower.mount. It's unclear why this has just started causing build failures, but the symlink should have been removed in 2.592 with the rest of the MAAS stuff. 2019-06-15 11:09:45 -07:00
Tiago Stürmer Daitx
04d08e6ca9
releasing package livecd-rootfs version 2.594
Signed-off-by: Tiago Stürmer Daitx <tdaitx@gmail.com>
2.594
2019-06-12 14:49:12 -03:00
Tiago Stürmer Daitx
bc4534c192
Merge davidkrauser/hyperv-gallery-images: Add support for HyperV Gallery images
Source: ~davidkrauser/livecd-rootfs/+git/livecd-rootfs:hyperv-gallery-images

Modifications: update debian/changelog to merge entries and use 2.594
as the version.

Signed-off-by: Tiago Stürmer Daitx <tdaitx@gmail.com>
2019-06-12 10:13:47 -03:00
David Krauser
0e3b1e206b
Add support for HyperV Gallery images 2019-06-11 23:26:07 -04:00
Tiago Stürmer Daitx
f2bbe1fd85
Merge patviafore/linux_kvm_image: Add linux-kvm image
We are creating a derivative of disk-image, replacing the kernel with
linux-kvm, removing initramfs, and creating a qcow2 image.

Source: ~patviafore/livecd-rootfs/+git/livecd-rootfs:linux_kvm_image

Modifications: fixed conflict in debian/changelog entry and bumped
version.

Signed-off-by: Tiago Stürmer Daitx <tdaitx@gmail.com>
2019-06-11 22:17:20 -03:00
Pat Viafore
b57455fecd
Changing series to UNRELEASED 2019-06-11 17:27:20 -05:00
Łukasz 'sil2100' Zemczak
3e98eb94db releasing package livecd-rootfs version 2.593 2.593 2019-06-07 14:37:43 +02:00
Łukasz 'sil2100' Zemczak
b74d703c70 The changelog entry should be UNRELEASED. 2019-06-07 14:34:51 +02:00
Łukasz 'sil2100' Zemczak
d830cfccee Merge Dave's changes: Use boot-partition for c-i seed on RPi
Configure cloud-init to look for its seed in the vFAT boot partition on
raspberry pi images; the corresponding gadget is configured to place the
user-data, meta-data, and network-config files there.

Source: ~waveform/ubuntu/+source/livecd-rootfs:cloud-init-boot
2019-06-07 14:31:57 +02:00
Pat Viafore
419f511496
Fixing merge conflict 2019-06-06 08:24:03 -05:00
Pat Viafore
514a83b926
Unmount the image before we convert to qcow2 to avoid corruption 2019-06-06 08:21:22 -05:00
Pat Viafore
9bf4c7cb52
Adding apt-get autoremove and setting IMAGE_STR 2019-06-06 08:21:22 -05:00
Pat Viafore
975a620e59
Various fixes from code review.
Cleaning indices; removing superfluous apt-get update; adding debug
messages; adding better output name
2019-06-06 08:21:22 -05:00
Pat Viafore
239012c608
Add changelog 2019-06-06 08:21:21 -05:00
Pat Viafore
afbda566eb
Adding hooks and making replace_kernel function 2019-06-06 08:20:45 -05:00
Pat Viafore
528b2ea57a
Add kvm image 2019-06-06 08:20:45 -05:00
Pat Viafore
be817e0bd1
Unmount the image before we convert to qcow2 to avoid corruption 2019-06-06 08:15:40 -05:00
Dimitri John Ledkov
44f91a2784 releasing package livecd-rootfs version 2.592 2.592 2019-06-05 13:55:14 +01:00