304 Commits

Author SHA1 Message Date
Balint Reczey
0182d380ca Nicely separate motd text about minimizing from texts above 2019-02-05 17:24:09 +07:00
Tobias Koch
5b70d86f5c 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".
2019-02-01 11:26:20 +01:00
Michael Hudson-Doyle
a9991a908e revert change to ubuntu-server:live snap seeding 2019-02-01 17:22:25 +13:00
Jean-Baptiste Lallement
283871573d Changed the naming scheme for multi layer images to dot format 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
41becb0af7 Ensure snaps are available on ubuntu-server live 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
3075d65578 Cleanup and handle manifest-remove files
manifest-remove files are generated in all cases and removed for
projects/subprojects that don't need it like the new ubiquity.
2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
9dba350834 Added lb_binary_layered
Created lb_binary_layered based on lb_binary
Factorized several helpers
These helpers are called from lb_chroot
2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
43ec452fa0 Moved reusable functions to functions
Moved functions to reuse in lb_binary and lb_chroot to functions
2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
047f883e92 Various fixes
Fixed prefix for passes to not conflict with global prefix
Set layer to none for layer without language packs
Copy size and manifest to the target directory
Make sure the diff always diffes existing manifests
2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
42d1d77612 Layered Ubuntu desktop by default
Default Ubuntu desktop to the layered format
Remove the requirement on setting IMAGEFORMAT to layered to build a
layered image and relies on PASSED instead.
2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
53b06af931 Added sublayers support
Adds support for sublayers by defining package lists corresponding to
each sublayer. The name of the package list defines the name of the
layer.
2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
78c196031b Add snaps to manifest
Make sure that all the snaps are listed in the full manifest of each
layer and as delta in the delta manifest.
2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
d5a16296f4 live-build/auto/build: Create one manifest by layer in diff format and one full manifest with all the layers in standard format 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
ca63d43696 live-build/auto/build: Add size of the filesystems. This is used by the installer to calculate the minimum partition size to reserve for installation. The installer will have to sum all the sizes to compute the final size. Thank didrocks 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
b6287916c2 auto/build: Order generated squashfs filesystems 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
ce973ba07b auto/build: Removed useless comment 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
7b4acba31d * Added lb_chroot_layered to add support for multi layered squashfs images
* auto/*: Added live-layered image format
2019-01-30 12:29:56 +01:00
Łukasz 'sil2100' Zemczak
abec4f4c1d Link to the proper name instead. 2019-01-10 22:58:07 +01:00
Łukasz 'sil2100' Zemczak
e60bcbaecd Add proper IMAGAFORMAT for raspi3 classic builds, output the images with the expected naming. 2019-01-09 10:47:24 +01:00
Colin Watson
46942330d8 Move buildd image building to binary hooks 2018-12-20 01:20:57 +00:00
Colin Watson
082a2046e7 Add a LXD image to builds for the buildd subproject 2018-12-19 22:11:16 +00:00
Michael Hudson-Doyle
4b01505952 Fix typo preventing builds of ubuntu-core images. 2018-12-12 15:09:56 +13:00
Steve Langasek
5300bb9eb7 Key netplan delegation to NetworkManager on presence of
/usr/sbin/NetworkManager, not on /usr/lib/NetworkManager which may have
hooks from other packages (i.e., wpasupplicant).
2018-12-06 13:38:07 +02:00
Łukasz 'sil2100' Zemczak
d3eb3dd0ac Add missing arguments to ubuntu-image classic calls. 2018-11-26 13:03:24 +01:00
Steve Langasek
6ee39485dd Merge lp:~sil2100/livecd-rootfs/use-ubuntu-image-classic 2018-11-21 12:51:00 -08:00
Łukasz 'sil2100' Zemczak
05a8be839f Do the same for ubuntu-image snap builds. 2018-11-21 21:07:16 +01:00
Łukasz 'sil2100' Zemczak
8a33b23dd0 Use -O instead of -o for ubuntu-image classic builds. 2018-11-21 21:05:21 +01:00
Łukasz 'sil2100' Zemczak
2947cdbe60 First batch of obvious changes - use better shellism, only call make (without make install). 2018-11-21 20:22:38 +01:00
Steve Langasek
b3c9d8bac8 Merge lp:~sil2100/livecd-rootfs/raspi3-u-i-classic 2018-11-19 10:40:17 -08:00
Steve Langasek
77c44167df Delete no longer accurate comments 2018-11-13 11:21:19 -08:00
Cody Shepherd
c7e0c27607 [ Cody Shepherd ]
Fix snap-seed-parse to take filename argument instead of printing to
stdout
2018-11-08 15:10:09 -08:00
Dimitri John Ledkov
8868522e78 When calling snap-seed-parse append stdout to file, but redirect
stderr to stdout, thus unbreak autopkgtests.
2018-11-08 15:40:16 +00:00
Steve Langasek
1e1c6a8572 Properly fix the hard-linking of vmlinuz, taken astray by my misguided
merge review.
2018-11-02 14:47:26 -07:00
Łukasz 'sil2100' Zemczak
a3a9b2ab60 Merge latest prerequisite branch. 2018-11-02 09:28:29 +01:00
Łukasz 'sil2100' Zemczak
b0910cbe50 Remove more unneeded raspi3 conditionals. 2018-11-02 09:27:01 +01:00
Łukasz 'sil2100' Zemczak
37f3cb1714 Merge latest prerequisite branch. 2018-10-31 12:51:59 +01:00
Łukasz 'sil2100' Zemczak
2e3c7d050c Remove unneeded code and code duplication, add comments. 2018-10-31 12:46:57 +01:00
Łukasz 'sil2100' Zemczak
6ac3384f34 Merge latest prerequisite branch 2018-10-31 11:39:06 +01:00
Łukasz 'sil2100' Zemczak
a274206e1a Don't overcomplicate bash conditionals. 2018-10-31 11:17:01 +01:00
Łukasz 'sil2100' Zemczak
cc5d39b93d Merge latest prerequisite branches. 2018-10-30 17:43:03 +01:00
Łukasz 'sil2100' Zemczak
501afa0783 Merge latest prerequisite branch 2018-10-30 16:10:57 +01:00
Łukasz 'sil2100' Zemczak
61ba85df21 Merge trunk 2018-10-30 15:11:49 +01:00
Łukasz 'sil2100' Zemczak
f8529c9038 Add support for building classic images using makefile-based gadget trees. 2018-10-30 14:13:02 +01: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
41b4130759 * Add support for raspi3 rootfs builds (based on Ryan Finnie).
* For ubuntu-image consumption, export the kernel and initrd to
  image/boot/uboot for raspi*.
2018-10-17 19:03:16 +01:00
Łukasz 'sil2100' Zemczak
e115b2cbe7 Avoid issues of hard-linking to a symbolic vmlinuz as this can lead to a
dangling symlink.
2018-10-17 19:01:22 +01: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