Steve Langasek
bd0f079397
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-28 08:51:06 -07: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
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
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
Cody Shepherd
f661d400a1
Fix snap-seed-parse to take filename argument instead of printing to
...
stdout
2018-11-13 10:48:25 -08: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
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
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
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
791d2adfd8
merge trunk
2018-09-26 12:42:42 +12:00
Adam Conrad
94230324e0
Stop building buildd chroots with --xattrs until we move to python3.
2018-09-20 02:56:56 -06: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
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
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
e804cc4e00
a less hackish approach
2018-08-17 12:01:27 +12:00
Michael Hudson-Doyle
a261471969
a less hackish approach
2018-08-17 12:00:41 +12:00
Michael Hudson-Doyle
1aa8b9d882
ffs
2018-08-17 10:09:57 +12:00
Michael Hudson-Doyle
00151c5e0b
Set PREINSTALLED=true for live-server so that universe ends up being
...
enabled in the image.
2018-08-16 21:28:52 +12:00
Steve Langasek
3db2340c54
generate all tar files with --xattrs. LP: #1302192 .
2018-08-01 18:02:13 -07:00
Michael Hudson-Doyle
333a3e2b1b
moderate comment
2018-07-18 10:11:25 +12:00
Michael Hudson-Doyle
092b316357
add a comment explaining why /dev cleaning is docker-only
2018-07-17 13:34:01 +12:00
Michael Hudson-Doyle
013dff431e
Remove device nodes from Docker images. (LP: #1645468 )
2018-07-17 12:02:34 +12:00
Robert C Jennings
c3f5ee6716
Disable checksum generation
...
These checksums are unused, integrity checking in launchpad is performed
separately.
2018-07-11 15:06:16 -05:00
Phil Roche
b7403fabf1
Update unminimize script text and install ubuntu-standard when unminimizing a minimal image (LP: #1778777 )
2018-07-04 16:48:23 +01:00
Colin Watson
1e6563aa79
Merge trunk.
2018-06-29 22:07:49 +01:00
Colin Watson
baee4ed403
We know cosmic's name now.
2018-06-29 21:57:15 +01:00
Colin Watson
8b1970f661
live-build/auto/config: Drop "lp-*" hostname filter for Launchpad
...
builders, since LP #1747015 is now fixed; "*.buildd" should be enough.
2018-06-14 12:41:46 +01:00
Daniel Watkins
80459b6c1b
ubuntu-cpc: Use linux-kvm for all amd64 minimized builds (LP: #1775472 ).
2018-06-06 17:19:17 -07:00
Michael Hudson-Doyle
664ace2f30
man un-diverting man idempotent
2018-06-06 10:51:35 +12:00
Michael Hudson-Doyle
7c7c2c5b30
rm -r the lists
2018-06-06 07:36:49 +12:00
Michael Hudson-Doyle
ccef323973
go back to having docker unminimize not install any extra packages
...
update text of man diversion to mention need to install man-db package
2018-06-06 07:12:01 +12:00
Michael Hudson-Doyle
2fc3993d48
Remove apt lists that are currently removed downstream anyway.
...
(LP: #1699913 )
2018-06-06 06:44:20 +12:00
Michael Hudson-Doyle
fa1bce5389
still install a few packages in docker unminimize
2018-06-05 19:58:46 +12:00
Michael Hudson-Doyle
514faae2db
divert /usr/bin/man in minimized images to a script that mentions the unminimize script
2018-06-05 11:08:33 +12:00
Michael Hudson-Doyle
7e1bd33544
do not install ubuntu-minimal in ubuntu-base's unminimize
2018-06-05 11:07:06 +12:00
Simon Quigley
9ba04172d4
Completely drop Lubuntu Next.
2018-05-08 21:12:15 -05:00
Simon Quigley
382f17b08c
Don't follow recommends.
2018-05-03 23:23:30 -05:00
Simon Quigley
480e02443e
Drop seed workarounds for unbuilt Lubuntu Next.
2018-05-03 23:08:44 -05:00
Colin Watson
1fab544a84
Add init to buildd chroots, since it's needed for LXD-based builds.
2018-04-30 16:39:01 +01:00
Colin Watson
b77de06bfd
Remove some unnecessary buildd configuration.
2018-04-30 09:54:28 +01:00
Colin Watson
07487675b6
Sort buildd tarballs by name and use numeric user and group IDs.
2018-04-29 21:43:46 +01:00
Colin Watson
416093beec
Use a public-facing mirror URL in the final buildd /etc/apt/sources.list.
2018-04-29 21:42:41 +01:00
Colin Watson
cb22177287
Add a buildd subproject.
2018-04-27 16:07:44 +01:00
Steve Langasek
e6089e9e32
Remove landscape-common from minimal image, and handle restoring it in
...
unminimize script. LP: #1763182 .
2018-04-11 14:26:43 -07:00
Michael Hudson-Doyle
65dd7df171
last minute pre-upload typo fix
2018-04-11 19:18:47 +12:00