Commit Graph

201 Commits (34fb57e3621e9a1f3531e3e3faea2631e3d6f7aa)

Author SHA1 Message Date
Chad Smith 0c53dae35d functions: cloud-init clean script needs to declar interpreter
10 months ago
Julian Andres Klode 8a0a5a7e4a Switch from sources.list to ubuntu.sources
10 months ago
dann frazier 3a00ad5263 Use flock to avoid races with systemd-udevd
11 months ago
Utkarsh Gupta e37253418b Merge remote-tracking branch 'virtustom/mount-partnum-param' into ubuntu/master
11 months ago
Michael Hudson-Doyle 57592e6dc1 live-build/functions: avoid losetup -P as it appears to race with udev and do it a bit more by-hand instead. (LP: #2045586)
11 months ago
Tomáš Virtus dab1f8c765
feat: mount_disk_image: Add rootpart parameter
11 months ago
Michael Hudson-Doyle c75f6b3db4 Merge remote-tracking branch 'xypron/umount' into ubuntu/master
1 year ago
Steve Langasek 220e563de3 live-build/functions: add additional debugging to mount_image() on failure since we again have loop partitions failing to be block devices.
1 year ago
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
Heinrich Schuchardt 1b6b3db5ed functions: fix unmounting for local builds
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