1467 Commits

Author SHA1 Message Date
Colin Watson
566b3f3a3e Exclude makedev from buildd chroots
It was historically excluded, and apparently breaks some builds (e.g.
mir).
2019-09-17 13:42:33 +02:00
Łukasz 'sil2100' Zemczak
badff9dcb7 releasing package livecd-rootfs version 2.408.51 2019-09-12 10:52:02 +02:00
Robert C Jennings
9bea8296ee
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-30 14:05:07 -05:00
Łukasz 'sil2100' Zemczak
313fd0af9b releasing package livecd-rootfs version 2.408.50 2019-06-25 22:57:17 +02:00
Łukasz 'sil2100' Zemczak
2d1ee4da19 Do not depend on snapd on powerpc. 2019-06-25 22:56:50 +02:00
Steve Langasek
fa98de9a7d releasing package livecd-rootfs version 2.408.49 2019-05-30 14:20:35 -07:00
Steve Langasek
39db5175d6 Add explicit dependency on python3-yaml, which is used in the code but was previously pulled in indirectly via ubuntu-image. LP: #1830823. 2019-05-30 14:20:27 -07:00
Łukasz 'sil2100' Zemczak
2a568381e3 releasing package livecd-rootfs version 2.408.48 2019-05-29 18:53:12 +02:00
Łukasz 'sil2100' Zemczak
6e73a2b3a6 Do not depend on ubuntu-image on powerpc. 2019-05-29 18:52:36 +02:00
Steve Langasek
76527b27cf releasing package livecd-rootfs version 2.408.47 2019-05-21 17:19:47 -07:00
Robert C Jennings
63b3bd10bc
ubuntu-cpc: Update changelog with change bug number 2019-05-21 17:07:03 -05:00
Ubuntu
aafa682254
Drop snap-tool
The cohort API used in the snap-tool has been dropped and
a replacement is needed.  Until then the code will be unused.
2019-05-21 17:07:03 -05:00
Robert C Jennings
77ae8d704f
ubuntu-cpc: parallel builds
* Replace "snap download" with tool that uses snap store's coherence feature

    This is important for parallel image builds to ensure all pre-seeded snaps
    have the same versions across image variants.

* 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".

* Use series files with dependency handling to generate hook symlinks dynamically

    This patch currently only applies to the "ubuntu-cpc" project.

    More and more logic has been going into the hook scripts to decide
    under which conditions they should run or not. As we are moving
    to parallelized builds of image sets, this will get even more
    complicated. Base hooks will have to know which image sets they
    belong to and modification of the dependency chain between scripts
    will become more complicated and prone to errors, as the number of
    image sets grows.

    This patch introduces explicit ordering and dependency handling for
    scripts through the use of `series` files and an explicit syntax
    for dependency specification.
