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
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
Cody Shepherd
1f05fbea69
Backport adding snaps to image manifests (LP: #1805497 )
2018-11-27 11:53:59 -08:00
Łukasz 'sil2100' Zemczak
f64e3c9981
As Steve pointed out, the auto/build PREFIX change was a move, not an addition.
2018-10-29 17:57:43 +01:00
Łukasz 'sil2100' Zemczak
706685a5a2
Backport support for building core images with ubuntu-image.
2018-10-04 19:33:10 +02: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
Michael Hudson-Doyle
4fe56fe700
prefer tabs for indentation
2018-05-09 10:20:49 +12:00
Michael Hudson-Doyle
0c41250141
add a word
2018-05-09 10:09:03 +12:00
Michael Hudson-Doyle
18c8049a23
Set the default locale to C.UTF-8 in minimized cloud images.
...
(LP: #1759003 )
2018-05-09 09:37:18 +12:00
Christopher Glass
1198bb65d4
ubuntu-cpc: When performing a minimized build make sure the
...
/etc/cloud/build.info file says "minimal" (LP: #1759519 )
2018-03-28 14:19:50 +02:00
Christopher Glass
67dab61787
Backport "minimized round 2" changes from trunk to Xenial (LP: #1731492 )
2017-11-10 18:41:57 +01:00
Steve Langasek
cb73e2475e
Make sure to remove any initramfs that was generated in a minimized
...
image.
2017-10-21 20:53:00 -07:00
Steve Langasek
13c0c8ffd5
Unminimization information should only go to motd when we are actually minimized
2017-10-08 16:10:45 -04:00
Steve Langasek
dfb4c593b1
include adjustments to the minimize/unminimize wording that were made in the merge commit on trunk
2017-10-03 22:23:04 -07:00
Balint Reczey
413a53d482
When SUBPROJECT environment variable is not set assume it to be ""
2017-10-03 17:31:27 +02:00
Balint Reczey
88d854ffb5
Use SUBPROJECT=minimized name instead of SUBPROJECT=minimize for consistency
2017-10-03 17:31:26 +02:00
Balint Reczey
b90b04a7b7
Warn users that unminimize may fail reinstalling packages
2017-10-03 17:31:26 +02:00
Balint Reczey
d33ab3825f
Mention unminimize script in motd
2017-10-03 17:31:26 +02:00
Balint Reczey
1ca59f1c3a
Print the documentation files which could not be restored by unminimize
2017-09-28 09:38:23 -04:00
Balint Reczey
a40bd1d55b
Explain why unminimization script is a bit complicated
2017-09-28 09:38:23 -04:00
Balint Reczey
8244beb6d1
Verify only documentation that should have been restored after unminimization
2017-09-28 09:38:23 -04:00
Balint Reczey
93fc7c56f2
Use "dpkg --verify-format rpm" explicitly to be safe when the default changes
2017-09-28 09:38:23 -04:00
Balint Reczey
e5cbd2384a
Fix typo
2017-09-28 09:38:23 -04:00
Balint Reczey
e9fc1d8c9f
Install ubuntu-minimal while unminimizing the system
2017-09-28 09:38:23 -04:00
Balint Reczey
5e1d0f0ee7
Add unminimize script for reverting minimization on running system
2017-09-28 09:38:23 -04:00
Balint Reczey
9dd178a0e5
Drop man pages and most of the documentation from minimized images
...
/usr/share/doc/*/copyright and changelog.Debian.gz files are still kept
2017-09-28 09:38:23 -04:00
Steve Langasek
bd2a11774f
if we're using SUBPROJECT=minimize, and tzdata is not installed, remove
...
files that have been left behind. This is a workaround for a bug that should
be fixed in tzdata.
2017-09-28 09:38:23 -04:00
Adam Conrad
2c9f9dd323
Fix security mirror sources.list entries for non-x86 architectures.
...
(LP: #1679252 )
2017-04-04 09:28:52 -06:00
Daniel Watkins
28e14a0b77
* Don't overwrite the default sources.list in cloud images.
...
* Replace sources.list generated using COMPONENTS with the sources.list from
an Ubuntu Server installation (i.e. with all components enabled, and all
deb-src lines commented). LP: #1513529 .
2017-03-21 08:36:01 -07:00
Adam Conrad
f2f8665598
* Forward-port hardware enablement delta from trusty to xenial, with changes:
...
- Implement hwe stack swapping as task filters instead of install hints
- Revert ubuntu-desktop and ubuntu-gnome to use tasks again for the above
2017-02-16 10:18:54 -07:00
Łukasz 'sil2100' Zemczak
a4f597c84b
Fix small but terrible typo in the ubuntu-touch-custom handling that was breaking touch builds. Please note: I corrected the 2.408.5 version in the upload queue so this is also part of that release.
2016-09-29 10:18:40 +02:00
Łukasz 'sil2100' Zemczak
8f735f316b
Sync with what's currently released to xenial-proposed: remove ubuntu-pd, add ubuntu-touch-custom, remove the kernel.yaml addition for snappy as it's not meant to be in xenial and no longer needed.
2016-09-27 17:41:54 +02:00
Steve Langasek
5efb2007af
add meta/kernel.yaml to the kernel snaps
2016-09-14 19:02:41 +00:00
Oliver Grawert
6bd3aaffc1
drop linux-firmware-raspi2 from snappy
2016-04-21 15:01:42 +02:00
Iain Lane
e5142015a3
Fix syntax error.
2016-04-20 21:14:59 +01:00
Oliver Grawert
8d145b4d43
move the snappy kernel builds to the correct linux-image-$arch and linux-firmware-$arch metapackages
2016-04-20 19:35:55 +02:00
Oliver Grawert
814311e826
snappy: make ppc64el and s390x os tarball builds work
2016-04-12 19:24:25 +02:00
Oliver Grawert
e7723219a3
switch snappy package builds from "snappy build" to "snapcraft snap" (LP: #1557515 )
2016-04-08 16:52:42 +02:00
Oliver Grawert
60c9b694c4
adjust snap versions to only have one dash and use plus chars instead
2016-03-21 17:41:14 +01:00
Oliver Grawert
c5905d18b6
add link for wlan mac address in dragonboard kernel snaps, move dragonboard kernel snap to linux-snapdragon
2016-03-17 19:48:29 +01:00
Oliver Grawert
eba875e96c
add support for dragonboard kernel snap
2016-03-15 15:39:33 +01:00
Michael Vogt
5439a48096
add dpkg.list to assets of the kernel snap
2016-03-09 23:17:18 +01:00
Oliver Grawert
9a9e8685f9
add snap building for kernel snaps
2016-03-09 15:59:17 +01:00
Oliver Grawert
768445efda
adjust naming to something easier consumable for cdimage of os snap in snappy builds
2016-03-08 19:45:37 +01:00
Oliver Grawert
6d4209f62c
add .snap cration for ubuntu-core snappy rootfs builds
2016-03-08 16:44:36 +01:00
Łukasz 'sil2100' Zemczak
1865c71a24
Remove the manta device from the list of touchsubarches as we're not building its kernel anymore.
2016-03-04 09:49:27 +01:00
Michael Vogt
06ce71492b
auto/build: copy kenrel chroot dpkg.list to assets dir
2016-01-28 20:41:18 +01:00
Michael Vogt
51a5cca323
* ubuntu-core:
...
- include the dpkg.list in the device tarball
- store /usr/share/snappy/dpkg.list manifest on the OS tarball
2016-01-28 18:27:36 +01:00