Commit Graph

63 Commits (593866307851d278448ad0b8d09ccf65672e2b40)

Author SHA1 Message Date
Dimitri John Ledkov 7bc4c77a03 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 e4952519b3 Do not unconditionally install the core snap
5 years ago
Robert C Jennings 622adfc4eb Fix logic to ensure snapd is seeded in core18-only images
5 years ago
Robert C Jennings 15c419eafb
Fix core_snap variable scope issue
5 years ago
Robert C Jennings 632ab2b982
Address snap base regression after snap-tool removal
5 years ago
Robert C Jennings ec954a80b9
Use snap cli rather than custom snap-tool (LP: #1864252)
5 years ago
David Krauser 335470331c Add support for HyperV Gallery images
5 years ago
Iain Lane 139983b8a1
live-build/functions: Seed core again on non-minimized builds
6 years ago
Michael Vogt 3b3fe0fce8
Run "snap debug validate-seed" to do basic validation of the generated seed.yaml
6 years ago
Tobias Koch 51ef72e5b9
Backport error-checking on determining snap bases
6 years ago
Tobias Koch 31e4f4fe02 Backport improvements to snap seeding from trunk.
6 years ago
Cody Shepherd 00c8b06004 Include snaps in image manifests
6 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