1720 Commits

Author SHA1 Message Date
Ł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
5bbb8e6b3f Improve snap model assertion code for readability 2018-09-27 15:15:55 -05:00
Robert C Jennings
0e00214cc6 Ensure snap models have been added prior to snap preseeding 2018-09-27 15:15:34 -05:00
Robert C Jennings
8d603cc87f Simplify snap model assertion customization 2018-09-27 13:09:50 -05:00
Robert C Jennings
97b0bbeed3 Add logging when snap assertions are not replaced 2018-09-27 12:55:57 -05:00
Robert C Jennings
52e5a2b25b Allow hooks to replace generic snap assertion
The generic assertion will be put in place if there are preseeded snaps.
A hook that wants to add its own model should be able to overwrite
the generic assertion.  This patch allows a hook to continue unchanged
calling snap_prepare_assertions with a custom brand/model.  The patch
will replace the generic brand/model if a custom brand/model is specified.
Prior to this patch the generic brand/model would remain in place.
2018-09-27 11:36:53 -05: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
Dimitri John Ledkov
08c9c26e58 Ensure /lib/modules exists in root tarballs and sqashfs.
(LP: #1792905)
2018-09-20 13:37:25 +02: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
ae4a760edb Fix live-server journald config snippet to actually disable journald rate
limiting.
2018-08-28 10:55:19 +12: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
c7ca0a77c8 Merge lp:~vorlon/livecd-rootfs/lp.1302192 2018-08-02 11:57:59 -07:00
Steve Langasek
7d16b0d40a Merge lp:~mwhudson/livecd-rootfs/lp-1776891 2018-08-01 23:31:08 -07: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
Michael Hudson-Doyle
092b316357 add a comment explaining why /dev cleaning is docker-only 2018-07-17 13:34:01 +12:00
Michael Hudson-Doyle
013dff431e Remove device nodes from Docker images. (LP: #1645468) 2018-07-17 12:02:34 +12:00
Robert C Jennings
c3f5ee6716 Disable checksum generation
These checksums are unused, integrity checking in launchpad is performed
separately.
2018-07-11 15:06:16 -05:00
Phil Roche
b7403fabf1 Update unminimize script text and install ubuntu-standard when unminimizing a minimal image (LP: #1778777) 2018-07-04 16:48:23 +01:00
Colin Watson
1e6563aa79 Merge trunk. 2018-06-29 22:07:49 +01:00
Colin Watson
baee4ed403 We know cosmic's name now. 2018-06-29 21:57:15 +01:00
Michael Hudson-Doyle
c9aaddd56a Disable journald rate limiting in the live-server live session.
(LP: #1776891)
2018-06-15 14:36:24 +12:00
Colin Watson
8b1970f661 live-build/auto/config: Drop "lp-*" hostname filter for Launchpad
builders, since LP #1747015 is now fixed; "*.buildd" should be enough.
2018-06-14 12:41:46 +01:00
Robert C Jennings
58b510cf99 ubuntu-cpc: Remove git-man for minimized images 2018-06-08 10:14:16 -07:00
Daniel Watkins
f9cae3ff7f Restore removal of /boot/grub from rootfs artifacts 2018-06-07 16:24:59 -07:00
Daniel Watkins
ab85167fb5 Shell formatting cleanup 2018-06-07 16:24:29 -07:00
Daniel Watkins
605b97de97 ubuntu-cpc: Generate the root image contents once, and use it for both the
-root.tar.xz and the .squashfs.
2018-06-07 14:23:18 -07:00
Steve Langasek
fff89931db Merge lp:~vorlon/livecd-rootfs/coinstallable-grubz 2018-06-06 17:34:02 -07:00
Daniel Watkins
80459b6c1b ubuntu-cpc: Use linux-kvm for all amd64 minimized builds (LP: #1775472). 2018-06-06 17:19:17 -07:00
Steve Langasek
91f26e016c resync with trunk 2018-06-06 17:11:07 -07:00
Daniel Watkins
a9bb37c661 Use a relative path for config/functions 2018-06-06 16:04:45 -07:00
Steve Langasek
92497af14f live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary: don't manually
install grub-efi-amd64 since that forces off grub-pc, which is otherwise
now coinstallable.
2018-06-06 15:41:30 -07:00
Daniel Watkins
136e2e2200 Drop /lib/modules creation as MAAS handles it downstream 2018-06-06 15:32:06 -07:00
Daniel Watkins
8e344b1f6b Add comment explaining /lib/modules creation 2018-06-06 14:53:58 -07:00
Daniel Watkins
0e5b19259d ubuntu-cpc: Reintroduce the -root.tar.xz artifact (LP: #1585233). 2018-06-06 11:24:10 -07:00
Michael Hudson-Doyle
664ace2f30 man un-diverting man idempotent 2018-06-06 10:51:35 +12:00
Michael Hudson-Doyle
7c7c2c5b30 rm -r the lists 2018-06-06 07:36:49 +12:00
Michael Hudson-Doyle
ccef323973 go back to having docker unminimize not install any extra packages
update text of man diversion to mention need to install man-db package
2018-06-06 07:12:01 +12:00