2399 Commits

Author SHA1 Message Date
Jean-Baptiste Lallement
a9908e0c9d Add support for negative package lists 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
903ba3b276 Actually install snap for each layer. 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
1ab78e783b Generate snap list from task 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
00e474e2ff Make snap functions idempotent
_snap_preseed and snap_prepare_assertions can be called several times
with the same snap and will only provision it once.
2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
ef72cf5fe8 Code refactoring:
* Moved *inheritance functions from config to functions
 * Moved code to extract snap from seed to snap_from_seed function
2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
6a7368bf95 Clean-up dead code for server live builds. 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
d4f7a0b23d live-build/auto/config: Added ubuntu-desktop-minimal to install-minimal task 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
0f4fcbc7d3 lb_chroot_layered: Export _PASS as PASS to be available in hooks 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
7e2f4d4304 live-build/lb_chroot_layered: removed useless comment 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
940873e6cb live-build/lb_chroot_layered: overlayfs supports only 2 stacked layers. Changed the code to use several lower dirs instead like casper does 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
Jean-Baptiste Lallement
3e34faaa70 Moved add_task and add_package to functions in order to be available in hooks 2019-01-30 12:29:56 +01:00
Łukasz 'sil2100' Zemczak
ff860d4717 releasing package livecd-rootfs version 2.558 2.558 2019-01-21 10:34:03 +01:00
Łukasz 'sil2100' Zemczak
b3dd27aedd Use linux-firmware-raspi2 instead of raspi3-firmware. 2019-01-18 17:10:11 +01:00
Colin Watson
8465a11865 releasing package livecd-rootfs version 2.557 2.557 2019-01-16 12:52:29 +00:00
Colin Watson
2b15590f3b Fix buildd images for series earlier than bionic
Don't install gpg or gpg-agent when building buildd images for series
earlier than bionic.  (In earlier series, those packages didn't exist
and gnupg was build-essential.)
2019-01-16 12:39:21 +00:00
Łukasz 'sil2100' Zemczak
48f98803bd releasing package livecd-rootfs version 2.556 2.556 2019-01-11 11:34:35 +01:00
Łukasz 'sil2100' Zemczak
a140fdcd5a Bump the timestamp 2019-01-11 11:25:30 +01:00
Łukasz 'sil2100' Zemczak
bf61fdecf3 Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into sil2100/raspi-wpasupplicant 2019-01-11 11:24:54 +01:00
Łukasz 'sil2100' Zemczak
480eab7e32 releasing package livecd-rootfs version 2.555 2.555 2019-01-10 22:58:28 +01:00
Łukasz 'sil2100' Zemczak
abec4f4c1d Link to the proper name instead. 2019-01-10 22:58:07 +01:00
Łukasz 'sil2100' Zemczak
7a2a551ca0 releasing package livecd-rootfs version 2.554 2.554 2019-01-09 10:48:11 +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
75fa8802ec releasing package livecd-rootfs version 2.553 2.553 2019-01-07 21:24:38 +00: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
65397a6e62 releasing package livecd-rootfs version 2.552 2.552 2018-12-19 11:00:20 +13:00
Michael Hudson-Doyle
625ace8483 Do not include curtin in the live-server installer.squashfs as the version of subiquity that includes it in the snap has now been released to stable. 2018-12-18 15:18:04 +13:00
Łukasz 'sil2100' Zemczak
85eed4a91d Add wpasupplicant to the additional packages installed for the raspi2 and raspi3 targets. 2018-12-17 17:34:43 +01:00
Michael Hudson-Doyle
d6444ffe6e releasing package livecd-rootfs version 2.551 2.551 2018-12-17 20:27:29 +13:00
Michael Hudson-Doyle
b461b15ccd changelog typo 2018-12-17 14:02:35 +13:00
Michael Hudson-Doyle
1b93df3ae8 A few simple tweaks to reduce size of live servers installer.squashfs
- Do not run apt-get update (which can bring in package lists if we are
    unlikely wrt publisher schedules).
  - Run apt-get clean to clear out downloaded debs of curtin/casper and
    dependencies.
  - Do not install user-setup.
  - Use the core snap from the base filesystem if present.
2018-12-17 13:51:58 +13:00
Michael Hudson-Doyle
1e9fc65863 Use right lsb_release argument for HWE kernel name (-sc -> bionic, need -sr -> 18.04). 2018-12-17 13:49:01 +13:00
Michael Hudson-Doyle
f81fb59a00 Do no install openssh-server in the base filsystem for the live server installer. 2018-12-17 13:40:57 +13:00
Michael Hudson-Doyle
2a9aac5635 releasing package livecd-rootfs version 2.550 2.550 2018-12-13 14:12:51 +13:00
Michael Hudson-Doyle
cacdc73ee6 changelog entry for switch to git 2018-12-13 14:12:34 +13:00
Michael Hudson-Doyle
d5b4aed656 Merge branch 'live-server-kernel-futzing' into ubuntu/master 2018-12-13 13:31:32 +13:00
Michael Hudson-Doyle
71c04ecfeb changelog 2018-12-13 13:00:13 +13:00
Michael Hudson-Doyle
460332296b remove cloud-initramfs-copymods before installing kernel 2018-12-13 11:23:15 +13:00
Michael Hudson-Doyle
7167e3718b add initramfs hook to record kernel metapackage & mount modules 2018-12-13 11:22:34 +13:00
Michael Hudson-Doyle
5565e3a3d8 add hook to create kernel/initrd/modules for ISO 2018-12-13 11:18:55 +13:00
Michael Hudson-Doyle
e3e2e5f9ff do not unmount the installer overlay in 032-installer-squashfs.binary
so that a new hook can create yet further overlays on top of it
2018-12-13 11:10:44 +13:00
Michael Hudson-Doyle
c4e5659217 do not include kernel in base install for ubuntu-server:live
this actually makes things closer to the non-live server build and so
makes things a bit simpler
2018-12-13 10:47:54 +13:00
Balint Reczey
25b16f97a6 debian/control: Update Vcs-*: URLs 2018-12-12 16:25:54 +01:00