1970 Commits

Author SHA1 Message Date
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
Ł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
Ł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
Aleksandr Bogdanov
aba10dc702 vagrant: disabling automatic console log file 2018-10-11 12:01:48 +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
Steve Langasek
b6dedb62ce Unconditionally set GRUB_FORCE_PARTUUID in cloud images; as of version
2.02+dfsg1-5ubuntu5 grub will automatically fall back to booting with an
initrd if one is available, so we can now always attempt initramfsless
boot for cloud images which almost always works and causes only minimal
increase in boot speed for cases where it does not.
2018-10-03 17:21:56 -07:00