2019-05-21 17:06:59 -05:00
Balint Reczey
9fd7370758 Update changelog 2019-05-17 15:15:49 +02:00
Balint Reczey
64985baafd Build WSL rootfs tarball
LP: #1827930
2019-05-17 14:03:03 +02:00
Steve Langasek
8003f3a395 releasing package livecd-rootfs version 2.408.45 2019-04-08 11:51:40 -07:00
Steve Langasek
518b18db0f 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-04-08 11:51:38 -07:00
Colin Watson
5ca9cb6c3c LP: #1815251 2019-02-18 16:12:09 +00:00
Colin Watson
ce058ad359 releasing package livecd-rootfs version 2.408.44 2019-02-18 16:06:04 +00:00
Colin Watson
493035c7d2 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 16:05:27 +00:00
Colin Watson
a3a7f047d0 releasing package livecd-rootfs version 2.408.43 2019-02-08 22:56:55 +00:00
Colin Watson
d7b59e5df3 Add reference to LP: #1815251 2019-02-08 22:55:57 +00:00
Colin Watson
def18aa7f7 releasing package livecd-rootfs version 2.408.43 2019-02-05 14:51:42 +00:00
Colin Watson
086c93aa28 Add ubuntu-base:buildd: to ALL_TRIPLETS 2019-02-05 14:16:58 +00:00
Colin Watson
6c9fc6f3ec Move buildd image building to binary hooks 2019-01-16 12:53:33 +00:00
Colin Watson
6e9d7f35ca Add a LXD image to builds for the buildd subproject 2019-01-16 12:53:33 +00:00
Colin Watson
aec5f3666a Add a buildd subproject 2019-01-16 12:53:30 +00:00
Balint Reczey
5fca228f83 debian/control: Update Vcs-*: URLs 2018-12-12 16:25:54 +01:00
Steve Langasek
205a77bbd9 releasing package livecd-rootfs version 2.408.42 2018-12-10 10:22:03 -08:00
Cody Shepherd
f4a3f469d7 Rebase 2018-11-29 07:33:39 -08:00
Steve Langasek
c381065c00 releasing package livecd-rootfs version 2.408.41 2018-11-16 08:38:28 -08:00
Steve Langasek
fef73e9a90 Merge lp:~rcj/livecd-rootfs/xenial-proposed 2018-11-16 08:37:10 -08:00
Steve Langasek
fd02a30830 releasing package livecd-rootfs version 2.408.40 2018-11-01 13:46:51 -07:00
Steve Langasek
b1aa0279f6 add bug link 2018-11-01 10:43:27 -07:00
Steve Langasek
f292ab1847 Merge lp:~codyshepherd/livecd-rootfs/xenial-proposed-resolvconf 2018-11-01 10:11:20 -07:00
Łukasz 'sil2100' Zemczak
0ae8b1fc0e releasing package livecd-rootfs version 2.408.39 2018-10-31 12:53:43 +01:00
Robert C Jennings
91ba932fec Disable checksum generation (LP: #1799773) 2018-10-24 14:20:01 -05:00
Łukasz 'sil2100' Zemczak
8e8fb0bf09 Add bug to changelog. 2018-10-24 17:55:00 +02:00
Łukasz 'sil2100' Zemczak
49d1dce530 Merge trunk. 2018-10-24 17:02:04 +02:00
Daniel Watkins
64e90c0cca ubuntu-cpc: Handle a pre-existing /lib/modules in 030-root-tarball.hook (LP: #1797170). 2018-10-10 09:09:19 -07:00
Łukasz 'sil2100' Zemczak
b8b2e34382 Missing dep 2018-10-04 19:38:40 +02:00
Łukasz 'sil2100' Zemczak
706685a5a2 Backport support for building core images with ubuntu-image. 2018-10-04 19:33:10 +02:00
Steve Langasek
11a9a25fbb Merge lp:~rcj/livecd-rootfs/xenial-proposed 2018-09-25 22:17:55 -07:00
Robert C Jennings
903ec4659a debian/dirs: add debian/dirs entry for empty includes.chroot dir (LP: #1794383)
When storing the source in a git tree empty directories are dropped.
Adding the empty directories under includes.chroot to debian/dirs
fixes this up in binary packages built from git sources.
2018-09-25 22:54:54 -05:00
Łukasz 'sil2100' Zemczak
f7eed7977c releasing package livecd-rootfs version 2.408.36 2018-07-04 17:34:14 +02:00
Łukasz 'sil2100' Zemczak
fe7226cff2 Update unminimize script text and install ubuntu-standard when unminimizing a minimal image 2018-07-04 17:33:50 +02:00
Francis Ginther
21b2f1fa46 Fixed changelog typo 2018-07-03 12:44:53 -05:00
Francis Ginther
aadb032e68 Update unminimize script text and install ubuntu-standard when unminimizing a minimal image (LP: #1778777) 2018-07-02 16:43:35 -05:00
Francis Ginther
b882fed343 Add bug and wordsmith changelog 2018-07-02 16:20:20 -05:00
Francis Ginther
928a9e6c71 Fix install command for pollinate (add '-y') in minimal images 2018-07-02 14:46:42 -05:00