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
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
Ł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
Ł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
Łukasz 'sil2100' Zemczak
c184977a90
Decide what model assertion series to fetch depending on the suite. For xenial use 16 and for others (so bionic+): 18.
2018-10-03 11:51:49 +02:00
Robert C Jennings
9f96dcb4de
Add the server snap seed to the ubuntu-cpc project
2018-09-27 11:36:01 -05: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
Colin Watson
c4c5c1f349
Generate tar file with --xattrs.
2018-09-19 16:19:17 +02:00
Julian Andres Klode
1746e65953
Reorganize minimal-manual file location.
...
This also gets rid of the change to debian/rules
2018-09-18 11:44:06 +02:00
Łukasz 'sil2100' Zemczak
e547599e5a
Add support for raspi3 rootfs generation for ubuntu-image consumption with all the additional changes required.
2018-09-18 11:06:16 +02:00
Łukasz 'sil2100' Zemczak
97fcf09972
Merge trunk
2018-09-18 10:22:12 +02:00
Julian Andres Klode
fc6907b701
fixup: Do not assume current directory
2018-09-18 09:27:27 +02:00
Julian Andres Klode
2e9349c543
minimize-manual.py: Followup with some cleanup, correct permissions
2018-09-18 09:15:42 +02:00
Julian Andres Klode
9360135b2c
Minimize the number of manually installed packages in images by marking
...
dependencies of metapackages as automatically installed.
2018-09-18 09:01:12 +02:00
Michael Hudson-Doyle
e804cc4e00
a less hackish approach
2018-08-17 12:01:27 +12:00
Michael Hudson-Doyle
a261471969
a less hackish approach
2018-08-17 12:00:41 +12:00
Michael Hudson-Doyle
1aa8b9d882
ffs
2018-08-17 10:09:57 +12:00
Michael Hudson-Doyle
00151c5e0b
Set PREINSTALLED=true for live-server so that universe ends up being
...
enabled in the image.
2018-08-16 21:28:52 +12:00
Steve Langasek
3db2340c54
generate all tar files with --xattrs. LP: #1302192 .
2018-08-01 18:02:13 -07:00
Michael Hudson-Doyle
333a3e2b1b
moderate comment
2018-07-18 10:11:25 +12:00