Commit Graph

136 Commits (6a6ac87e24ff724c2283e7e39ed415976cfaab57)

Author SHA1 Message Date
Dimitri John Ledkov f918cd5eb1 Subiquity: install linux-firmware in the installer layer, to make firmware blobs available in the live session. LP: #1847835
5 years ago
Dimitri John Ledkov 4c534bc6be subiquity: Use LazyUnmount=yes on memorymapped /usr/lib/modules.
5 years ago
Dimitri John Ledkov 095c8f4696 Install s390-tools-zkey into the installer layer for zkey support in subiquity.
6 years ago
Steve Langasek 796a89a3c0 Remove dangling symlink /usr/lib/systemd/system/local-fs.target.wants/media-region.lower.mount. It's unclear why this has just started causing build failures, but the symlink should have been removed in 2.592 with the rest of the MAAS stuff.
6 years ago
Dimitri John Ledkov 67b26519bc Drop trying to mount removed maas squashfs.
6 years ago
Dimitri John Ledkov 9d7b6a8e7e Drop maas hook from server-live.
6 years ago
Dimitri John Ledkov aa58b069ed Set executable bit on kernel-bits.binary
6 years ago
Dimitri John Ledkov ba49d6db5f Use snap-tool to seed subiquity snap.
6 years ago
Dimitri John Ledkov d13964805e
Fix ubuntu-server-live images to generate initrd with casper UUID. Whilst configs are sources, the variables are not exported into the environment by default. Thus when casper hook is executed, it had no idea that it should generate UUID.
6 years ago
Dimitri John Ledkov 036d7d2949
Make serial-subiquity@ use the same codepath as tty1 subiquity.
6 years ago
Dimitri John Ledkov 1ab438750d
Revert "subiquity: fix name of mdoules.squashfs to mount"
6 years ago
Dimitri John Ledkov 98e0b1031d
subiquity: fix name of mdoules.squashfs to mount
6 years ago
Dimitri John Ledkov 37d9b77b95
subiquity: make subiqutiy_config.mount optional
6 years ago
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.
6 years ago
Michael Hudson-Doyle 1b93df3ae8 A few simple tweaks to reduce size of live servers installer.squashfs
6 years ago
Michael Hudson-Doyle 1e9fc65863 Use right lsb_release argument for HWE kernel name (-sc -> bionic, need -sr -> 18.04).
6 years ago
Michael Hudson-Doyle 460332296b remove cloud-initramfs-copymods before installing kernel
6 years ago
Michael Hudson-Doyle 7167e3718b add initramfs hook to record kernel metapackage & mount modules
6 years ago
Michael Hudson-Doyle 5565e3a3d8 add hook to create kernel/initrd/modules for ISO
6 years ago
Michael Hudson-Doyle e3e2e5f9ff do not unmount the installer overlay in 032-installer-squashfs.binary
6 years ago
Balint Reczey 73409ddb77 Add .keep files to preserve empty directories
6 years ago
Dimitri John Ledkov 75b9ab1664 Move overlay include.binary /lib to /usr/lib.
6 years ago
Dimitri John Ledkov 93df6705a0 Revert "Do not mount result, on top of lowerdir, appears to fail in
6 years ago
Dimitri John Ledkov 1b424926db Do not mount result, on top of lowerdir, appears to fail in disco.
6 years ago
Dimitri John Ledkov e24dccadcc mount_overlay only takes 3 args
6 years ago
Cody Shepherd 5bee1ade70 Ensure pre-seeded snaps are now published in the image manifests.
6 years ago
Michael Hudson-Doyle ae4a760edb Fix live-server journald config snippet to actually disable journald rate
6 years ago
Michael Hudson-Doyle c9aaddd56a Disable journald rate limiting in the live-server live session.
7 years ago
Michael Hudson-Doyle 4bee7b1898 remove "optional: true" from 00-installer-config.yaml
7 years ago
Michael Hudson-Doyle eca9613bf3 Symlink systemd-networkd-wait-online to /bin/true in the live installer
7 years ago
Dimitri John Ledkov f32b6ed261 Clear maas role password
7 years ago
Dimitri John Ledkov 3ed266091c Ensure MAAS squashfsi are clean of passwords. LP: #1764991.
7 years ago
Dimitri John Ledkov 466607c590 In subiquity image, mount additional squashfs in /media.
7 years ago
Dimitri John Ledkov 8d5af150cd Make subiquity installer boot quicker, by making dhcp interfaces
7 years ago
Michael Hudson-Doyle 8ece245153 In the live-server build, prevent casper from mounting any existing swap
7 years ago
Michael Hudson-Doyle a5a4f4e0d8 * Rename the directory containing the systemd override file for subiquity to
7 years ago
Dimitri John Ledkov 9df3a91e26 ubuntu-server: generate multi-lowerdir overlayfs for
7 years ago
Michael Hudson-Doyle 4407aaf1ae it is config/common, not config/binary, grr
7 years ago
Michael Hudson-Doyle 27eaa9328a source config/binary in 032-installer-squashfs.binary
7 years ago
Michael Hudson-Doyle b163743456 call recreate_initramfs with the argument it needs
7 years ago
Michael Hudson-Doyle 416ef912ed make another possibly more generally useful function
7 years ago
Michael Hudson-Doyle c85cae9bfe respond to some review feedback
7 years ago
Michael Hudson-Doyle d46e397b24 merge trunk
7 years ago
Michael Hudson-Doyle d1b26ce330 Override JobRunningTimeoutSec to 0s on the .device unit that
7 years ago
Michael Hudson-Doyle b01a9b0d7a leave getty@tty1 in a state where it can be re-enabled
7 years ago
Michael Hudson-Doyle 62a6e6270f shuffle subiquity service definition to a mix of a snapd-generated service file (not in this branch) and an overlay (in this branch)
7 years ago
Michael Hudson-Doyle a7f8044a85 Disable the snapd.refresh.timer in the live server session.
7 years ago
Michael Hudson-Doyle 6ca49ecf0f remove some commented out gunk from .service files
7 years ago
Michael Hudson-Doyle ec1f465e2c fix path in serial-subiquity@.service
7 years ago
Michael Hudson-Doyle 2ebe4ec60d run subiquity on the serial console
7 years ago
Michael Hudson-Doyle 7c1c7a80c2 enable networkd for live-server systems
7 years ago
Michael Hudson-Doyle 3ecbd2802e tweaks before review
7 years ago
Michael Hudson-Doyle 8c8b16b5e6 sigh
7 years ago
Michael Hudson-Doyle 0113b9aad7 self-review
7 years ago
Michael Hudson-Doyle b913dcdf1c gen the initramfs with the right options and repack it with lzma
7 years ago
Michael Hudson-Doyle 6ddf832b20 slimy hack to get a casper-ized initrd in place
7 years ago
Michael Hudson-Doyle 26753602fe Move casper from filesystem.squashfs to installer.squashfs.
7 years ago
Michael Hudson-Doyle e0809e31f6 Automount a partition of fixed UUID for giving subiquity canned answers.
7 years ago
Michael Hudson-Doyle 1a99680334 Remove snap.subiquity.started from subiquity's After=/Requires= as it
7 years ago
Michael Hudson-Doyle 895e2a51f1 Seed the subiquity snap to track the stable channel (LP: #1724410)
7 years ago
Steve Langasek e53ad3b354 Fix server live image to pull subiquity from the stable channel, not
7 years ago
Steve Langasek bea8a0696e snap.subiquity.started.service must be RemainAfterExit=yes to satisfy
7 years ago
Steve Langasek f58957acd6 Add the SNAP_REEXEC=0 enviroment to the subiquity service as well.
7 years ago
Steve Langasek 9f040f0481 Fix wrong variable name in systemd unit snippets.
7 years ago
Steve Langasek 857f1984c9 export SNAP_REEXEC=0 to our snappy systemd units in the livefs overlay,
7 years ago
Michael Hudson-Doyle c9128a31e3 add snap.subiquity.started.service to subiquity.service's Requires=
7 years ago
Michael Hudson-Doyle 81f44354e3 Merge lp:~mwhudson/livecd-rootfs/subiquity-ordering
7 years ago
Steve Langasek d18cb38c4e Merge lp:~xnox/livecd-rootfs/drop-harmful-resolv-fixes
7 years ago
Michael Hudson-Doyle b5638379a4 Have subiquity.service order after on a service defined by the subiquity
7 years ago
Steve Langasek 12b07ae5af move snap assertion handling into the generic build script (and, in
7 years ago
Steve Langasek e1ac04f887 ubuntu-server: drop hard-coded test key from the subiquity overlay in
7 years ago
Dimitri John Ledkov 35e801f00a Drop obsolete fix-ups of resolv.conf, debootstrap should now result in
7 years ago
Michael Hudson-Doyle a8344ad249 update path again
7 years ago
Michael Hudson-Doyle c643176917 fix path to subiquity-loadkeys
7 years ago
Michael Hudson-Doyle 8d43597228 add ExecStartPre=/usr/bin/subiquity-loadkeys to subiquity.service
7 years ago
Michael Hudson-Doyle 61764acade only show alert (i.e. panic) kernel messages on the console when subiquity is running
7 years ago
Michael Hudson-Doyle 9802843885 make file paths a bit less comical
7 years ago
Michael Hudson-Doyle 4941d4ee14 move default netplan to where the hook will pick it up
7 years ago
Steve Langasek 03d7dff3ff Merge lp:~mwhudson/livecd-rootfs/default-netplan-for-server-live
7 years ago
Steve Langasek bacde14e41 Also adjust live-build/ubuntu-server/hooks/032-installer-squashfs.binary
7 years ago
Michael Hudson-Doyle 1676147a84 add some dhcp-on-wired-looking-things default netplan for the server live image
7 years ago
Colin Watson 6a42148b22 Mount and unmount /dev recursively, to cope with setups where there are
7 years ago
Balint Reczey aa54a130c3 Depend on packages in main instead of installing them at runtime
8 years ago
Mathieu Trudel-Lapierre 8de300621f For ubuntu-server images, the live user created by user-setup is 'ubuntu-server', not 'ubuntu'. Fix this so that gettys will start on VTs.
8 years ago
Mathieu Trudel-Lapierre 46bae4cebf Fix up functions refactoring tfor a proper path to the file.
8 years ago
Mathieu Trudel-Lapierre ab949fac18 Rename ubuntu-server-live -> ubuntu-server
8 years ago