Commit Graph

186 Commits (e26b264b0dcaeb57e2e67a7281eda0633cb47b0b)

Author SHA1 Message Date
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
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
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
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