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
Balint Reczey
d496915741
Warn users that unminimize may fail reinstalling packages
2017-09-29 15:20:11 -04:00
Balint Reczey
69c1eb6d26
Mention unminimize script in motd
2017-09-29 15:16:25 -04:00
Steve Langasek
894ca9ccfc
Fix a reference to an undefined variable in a script that's set -u.
2017-09-29 15:10:45 -04:00
Michael Hudson-Doyle
c643176917
fix path to subiquity-loadkeys
2017-09-29 08:45:02 -04:00
Dimitri John Ledkov
9d3ebb79e4
merge lp:~mwhudson/livecd-rootfs/subiquity-loadkeys
2017-09-28 13:57:49 -04:00
Balint Reczey
c5d01a6635
Force partuuid in /etc/default/grub.d/* instead of in /etc/default/grub
...
This prevents ucf questions upon installation of changed /etc/default/grub
2017-09-27 18:54:09 -04:00
Steve Langasek
0365171ce3
minimization handling for UEFI disk images
2017-09-26 22:39:09 -04:00
Balint Reczey
2858d7fb62
Print the documentation files which could not be restored by unminimize
2017-09-26 22:39:09 -04:00
Balint Reczey
e28933a1d5
Explain why unminimization script is a bit complicated
2017-09-26 22:39:09 -04:00
Balint Reczey
583d813b9b
Verify only documentation that should have been restored after unminimization
2017-09-26 22:39:09 -04:00
Balint Reczey
3532fa0b18
Use "dpkg --verify-format rpm" explicitly to be safe when the default changes
2017-09-26 22:39:09 -04:00
Balint Reczey
11da0c59a5
Fix typo
2017-09-26 22:39:09 -04:00
Balint Reczey
9dd615d380
Drop initramfs-tools diversion
...
Kernels which are able to boot without initramfs now dropped dependency
on initramfs-tools thus initramfs-tools can be removed from the image
instead of having to divert it to avoid initramfs generation.
2017-09-26 22:39:09 -04:00
Balint Reczey
d5483eb728
Install ubuntu-minimal while unminimizing the system
2017-09-26 22:39:09 -04:00
Balint Reczey
6672dde922
Add unminimize script for reverting minimization on running system
2017-09-26 22:39:09 -04:00
Balint Reczey
bb7e620701
Drop man pages and most of the documentation from minimized images
...
/usr/share/doc/*/copyright and changelog.Debian.gz files are still kept
2017-09-26 22:39:09 -04:00
Balint Reczey
d65e1edfd1
Source config/binary instead of /build/config/binary which may not exist
2017-09-26 22:39:09 -04:00
Steve Langasek
83f165ec91
if we're using SUBPROJECT=minimize, and tzdata is not installed, remove
...
files that have been left behind. This is a workaround for a bug that should
be fixed in tzdata.
2017-09-26 22:39:09 -04:00
Steve Langasek
3ed1f4fdd1
In a cloud environment, we can rely on the kernel being able to boot the
...
root filesystem directly, without an initramfs; enable this when
building minimized.
2017-09-26 22:39:09 -04:00
Steve Langasek
95890f6713
We probably still want sudo, even in a minimal image.
2017-09-26 22:39:09 -04:00
Steve Langasek
786370819c
Make the 999-cpc-fixes.chroot subproject-aware, so we don't try to locale-gen
2017-09-26 22:39:09 -04:00
Steve Langasek
e6bbe5f8a5
Export the subproject into config/chroot and config/binary, so that this
...
information is available to per-project hooks that need to be
subproject-aware (e.g., to skip steps when SUBPROJECT=minimize)
2017-09-26 22:39:09 -04:00
Steve Langasek
abbbeb8fda
Begin adding support for a project-independent 'minimize' subproject,
...
which (ironically) omits ubuntu-minimal in favor of using only the
minbase package set.
2017-09-26 22:39:08 -04:00
Steve Langasek
7c58bcecf0
Merge lp:~rbalint/livecd-rootfs/vagrant
2017-09-26 12:19:56 -04:00
Balint Reczey
20617c6f51
Don't ask for password and GECOS while creating vagrant user
2017-09-25 18:02:09 -04:00
Michael Hudson-Doyle
8d43597228
add ExecStartPre=/usr/bin/subiquity-loadkeys to subiquity.service
...
This makes shift-tab work
2017-09-25 15:03:18 -04:00
Balint Reczey
45201111a6
Mount using --make-rslave to ensure safe unmounts for rbind mounts
2017-09-25 11:42:28 -04:00
Gary.Wzl
5355732bc8
* Add GENERATE_ROOTFS_ONLY to support generating a single rootfs.
...
* Add a test for SUBPROJECT when PROJECT comes to ubuntu-server.
2017-09-20 18:23:35 +08:00