Commit Graph

192 Commits (24.04.4)

Author SHA1 Message Date
Philip Roche 5d959b24da fix: Enable snap preseeding with ppc64el images where /boot/vmlinux is used instead of /boot/vmlinuz. (LP: #2038957)
1 year ago
Steve Langasek 85606c8b9d Merge remote-tracking branch 'philroche/bugfix/ubuntu-cpc-filelist-sort-LP-2033677' into ubuntu/master
1 year ago
Simon Poirier f3114e7fb5 fix: fix var used before declaration in snap_validate_seed
1 year ago
Steve Langasek 6820ef310c Merge remote-tracking branch 'toabctl/boot-partition' into ubuntu/master
1 year ago
Steve Langasek 1deccc2edd The chroot tmpfs mount should only be /var/lib/apt/lists, not /var/lib/apt; the latter breaks changes to /var/lib/apt/extended_states. LP: #2036195.
1 year ago
Gauthier Jolly 626e59b4e5 functions: add support for mounting boot partition
1 year ago
Steve Langasek 34e850d4a5 blkid is unreliable in mount_image(), but this blkid call is only here for debugging, so ignore any failures (even if we don't understand them). LP: #2034299.
1 year ago
Philip Roche f8bd628c83 fix: Sort filelists creating when building ubuntu-cpc images (LP: #2033677)
1 year ago
Michael Hudson-Doyle 5456e4e5e6 Undo preseeding in reset_snapd_state.
1 year ago
Steve Langasek b43e3b84f4 Reset /var/lib/snapd in the upper layers before calling snap prepare-image
1 year ago
Philip Roche a373fb527c fix: Install required package fuse3 when preseeding snaps (LP: #2031640)
1 year ago
Jess Jang 5e96ff013e fix: bind correct apparmor feature for validating snap seed
1 year ago
Gauthier Jolly 2929ff092e Revert "ubuntu-cpc: Make the ESP 2GiB and mount it to /boot"
1 year ago
Gauthier Jolly bbedffe6ec ubuntu-cpc: fix images for hardware devices
2 years ago
Gauthier Jolly 6a66666e0a ubuntu-cpc: Make the ESP 2GiB and mount it to /boot
2 years ago
Steve Langasek 6fac77b481 Revert "Revert "Revert "Revert the recent kpartx->losetup changes, as we need to put some other changes on top. Let's try to re-introduce this for MM."""
2 years ago
Łukasz 'sil2100' Zemczak 1931bbcb19 Revert "Revert "Revert the recent kpartx->losetup changes, as we need to put some other changes on top. Let's try to re-introduce this for MM.""
2 years ago
Łukasz 'sil2100' Zemczak 4dbd985231 Revert "Try to use udevadm settle after losetup to resolve race in riscv64 image builds."
2 years ago
Michael Hudson-Doyle a65c181596 auto/config: Rewrite add_task to use a Python script that cribs the logic from lp:ubuntu-archive-publishing's generate_extra_overrides.py. This means we can avoid some dubious hacks around seeding snaps and no longer depend on the Task headers in the archive.
2 years ago
Steve Langasek ef146db895 Try to use udevadm settle after losetup to resolve race in riscv64 image builds.
2 years ago
Steve Langasek ada1f09b39 Revert "Revert the recent kpartx->losetup changes, as we need to put some other changes on top. Let's try to re-introduce this for MM."
2 years ago
Łukasz 'sil2100' Zemczak 7b07db9111 Revert the recent kpartx->losetup changes, as we need to put some other changes on top. Let's try to re-introduce this for MM.
2 years ago
Steve Langasek 1e0daf6af9 Clean up some remaining references to /dev/mapper.
2 years ago
Steve Langasek 6b40317404 Use the correct path for the loop device.
2 years ago
Steve Langasek a130ee17c3 Call losetup -d properly.
2 years ago
Steve Langasek 5e4b2d3cc3 Use losetup instead of kpartx to set up loopback partitions
2 years ago
Chad Smith 9a82720f1c cloud-init: prefer netplan to handle all network manager config
2 years ago
Dave Jones 6a804b7b2c Don't add 01-network-manager-all.yaml to preinstalled desktop images
2 years ago
Chad Smith fba5be17fd cloud-init.service: systemd ordering after after NetworkManager
2 years ago
Łukasz 'sil2100' Zemczak c335e6ed8b Merge branch 'cloud-init-and-u-d-i' of git+ssh://git.launchpad.net/~dbungert/livecd-rootfs into ubuntu/master
2 years ago
Utkarsh Gupta e04ea00f1f Remove whitespaces
2 years ago
Samir Akarioh 8b8ad2e0ac feat: Add Ubuntu user
2 years ago
Samir Akarioh 105acdebc7 feat: Add metadata on ubuntu-oci image
2 years ago
John Chittum e11d091106
Revert "Disable the snap-preseed"
2 years ago
Brian Murray 31d42bfd2f Disable the snap-preseed calls in the interest of getting images built for the 22.10 beta. (LP: #1990884)
2 years ago
Dan Bungert ef834c2e7d functions: let `cloud-init clean` inform about NM
2 years ago
Dan Bungert eb0530b7a7 functions: inform cloud-init about network manager
2 years ago
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