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
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
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
73409ddb77
Add .keep files to preserve empty directories
2018-12-12 15:36:25 +01:00
Michael Hudson-Doyle
4b01505952
Fix typo preventing builds of ubuntu-core images.
2018-12-12 15:09:56 +13:00
Tobias Koch
cbd4eb5717
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.
2018-12-10 09:18:02 +01: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
6345ccd34c
Add a few minor fixes for raspi3 builds.
2018-11-28 16:05:24 +01:00
Łukasz 'sil2100' Zemczak
d3eb3dd0ac
Add missing arguments to ubuntu-image classic calls.
2018-11-26 13:03:24 +01:00
Łukasz 'sil2100' Zemczak
c229012efb
Add raspi3 arm64 rootfs build support.
2018-11-23 17:39:40 +01:00
Łukasz 'sil2100' Zemczak
65d907268a
raspi3 support: be sure to create /boot/firmware during pi3 rootfs builds. Also, for the raspi3 we need to explicitly specify the kernel flavor to raspi2. We also switch to using raspi3-firmware instead of linux-firmware-raspi2 because the latter is not available for arm64.
2018-11-23 15:56:26 +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
f2f3512339
Merge lp:~mzanetti/livecd-rootfs/drop-sf-support
2018-11-19 16:53:56 -08: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
Dimitri John Ledkov
75b9ab1664
Move overlay include.binary /lib to /usr/lib.
2018-11-13 11:25:52 +00:00
Dimitri John Ledkov
93df6705a0
Revert "Do not mount result, on top of lowerdir, appears to fail in
...
disco." the actual problem is in live-build with merged-usr and
copying over chroot/binary includes.
2018-11-12 20:39:25 +00:00
Dimitri John Ledkov
9a8d7117e3
Also strip duplicate \n from the below.
2018-11-09 22:47:27 +00:00
Dimitri John Ledkov
0c2e3c1342
Fix snap-seed-parse to take filename argument instead of printing to
...
stdout
2018-11-09 22:21:46 +00: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
Dimitri John Ledkov
1b424926db
Do not mount result, on top of lowerdir, appears to fail in disco.
2018-11-08 14:54:20 +00:00
Dimitri John Ledkov
e24dccadcc
mount_overlay only takes 3 args
2018-11-08 14:53:43 +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
Steve Langasek
8f910aab4b
Merge lp:~vorlon/livecd-rootfs/initramfsless-everywhere
2018-11-02 14:39:42 -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
Steve Langasek
41382692ba
Merge lp:~codyshepherd/livecd-rootfs/uefi-manifests-cosmic
2018-10-29 10:48:42 -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
840015fbbe
Merge lp:~aleks.bogdanov/livecd-rootfs/remove-vagrant-console-log
2018-10-26 13:47:18 -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