Michael Hudson-Doyle
b677bdbcc6
Remove 68-del-part-nodes.rules from installer squashfs to work around it breaking curtin. (LP: #1893818 )
2020-10-15 08:33:23 +13:00
Steve Langasek
37f5f8881f
Revert "Revert "Remove fstab from squashfs images""
...
This reverts commit d9de2701897608710ed97e206ee29f28af8cc82a.
2020-08-27 12:17:22 -07:00
Steve Langasek
d9de270189
Revert "Remove fstab from squashfs images"
...
This reverts commit f96e874ed12e7e080111d27aa14c4f97aa6bec87.
2020-08-12 11:35:06 -07:00
Dimitri John Ledkov
6e6ab16bf2
live-server: remove duplicate snaps, due to overlayfs vs snap-preseed.
2020-07-17 21:17:34 +01:00
Balint Reczey
f96e874ed1
Remove fstab from squashfs images
...
The default fstab is not valid, since squashfs does not support labels.
LP: #1877078
2020-06-16 22:14:59 +02:00
Dimitri John Ledkov
a21a67ab52
Print subiquity ssh login details on s390x line based consoles.
2020-04-16 23:54:27 +01:00
Michael Hudson-Doyle
0dc12a1122
remove stuff for copying autoinstall files around
2020-03-03 15:08:52 +01:00
Michael Hudson-Doyle
f6e5da24f9
enable cloud-init in live session on all architectures
2020-03-03 15:08:45 +01:00
Dimitri John Ledkov
d7045b2e09
Fixup subiquity:
...
- drop ds-identify policy, not needed with improved cloud config
- drop disabling network, doesn't work with ip=
- fixup setting up the INSTALLER_ROOT mountpoint
2020-02-10 23:50:03 +00:00
Dimitri John Ledkov
3b1047fbc2
Configure a better nocloud datasource for subiquity cloud-init.
2020-02-07 22:11:54 +00:00
Dimitri John Ledkov
e062389eb9
* On s390x subiquity:
...
- enable cloud-init
- make cloud-init handle the default/baked in networking configuration
- install and enable openssh-server for the installation only
- provide cloud.cfg that generates random installer user password
- disable subiquity on sclp_line0 line based console
2020-01-29 14:16:00 +00:00
Michael Hudson-Doyle
1be2ba1779
oops
2019-11-22 13:42:22 +13:00
Michael Hudson-Doyle
547eb7bda8
copy /autoinstall.yaml in initrd to /run/initrd-autoinstall.yaml if present
2019-11-22 13:42:22 +13:00
Michael Hudson-Doyle
377e7b4ddd
mount a filesystem with label autoinstall at /autoinstall for live-server
...
This is one of the ways an autoinstall file can be provided.
2019-11-22 13:42:22 +13:00
Dimitri John Ledkov
f918cd5eb1
Subiquity: install linux-firmware in the installer layer, to make firmware blobs available in the live session. LP: #1847835
2019-10-13 20:53:04 +01:00
Dimitri John Ledkov
095c8f4696
Install s390-tools-zkey into the installer layer for zkey support in subiquity.
2019-06-20 23:26:13 +01:00
Dimitri John Ledkov
ba49d6db5f
Use snap-tool to seed subiquity snap.
2019-05-16 13:03:30 +02:00
Dimitri John Ledkov
37d9b77b95
subiquity: make subiqutiy_config.mount optional
...
Remove wants from local-fs.target, add wants from the uuid device instead.
Tested by applying these changes from pre-pivot-root by modifying
/root files in place whilst booting with break=bottom.
2019-02-18 10:26:08 +01:00
Michael Hudson-Doyle
625ace8483
Do not include curtin in the live-server installer.squashfs as the version of subiquity that includes it in the snap has now been released to stable.
2018-12-18 15:18:04 +13:00
Michael Hudson-Doyle
1b93df3ae8
A few simple tweaks to reduce size of live servers installer.squashfs
...
- Do not run apt-get update (which can bring in package lists if we are
unlikely wrt publisher schedules).
- Run apt-get clean to clear out downloaded debs of curtin/casper and
dependencies.
- Do not install user-setup.
- Use the core snap from the base filesystem if present.
2018-12-17 13:51:58 +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
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
1b424926db
Do not mount result, on top of lowerdir, appears to fail in disco.
2018-11-08 14:54:20 +00:00
Michael Hudson-Doyle
8ece245153
In the live-server build, prevent casper from mounting any existing swap
...
partitions from drives we might later be installing to.
2018-03-15 20:26:00 +13:00
Michael Hudson-Doyle
4407aaf1ae
it is config/common, not config/binary, grr
2018-02-23 14:58:03 +13:00
Michael Hudson-Doyle
27eaa9328a
source config/binary in 032-installer-squashfs.binary
2018-02-23 13:38:15 +13:00
Michael Hudson-Doyle
b163743456
call recreate_initramfs with the argument it needs
2018-02-23 09:41:50 +13:00
Michael Hudson-Doyle
416ef912ed
make another possibly more generally useful function
2018-02-23 09:30:29 +13:00
Michael Hudson-Doyle
c85cae9bfe
respond to some review feedback
2018-02-23 09:18:33 +13:00
Michael Hudson-Doyle
d46e397b24
merge trunk
2018-02-22 13:58:12 +13:00
Michael Hudson-Doyle
d1b26ce330
Override JobRunningTimeoutSec to 0s on the .device unit that
...
subiquity_config.mount depends on to avoid a 5s delay on switching to a
new VT when there is no device there (LP: #1750117 )
2018-02-20 15:22:43 +13:00
Michael Hudson-Doyle
3ecbd2802e
tweaks before review
2017-12-13 22:32:22 +13:00
Michael Hudson-Doyle
8c8b16b5e6
sigh
2017-12-13 19:27:37 +13:00
Michael Hudson-Doyle
0113b9aad7
self-review
2017-12-13 16:13:14 +13:00
Michael Hudson-Doyle
b913dcdf1c
gen the initramfs with the right options and repack it with lzma
2017-12-13 15:42:37 +13:00
Michael Hudson-Doyle
6ddf832b20
slimy hack to get a casper-ized initrd in place
2017-12-13 10:07:14 +13:00
Michael Hudson-Doyle
26753602fe
Move casper from filesystem.squashfs to installer.squashfs.
2017-12-12 23:29:59 +13:00
Michael Hudson-Doyle
895e2a51f1
Seed the subiquity snap to track the stable channel (LP: #1724410 )
2017-10-18 13:23:45 +13:00
Steve Langasek
e53ad3b354
Fix server live image to pull subiquity from the stable channel, not
...
from edge.
2017-10-15 13:44:54 -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
Michael Hudson-Doyle
9802843885
make file paths a bit less comical
2017-09-19 19:18:09 +12:00
Steve Langasek
bacde14e41
Also adjust live-build/ubuntu-server/hooks/032-installer-squashfs.binary
...
to use teardown_mountpoint.
2017-09-13 12:03:34 -07:00
Colin Watson
6a42148b22
Mount and unmount /dev recursively, to cope with setups where there are
...
interesting bind-mounts under /dev (e.g. loop devices bind-mounted by
LXD).
2017-09-08 11:48:06 +01:00
Balint Reczey
aa54a130c3
Depend on packages in main instead of installing them at runtime
2017-06-14 18:25:11 +02:00
Mathieu Trudel-Lapierre
46bae4cebf
Fix up functions refactoring tfor a proper path to the file.
2017-04-11 17:16:35 -04:00
Mathieu Trudel-Lapierre
ab949fac18
Rename ubuntu-server-live -> ubuntu-server
2017-04-07 17:15:54 -04:00