Commit Graph

165 Commits (1dd00d9795aff2380fea438b3f931d881d83e56f)

Author SHA1 Message Date
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
Robert C Jennings 8d603cc87f Simplify snap model assertion customization
6 years ago
Robert C Jennings 97b0bbeed3 Add logging when snap assertions are not replaced
6 years ago
Robert C Jennings 52e5a2b25b Allow hooks to replace generic snap assertion
6 years ago
Mathieu Trudel-Lapierre 056e760c06 Don't divert grub-probe; otherwise we're missing the filesystem UUIDs that
7 years ago
Daniel Watkins 42ef796b92 Remove necessarily true conditional
7 years ago
Daniel Watkins fe76613e69 Require brand:model to be passed to snap_prepare_assertions
7 years ago
Daniel Watkins 38518507ec Generalise other assertion paths
7 years ago
Daniel Watkins 265218c1cb Don't include model assertion name in FS path (LP: #1764541)
7 years ago
Daniel Watkins a09c14c0ab Fix missing local variables
7 years ago
Daniel Watkins a844c6f8cd Fix another unbound variable
7 years ago
Daniel Watkins ed50ee0e0d Fix use of unbound variable
7 years ago
Daniel Watkins d908e89a52 Fix typo
7 years ago
Daniel Watkins 54649b40c3 Allow custom model assertions in snap_prepare_assertions
7 years ago
Robert C Jennings 26f31fbd9c live-build/functions: spelling fix
7 years ago
Robert C Jennings 5f12253791 live-build/functions: Help developers resolve snap download issues
7 years ago
Robert C Jennings 73dba1f31a snap preseeding: capture Ubuntu snap seeding policy in code
7 years ago
Robert C Jennings cbcb5d3ed8 live-build/functions: reduce scope of snap account variable
7 years ago
Robert C Jennings 0dbaf4cc9d live-build/functions: Drop spurious backslash
7 years ago
Robert C Jennings 936c3dbc79 live-build/functions: Update snap seed.yaml format to comply with yaml spec
7 years ago
Robert C Jennings 829716a6d7 live-build/functions: Change arithmetic to make the file 'sh' friendly
7 years ago
Robert C Jennings e655aff7b1 live-build/functions: Migrate from generic snap account-id
7 years ago
Robert C Jennings 152adcaa04 live-build/functions: add snap preseeding support
7 years ago
Steve Langasek 8fddc6b469 Merge lp:~vorlon/livecd-rootfs/many-loops
7 years ago
Michael Hudson-Doyle 4407aaf1ae it is config/common, not config/binary, grr
7 years ago
Michael Hudson-Doyle 27eaa9328a source config/binary in 032-installer-squashfs.binary
7 years ago
Michael Hudson-Doyle 3e69d30c9e remove some of the cargo culted scorpions
7 years ago
Michael Hudson-Doyle 4b66f89e56 move skip_lb_stage to config
7 years ago
Michael Hudson-Doyle 416ef912ed make another possibly more generally useful function
7 years ago
Michael Hudson-Doyle c85cae9bfe respond to some review feedback
7 years ago
Balint Reczey 3631c1f778 Zero fill space in UEFI partitions, too
7 years ago
Steve Langasek 1976255e5c divert /usr/bin/systemd-detect-virt as part of the grub diversions, so
7 years ago
Steve Langasek dfaf247193 Properly handle loop device names when there are > 10 devices on the
7 years ago
Dimitri John Ledkov 4b9e6e811f Now that grub-related diversions have been factored out in 2.466
7 years ago
Steve Langasek 90e7ee57c3 and the filename was still wrong
7 years ago
Steve Langasek bc221a8d67 fix a remaining wrong reference to /etc/default/grub.d/40-partuuid
7 years ago
Steve Langasek a75cbf210b Fix the force-partuuid handling to create the file under
7 years ago
Steve Langasek a5e27120c0 Factor out grub-related diversions and use them consistently, so we
7 years ago
Balint Reczey c5d01a6635 Force partuuid in /etc/default/grub.d/* instead of in /etc/default/grub
7 years ago
Steve Langasek 3ed1f4fdd1 In a cloud environment, we can rely on the kernel being able to boot the
7 years ago
Balint Reczey 45201111a6 Mount using --make-rslave to ensure safe unmounts for rbind mounts
7 years ago
Steve Langasek 801aad2f77 * Improve teardown_mountpoint to recursively find all submounts and
7 years ago
Steve Langasek c9ef91e262 Restore the call to 'umount -R $mountpoint' from umount_partition,
7 years ago
Robert C Jennings 83b4f5338c live-build/ubuntu-cpc/functions: Add teardown_mountpoint to reverse setup_mountpoint
7 years ago
Steve Langasek a246300940 * live-build/functions: mount tmpfs on /var/cache/apt and var/lib/apt, so
7 years ago
Colin Watson 6a42148b22 Mount and unmount /dev recursively, to cope with setups where there are
7 years ago
Balint Reczey 4d72521491 Fix suppressing kpartx error
7 years ago
Balint Reczey 3b37842219 Use VMDKstream in a more future-proof way
8 years ago
Robert C Jennings f05a8a238f live-build/functions: Update path for VMDKstream.py
8 years ago
Balint Reczey 6c9cf10d72 Depend on pxz and vmdk-stream-converter instead of installing them at runtime
8 years ago
Balint Reczey aa54a130c3 Depend on packages in main instead of installing them at runtime
8 years ago
Steve Langasek f75be1c606 Resurrect Balint's fix from
8 years ago
Steve Langasek ca79c05a23 Merge lp:~rbalint/livecd-rootfs/livecd-rootfs-autopkgtest-fix, w/ modifications
8 years ago
Balint Reczey 21efeb6795 Work around kpartx's nonzero exit due to "Device or resource busy" errors
8 years ago
Mathieu Trudel-Lapierre 22ec1d6f6f Sanitize comments.
8 years ago
Mathieu Trudel-Lapierre 46bae4cebf Fix up functions refactoring tfor a proper path to the file.
8 years ago