2301 Commits

Author SHA1 Message Date
Ubuntu
c46aad38fa
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:32:47 -05:00
Robert C Jennings
620e17d2b7
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:32:47 -05:00
Michael Hudson-Doyle
9579ee1539 releasing package livecd-rootfs version 2.542.3 2.542.3 2019-05-08 10:54:09 +12:00
Michael Hudson-Doyle
a7b8928928 Remove device nodes later for ubuntu-base:minimized (i.e. docker) builds. (LP: #1828118) 2019-05-08 10:50:23 +12:00
Julian Andres Klode
af525ff0b4 releasing package livecd-rootfs version 2.542.2 2.542.2 2019-04-26 10:36:48 +02:00
Julian Andres Klode
82870b1185 Remove crufty files after minimize-manual
minimize-manual would be creating those files again, and other
parts may be creating them, so best to do the cleanup at the
very end.

LP: #1826377
2019-04-25 11:51:08 +02:00
Steve Langasek
5566c26c63 releasing package livecd-rootfs version 2.542.1 2.542.1 2018-12-20 13:13:11 -06:00
Balint Reczey
6d3346f5cf debian/control: Update Vcs-*: URLs 2018-12-12 16:25:54 +01:00
Balint Reczey
3efca0cf7a Add .keep files to preserve empty directories 2018-12-12 15:36:14 +01:00
Steve Langasek
96eb05a4db Merge lp:~codyshepherd/livecd-rootfs/ubuntu-core-dev-snaps-manifest 2018-11-13 11:20:02 -08:00
Cody Shepherd
3f07ddd5c9 Fixing version number in changelog. 2018-11-13 10:54:27 -08:00
Cody Shepherd
f661d400a1 Fix snap-seed-parse to take filename argument instead of printing to
stdout
2018-11-13 10:48:25 -08:00
Steve Langasek
44f8ddaa25 Merge lp:~codyshepherd/livecd-rootfs/uefi-manifests-cosmic/ 2018-10-29 10:52:49 -07:00
Cody Shepherd
a9935923f8 Changes to include grub efi packages and dependencies in uefi image manifests. 2018-10-29 09:28:50 -07:00
Steve Langasek
286a52407d Merge lp:~codyshepherd/livecd-rootfs/snaps-manifest 2018-10-25 23:08:45 -06:00
Cody Shepherd
2819290352 Changed absoluted paths to relative; set changelog message to UNRELEASED 2018-10-23 10:32:52 -07:00
Cody Shepherd
5bee1ade70 Ensure pre-seeded snaps are now published in the image manifests. 2018-10-22 10:21:50 -07:00
Łukasz 'sil2100' Zemczak
7dbb2c8d60 releasing package livecd-rootfs version 2.542 2.542 2018-10-12 14:19:18 +02:00
Łukasz 'sil2100' Zemczak
a3e4b51207 Decide what model assertion series to fetch depending on the suite. Use 16 for xenial and 18 for other series (bionic+). This enables core18 image builds. 2018-10-12 14:18:36 +02:00
Łukasz 'sil2100' Zemczak
4f6e5dc11e For the pc model, the name changed so we need to special case it a bit. 2018-10-11 17:12:50 +02:00
Łukasz 'sil2100' Zemczak
1498baada5 The model assertions for 18 don't actually use series=18 because that would be too logical. 2018-10-10 21:57:55 +02:00
Łukasz 'sil2100' Zemczak
1d8aea6f20 Changelog entry 2018-10-03 11:53:59 +02:00
Łukasz 'sil2100' Zemczak
c184977a90 Decide what model assertion series to fetch depending on the suite. For xenial use 16 and for others (so bionic+): 18. 2018-10-03 11:51:49 +02:00
Steve Langasek
b85cf0fc58 releasing package livecd-rootfs version 2.541 2.541 2018-09-27 15:22:13 -07:00
Steve Langasek
a8e19c5675 Merge lp:~rcj/livecd-rootfs/trunk 2018-09-27 14:28:32 -07:00
Robert C Jennings
5bbb8e6b3f Improve snap model assertion code for readability 2018-09-27 15:15:55 -05:00
Robert C Jennings
0e00214cc6 Ensure snap models have been added prior to snap preseeding 2018-09-27 15:15:34 -05:00
Robert C Jennings
8d603cc87f Simplify snap model assertion customization 2018-09-27 13:09:50 -05:00
Robert C Jennings
97b0bbeed3 Add logging when snap assertions are not replaced 2018-09-27 12:55:57 -05:00
Robert C Jennings
52e5a2b25b Allow hooks to replace generic snap assertion
The generic assertion will be put in place if there are preseeded snaps.
A hook that wants to add its own model should be able to overwrite
the generic assertion.  This patch allows a hook to continue unchanged
calling snap_prepare_assertions with a custom brand/model.  The patch
will replace the generic brand/model if a custom brand/model is specified.
Prior to this patch the generic brand/model would remain in place.
2018-09-27 11:36:53 -05:00
Robert C Jennings
9f96dcb4de Add the server snap seed to the ubuntu-cpc project 2018-09-27 11:36:01 -05:00
Michael Hudson-Doyle
ef1e3425a1 Remove device nodes from Docker images. (LP: #1645468) 2018-09-26 13:12:09 +12:00
Michael Hudson-Doyle
c241a3e3f8 fix changelog 2018-09-26 12:43:50 +12:00
Michael Hudson-Doyle
791d2adfd8 merge trunk 2018-09-26 12:42:42 +12:00
Dimitri John Ledkov
08c9c26e58 Ensure /lib/modules exists in root tarballs and sqashfs.
(LP: #1792905)
2018-09-20 13:37:25 +02:00
Adam Conrad
94230324e0 Stop building buildd chroots with --xattrs until we move to python3. 2.539 2018-09-20 02:56:56 -06:00
Colin Watson
e33fd318ba releasing package livecd-rootfs version 2.538 2.538 2018-09-19 16:37:17 +02:00
Colin Watson
a5181b8b3d [r=adconrad] Add a buildd subproject. 2018-09-19 16:35:11 +02:00
Colin Watson
bb652c238f Merge trunk. 2018-09-19 16:24:26 +02:00
Colin Watson
c4c5c1f349 Generate tar file with --xattrs. 2018-09-19 16:19:17 +02:00
Adam Conrad
1e2e25deb5 Releasing version 2.537. 2.537 2018-09-18 04:15:23 -06:00
Adam Conrad
4d55ffd053 [juliank, r=adconrad] Improve autoremove behaviour by minimizing manual installs 2018-09-18 03:52:04 -06:00
Julian Andres Klode
1746e65953 Reorganize minimal-manual file location.
This also gets rid of the change to debian/rules
2018-09-18 11:44:06 +02:00
Julian Andres Klode
3bb028c86d Fix debian/rules test for shell scripts to ignore python 2018-09-18 10:39:59 +02:00
Julian Andres Klode
08376f8e64 Fix version number 2018-09-18 09:29:58 +02:00
Julian Andres Klode
fc6907b701 fixup: Do not assume current directory 2018-09-18 09:27:27 +02:00
Julian Andres Klode
2e9349c543 minimize-manual.py: Followup with some cleanup, correct permissions 2018-09-18 09:15:42 +02:00
Julian Andres Klode
9360135b2c Minimize the number of manually installed packages in images by marking
dependencies of metapackages as automatically installed.
2018-09-18 09:01:12 +02:00
Michael Hudson-Doyle
f04caf6104 releasing package livecd-rootfs version 2.536 2.536 2018-08-28 11:00:43 +12:00
Michael Hudson-Doyle
ae4a760edb Fix live-server journald config snippet to actually disable journald rate
limiting.
2018-08-28 10:55:19 +12:00