Commit Graph

205 Commits (d3ef751279b1fbefc9e9b9665b28587c05a78f3f)

Author SHA1 Message Date
Brian Murray 995295964b Use default compat for qcow2 images.
2 years ago
Thomas Bechtold 34735684d5 Allow to install core snap optionally
3 years ago
Ivan Kapelyukhin 50e32d93c0
fix: unset initrdless_boot_fallback_triggered instead of setting it to 0
3 years ago
John Chittum ce5dd6f411 Add sleep to workaround e2fsck errors
3 years ago
Thomas Bechtold 14a628e3c8 Disable APT periodic update for OCI/docker images
3 years ago
Steve Langasek 5474af17df Remove references to archive.canonical.com, which is no longer used and should not be included in the default sources.list.
3 years ago
William Wilson 2312c08d26 Revert change for local builds as it is breaking autopkgtests
3 years ago
Steve Langasek 245f7772bd 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 bcfad43fd4 We don't pipe grep to awk in this house, young man
3 years ago
Steve Langasek 0b4811f7a9 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
Heinrich Schuchardt d65af891f3 functions: fix unmounting for local builds
3 years ago
John Chittum 9c3851d401
Mount cgroup2 type for snapd
3 years ago
Łukasz 'sil2100' Zemczak 2dc48a1687 Make the UBUNTU_STORE_ARCH adjustment more fool-proof
3 years ago
Ethan Hsieh f4312118cc functions: download snap packages with correct architecture
4 years ago
Dimitri John Ledkov 20f76e7cf8
Merge branch 'preinstalled' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
4 years ago
Dimitri John Ledkov d5a8116428
Add support for generic preinstalled images. LP: #1923832
4 years ago
Thomas Bechtold a81972a58b
add configure_oci function and use it in ubuntu-oci
4 years ago
Thomas Bechtold ac4a95b931
Add new ubuntu-oci project
4 years ago
Dimitri John Ledkov 096a00f404
functions: stop removing systemd-detect-virt unconditionally in undivert_grub
4 years ago
Dimitri John Ledkov a808b28d47
riscv64: build preinstalled riscv64 image with uboot SPL and CIDATA.
4 years ago
Sebastien Bacher 79e8f3b53e Use the target realpath to do the unmounting
4 years ago
Dimitri John Ledkov f53a681d8a
Merge remote-tracking branch 'patviafore/use_ftpmaster_instead_of_archive_in_binary_hooks' into ubuntu/master
4 years ago
John Chittum 4f1df739f6
Debug logging information
4 years ago
John Chittum 201addb317
Remove sed and move size check
4 years ago
John Chittum 24ee4b8c4d
vmtools version in vmdk header (LP: #1893898)
4 years ago
Pat Viafore 78ced6b26e
Rename function to be shorter
4 years ago
Pat Viafore 32d5afc40a
Expose a variable for sources.list backup
4 years ago
Robert C Jennings 5190aff932
Ensure a binary hook has not changed the temporary sources.list
4 years ago
Robert C Jennings 5362e3a7e7
Use build env archive mirror in binary hooks
4 years ago
Steve Langasek 37f5f8881f Revert "Revert "Remove fstab from squashfs images""
4 years ago
Steve Langasek d9de270189 Revert "Remove fstab from squashfs images"
4 years ago
Dimitri John Ledkov 4d4f113f42
functions: provide nss_systemd-less nsswitch.conf in chroots.
4 years ago
David Krauser 83499f1a95 Add mechanism to detect initrdless boot fallback
4 years ago
Dimitri John Ledkov b14f79ce2e
apparmor: compile all profiles
4 years ago
Dimitri John Ledkov 31861fd40d
seccomp: mount more up-to-date seccomp features
4 years ago
Dimitri John Ledkov a14a31b751
apparmor: mount more up-to-date apparmor features in the chroot.
4 years ago
Robert C Jennings 1ca11c9795
Apply snap-preseed optimizations after seeding snaps
4 years ago
David Krauser 4c504f6781 Fix broken minimal cloud image boot on amd64
5 years ago
Joshua Powers d542e8e4a0
functions: fix unbound variable
5 years ago
Robert C Jennings a6a7be7c18
Release package livecd-rootfs version 2.672
5 years ago
Dimitri John Ledkov 2976a99f29 Fix-up seeding snaps with tracks.
5 years ago
Dimitri John Ledkov bdec14015c Merge branch 'snap-preseed-channel-specification' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
5 years ago
Dimitri John Ledkov 7bae9201d2 snap_preseed: support channel specification with snap name
5 years ago
David Krauser 8a2cdec470 Boot without an initramfs by default if running a custom kernel
5 years ago
Balint Reczey f96e874ed1 Remove fstab from squashfs images
5 years ago
Dimitri John Ledkov 1979e61c36 Merge branch 'kpartx-fun' of git+ssh://git.launchpad.net/~mwhudson/livecd-rootfs/+git/livecd-rootfs into ubuntu/master
5 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
Michael Hudson-Doyle 2498aadebb Call udevadm settle before kpartx -d
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
Tobias Koch 05e71b3840 Do not include any snaps in ubuntu-cpc:minimized builds
6 years ago
Steve Langasek 7e4a2627ed Use python3 vmdkstream exclusively; we should not fall back to python2.
6 years ago
Dimitri John Ledkov a77ec4a9df
Add python3 vmdkstream support
6 years ago
Balint Reczey 8a78ab4021 Merge make-rprivate-before-umount
6 years ago
Balint Reczey 96cc185813 Merge feature/parallelization-snap-version-fixing
6 years ago
Didier Roche 1c435c03d2 Fix customized images with multiple brand/models
6 years ago
Tobias Koch 654fcae467 Replace "snap download" with tool that uses snap store's coherence feature
6 years ago
Balint Reczey 33c5ad0b19 live-build/functions: Always use mount --make-private before umount
6 years ago
Jean-Baptiste Lallement 3dce125d72 Remove inidrd and vmlinuz from live layers after they've been moved to casper
6 years ago
Jean-Baptiste Lallement f84d92d76f Calculate total size of the image + typos
6 years ago
Jean-Baptiste Lallement 402cdd15be Adds is_root_layer
6 years ago
Jean-Baptiste Lallement 283871573d Changed the naming scheme for multi layer images to dot format
6 years ago
Jean-Baptiste Lallement e0d30dd2d3 Fixed substract -> subtract
6 years ago
Jean-Baptiste Lallement 43ec452fa0 Moved reusable functions to functions
6 years ago
Jean-Baptiste Lallement 3b21bd9a2e Moved back config helper functions to config
6 years ago
Jean-Baptiste Lallement f3dadf1091 Support for positive and negative sublayers
6 years ago
Jean-Baptiste Lallement 1ab78e783b Generate snap list from task
6 years ago
Jean-Baptiste Lallement 00e474e2ff Make snap functions idempotent
6 years ago
Jean-Baptiste Lallement ef72cf5fe8 Code refactoring:
6 years ago
Jean-Baptiste Lallement 3e34faaa70 Moved add_task and add_package to functions in order to be available in hooks
6 years ago
Steve Langasek 77c44167df Delete no longer accurate comments
6 years ago
Cody Shepherd c7e0c27607 [ Cody Shepherd ]
6 years ago
Dimitri John Ledkov 8868522e78 When calling snap-seed-parse append stdout to file, but redirect
6 years ago
Cody Shepherd 2819290352 Changed absoluted paths to relative; set changelog message to UNRELEASED
6 years ago
Cody Shepherd 5bee1ade70 Ensure pre-seeded snaps are now published in the image manifests.
6 years ago
Robert C Jennings 5bbb8e6b3f Improve snap model assertion code for readability
6 years ago
Robert C Jennings 0e00214cc6 Ensure snap models have been added prior to snap preseeding
6 years ago