Commit Graph

132 Commits (f86653ccd934f21a5b4be1c67aedc8ef8b1fba0c)

Author SHA1 Message Date
Utkarsh Gupta 8be7e4ff50 Clean up whitespaces
2 years ago
Samir Akarioh aa1c6d9e19 feat: Add metadata on ubuntu-oci image
2 years ago
Thomas Bechtold edc244249a Allow to install core snap optionally
3 years ago
Ivan Kapelyukhin 9eb9d89a60
fix: unset initrdless_boot_fallback_triggered instead of setting it to 0
3 years ago
John Chittum 0fbafa9dbe Add sleep to workaround e2fsck errors
3 years ago
Steve Langasek bf889e33e4 Treat it as a fatal error if we are asked to install a snap that would pull in the core snap. Ubuntu 20.04 and Ubuntu 22.04 official images should never require snaps that depend on an Ubuntu 16.04 runtime, this indicates a misconfiguration that will bloat the install.
3 years ago
Steve Langasek 83953bd041 We don't pipe grep to awk in this house, young man
3 years ago
Steve Langasek dc629f4114 Do not look for a base snap on snaps of type base, because recursive dependencies are not allowed for snaps. LP: #1957123.
3 years ago
Łukasz 'sil2100' Zemczak 0b56fd53fe Revert /dev sharing improvements.
3 years ago
Łukasz 'sil2100' Zemczak c3ebdc6f66 Backport fix for LP: #1938414
3 years ago
Thomas Bechtold 99add26dc3
add configure_oci function and use it in ubuntu-oci
4 years ago
Thomas Bechtold 9e15d88f4c
Add new ubuntu-oci project
4 years ago
Pat Viafore 0775862a25
Add mechanism to detect initrdless boot fallback
4 years ago
David Krauser c81f4ca2e3
Boot without an initramfs by default if running a custom kernel
4 years ago
Dimitri John Ledkov 6b32cd5fb1
functions: stop removing systemd-detect-virt unconditionally in undivert_grub
4 years ago
Dimitri John Ledkov 7680ece7b0
riscv64: backport HiFive unleashed & cloud-image building support
4 years ago
John Chittum c5cea219f4
re-add sed command
4 years ago
John Chittum 56862cd9b8
Backport vmtools version in vmdk (LP: #1893898)
4 years ago
Dimitri John Ledkov 558bcbc47e
functions: provide nss_systemd-less nsswitch.conf in chroots.
4 years ago
Dimitri John Ledkov 260c051032
apparmor: compile all profiles
4 years ago
Dimitri John Ledkov ce5a138c79
seccomp: mount more up-to-date seccomp features
4 years ago
Dimitri John Ledkov acc7e97f38
apparmor: mount more up-to-date apparmor features in the chroot.
4 years ago
Robert C Jennings 39ebdf6902
Apply snap-preseed optimizations after seeding snaps
4 years ago
Dimitri John Ledkov 896b5962db
snap_preseed: support channel specification with snap name
4 years ago
Dimitri John Ledkov ad64e38c48 Run snap info on the downloaded snap, rather than against the store. First of all snap info doesn't have --channel argument, thus queries the wrong channel, and depening on the cohort, a different snap might be visible too. Thus seed the base of the snap revision we dowanloaded, rather than some random one from the store.
5 years ago
Robert C Jennings 66041e9d8c
Do not unconditionally install the core snap
5 years ago
Robert C Jennings 14066ce389
Fix logic to ensure snapd is seeded in core18-only images
5 years ago
Robert C Jennings d214127b9f
Address snap base regression after snap-tool removal
5 years ago
Iain Lane ede0be897b
Pass --verbose to `snap info` so that it includes the base.
5 years ago
Robert C Jennings 489f009e49
Use snap cli rather than custom snap-tool
5 years ago
Michael Hudson-Doyle 21c57e2764 pass -xdev to find when making filelists
5 years ago
Michael Hudson-Doyle 51b59ed960 fix bashism
5 years ago
Michael Hudson-Doyle 16881594e0 Create a filelist whenever creating a manifest for an ubuntu-cpc project.
5 years ago
Iain Lane 2d19a9446e
snap_preseed: Handle SNAP_NO_VALIDATE_SEED being unset
5 years ago
Iain Lane b68a5abf65
snap seeding: Defer validation for regular image builds
5 years ago
Colin Watson 9a65a4013d Undivert update-initramfs more carefully
5 years ago
Iain Lane 979dbde6a2
Fix slight whitespace error
6 years ago
Iain Lane b208ded59e
Merge branch 'snap-validate-seed' of git+ssh://git.launchpad.net/~mvo/livecd-rootfs into ubuntu/master
6 years ago
Michael Vogt 4fb73c2b19 functions: use CHROOT_ROOT in snap_preseed
6 years ago
Michael Vogt 248efab2fd live-build: move snap seed validation into snap_preseed
6 years ago
Iain Lane 7f07cc8991
live-build/functions: Seed core again on non-minimized builds
6 years ago
Tobias Koch 18468c4218 Check exit status of snap-tool info call while determining base snap
6 years ago
David Krauser 0e3b1e206b
Add support for HyperV Gallery images
6 years ago
Pat Viafore 9bf4c7cb52
Adding apt-get autoremove and setting IMAGE_STR
6 years ago
Pat Viafore afbda566eb
Adding hooks and making replace_kernel function
6 years ago
Michael Hudson-Doyle 42992467a1 Remove device nodes later for ubuntu-base:minimized (i.e. docker) builds. (LP: #1828118)
6 years ago
Steve Langasek 39f2558b96 Fix the sed script that Tobias had right in the first place and I mangled in the previous upload.
6 years ago
Steve Langasek f4fa240ed7 Adjust sed command for clarity.
6 years ago
Tobias Koch 79e3123053 Make snapd-explicit-install-stamp a part of the image
6 years ago
Tobias Koch 796211dde7 If image has core18 snaps only, automatically preseed snapd
6 years ago