1713 Commits

Author SHA1 Message Date
Steve Langasek
dec765f035 no actual point in apt clean here, since that just cleans files from the bind mount 2017-10-13 21:40:02 -04:00
Steve Langasek
bc361bc33b call apt clean separately for the squashfs 2017-10-13 17:35:33 -04:00
Steve Langasek
dc875735b8 More packages to remove when minimizing 2017-10-13 17:25:50 -04:00
Steve Langasek
3a092539ca purging initramfs-tools as a prereq 2017-10-13 17:17:24 -04:00
Steve Langasek
018525ba12 resync with trunk 2017-10-13 17:15:48 -04:00
Steve Langasek
56a85e74c9 Also mark busybox-{initramfs,static} as automatically installed, so they can be removed again 2017-10-13 17:11:24 -04:00
Steve Langasek
add1cca991 Refactor, mark all lib'*' and python'*' packages auto-installed so they can be cleaned up as dependencies instead 2017-10-13 17:00:37 -04:00
Steve Langasek
54427d4440 When building minimized cloud images, remove various packages that we
don't want installed by default.  Some are tools that aren't needed for
non-interactive use; some are libraries whose reverse-dependencies
will have already been removed; and one, open-vm-tools, should only be
included in images that are targeted to VMWare (which is not the case
for any of the current minimal images), rather than being included
directly in the cloud-image seed.
2017-10-13 14:59:37 -04:00
Steve Langasek
08a5fc58ba Remove apt, debconf cruft files from /var/cache in all our livefses. 2017-10-13 14:28:17 -04:00
Steve Langasek
ad78957f01 Remove boot/grub leftovers from our root squashfs, left behind after
grub purge.
2017-10-13 14:20:50 -04:00
Steve Langasek
bea8a0696e snap.subiquity.started.service must be RemainAfterExit=yes to satisfy
the service dependencies.
2017-10-12 09:23:44 -04:00
Steve Langasek
f58957acd6 Add the SNAP_REEXEC=0 enviroment to the subiquity service as well. 2017-10-12 00:32:44 -04:00
Steve Langasek
9f040f0481 Fix wrong variable name in systemd unit snippets. 2017-10-11 18:24:19 -04:00
Steve Langasek
857f1984c9 export SNAP_REEXEC=0 to our snappy systemd units in the livefs overlay,
to work around apparmor not working reliably against aufs.
2017-10-11 12:46:10 -04:00
Balint Reczey
314655a2ae Skip installing server task when building minimial images 2017-10-11 01:57:03 +02:00
Balint Reczey
d6bb42bc63 Use kvm kernel only on amd64 2017-10-11 01:57:03 +02:00
Balint Reczey
549232f607 Clean up dangling /boot/initrd.img symlink when needed 2017-10-11 01:57:03 +02:00
Steve Langasek
7798e70d8f Purge initramfs-tools from minimized images. 2017-10-10 10:52:06 -04:00
Steve Langasek
8094bfb4ee Merge lp:~mwhudson/livecd-rootfs/subiquity-ordering 2017-10-10 10:38:08 -04:00
Dimitri John Ledkov
4b9e6e811f Now that grub-related diversions have been factored out in 2.466
instead of having bogus root=stuff arg generated in grub.cfg, it is
actually empty. Therefore update the sed command to make the arg in
the root= token optional. This should resolve non-booting livecd cpc
images.
2017-10-10 13:23:30 +01:00
Michael Hudson-Doyle
c9128a31e3 add snap.subiquity.started.service to subiquity.service's Requires= 2017-10-09 15:07:56 +13:00
Steve Langasek
58be5d5712 Merge lp:~vorlon/livecd-rootfs/snap-in-mate/ 2017-10-08 21:49:04 -04:00
Steve Langasek
e509a81f1d Unminimization information should only go to motd when we are actually
minimized.
2017-10-08 16:08:07 -04:00
Steve Langasek
1bcb0009ac mkdir before use 2017-10-07 21:35:16 +00:00
Steve Langasek
aec4452acf Fix quoting 2017-10-07 21:15:32 +00:00
Steve Langasek
c61850e168 Use regular chroot, not the Chroot wrapper, so we can actually debug our failing command 2017-10-07 20:51:54 +00:00
Steve Langasek
e59db65edb Add initial support for preinstallation of snaps in images, and
preinstall pulsemixer in the Ubuntu MATE image.
2017-10-07 05:17:27 +00:00
Michael Hudson-Doyle
81f44354e3 Merge lp:~mwhudson/livecd-rootfs/subiquity-ordering 2017-10-06 10:06:28 +13:00
Steve Langasek
d18cb38c4e Merge lp:~xnox/livecd-rootfs/drop-harmful-resolv-fixes 2017-10-05 09:06:29 -07:00
Michael Hudson-Doyle
b5638379a4 Have subiquity.service order after on a service defined by the subiquity
snap, which in turn will order after the job that mounts the subiquity
snap. (LP: #1721414)
2017-10-05 21:39:24 +13:00
Steve Langasek
e7008feb7a fix remaining wrong references to /etc/default/grub.d/40-partuuid 2017-10-04 23:52:19 -07:00
Steve Langasek
90e7ee57c3 and the filename was still wrong 2017-10-04 23:50:26 -07:00
Steve Langasek
bc221a8d67 fix a remaining wrong reference to /etc/default/grub.d/40-partuuid 2017-10-04 23:38:22 -07:00
Steve Langasek
f809512da8 Merge lp:~vorlon/livecd-rootfs/grub-diversions 2017-10-04 22:58:55 -07:00
Steve Langasek
f296ec41c7 Merge lp:~vorlon/livecd-rootfs/generic-model-assertion-handling 2017-10-04 22:57:54 -07:00
Steve Langasek
a75cbf210b Fix the force-partuuid handling to create the file under
/etc/default/grub.d/ with a .cfg extension as grub expects; it's unclear
how this ever worked without.
2017-10-04 22:51:30 -07:00
Steve Langasek
a5e27120c0 Factor out grub-related diversions and use them consistently, so we
don't end up with wrong os-probe output in our grub.cfg.
2017-10-04 22:33:41 -07:00
Steve Langasek
4204faa484 If we're not on xenial and don't have extra ppas, don't try to use the kvm flavor for minimal images since it's not currently available. 2017-10-04 10:13:13 -07:00
Steve Langasek
203eb6251f mkdir our assertions dir 2017-10-03 21:45:50 -07:00
Steve Langasek
ff575bd93d add ubuntu-mate to the set of projects we add snap model assertions to. 2017-10-03 15:52:06 -07:00
Steve Langasek
12b07ae5af move snap assertion handling into the generic build script (and, in
the process, from the subiquity overlay to the base squashfs).
2017-10-03 15:50:06 -07:00
Steve Langasek
e1ac04f887 ubuntu-server: drop hard-coded test key from the subiquity overlay in
favor of the generic-classic assertion from the store.
2017-10-03 15:33:16 -07:00
Steve Langasek
fffec4782f skip installation of kernel headers for all minimal images 2017-10-02 15:17:23 -07:00
Steve Langasek
a85cf55f29 Use kvm kernel flavor for minimized cloud image, not virtual 2017-10-02 14:47:46 -07:00
Dimitri John Ledkov
35e801f00a Drop obsolete fix-ups of resolv.conf, debootstrap should now result in
correct symlink to resolved without any further fixes.
2017-10-02 14:29:52 +01:00
Michael Hudson-Doyle
b5420ebf2e changelog 2017-09-29 17:03:14 -04:00
Michael Hudson-Doyle
a8344ad249 update path again 2017-09-29 16:59:33 -04:00
Steve Langasek
4561f17d35 Merge lp:~rbalint/livecd-rootfs/minimized 2017-09-29 16:41:58 -04:00
Balint Reczey
f0cb85a506 When SUBPROJECT environment variable is not set assume it to be "" 2017-09-29 15:20:14 -04:00
Balint Reczey
2ef2aee456 Use SUBPROJECT=minimized name instead of SUBPROJECT=minimize for consistency 2017-09-29 15:20:14 -04:00