Commit Graph

203 Commits (d15b6d4fd62001c9486cdf6b62945fe188a1abad)

Author SHA1 Message Date
Robert C Jennings 489f009e49
Use snap cli rather than custom snap-tool
5 years ago
Michael Hudson-Doyle 21c57e2764 pass -xdev to find when making filelists
5 years ago
Michael Hudson-Doyle 51b59ed960 fix bashism
5 years ago
Michael Hudson-Doyle 16881594e0 Create a filelist whenever creating a manifest for an ubuntu-cpc project.
5 years ago
Iain Lane 2d19a9446e
snap_preseed: Handle SNAP_NO_VALIDATE_SEED being unset
5 years ago
Iain Lane b68a5abf65
snap seeding: Defer validation for regular image builds
5 years ago
Colin Watson 9a65a4013d Undivert update-initramfs more carefully
5 years ago
Iain Lane 979dbde6a2
Fix slight whitespace error
6 years ago
Iain Lane b208ded59e
Merge branch 'snap-validate-seed' of git+ssh://git.launchpad.net/~mvo/livecd-rootfs into ubuntu/master
6 years ago
Michael Vogt 4fb73c2b19 functions: use CHROOT_ROOT in snap_preseed
6 years ago
Michael Vogt 248efab2fd live-build: move snap seed validation into snap_preseed
6 years ago
Iain Lane 7f07cc8991
live-build/functions: Seed core again on non-minimized builds
6 years ago
Tobias Koch 18468c4218 Check exit status of snap-tool info call while determining base snap
6 years ago
David Krauser 0e3b1e206b
Add support for HyperV Gallery images
6 years ago
Pat Viafore 9bf4c7cb52
Adding apt-get autoremove and setting IMAGE_STR
6 years ago
Pat Viafore afbda566eb
Adding hooks and making replace_kernel function
6 years ago
Michael Hudson-Doyle 42992467a1 Remove device nodes later for ubuntu-base:minimized (i.e. docker) builds. (LP: #1828118)
6 years ago
Steve Langasek 39f2558b96 Fix the sed script that Tobias had right in the first place and I mangled in the previous upload.
6 years ago
Steve Langasek f4fa240ed7 Adjust sed command for clarity.
6 years ago
Tobias Koch 79e3123053 Make snapd-explicit-install-stamp a part of the image
6 years ago
Tobias Koch 796211dde7 If image has core18 snaps only, automatically preseed snapd
6 years ago
Tobias Koch 05e71b3840 Do not include any snaps in ubuntu-cpc:minimized builds
6 years ago
Steve Langasek 7e4a2627ed Use python3 vmdkstream exclusively; we should not fall back to python2.
6 years ago
Dimitri John Ledkov a77ec4a9df
Add python3 vmdkstream support
6 years ago
Balint Reczey 8a78ab4021 Merge make-rprivate-before-umount
6 years ago
Balint Reczey 96cc185813 Merge feature/parallelization-snap-version-fixing
6 years ago
Didier Roche 1c435c03d2 Fix customized images with multiple brand/models
6 years ago
Tobias Koch 654fcae467 Replace "snap download" with tool that uses snap store's coherence feature
6 years ago
Balint Reczey 33c5ad0b19 live-build/functions: Always use mount --make-private before umount
6 years ago
Jean-Baptiste Lallement 3dce125d72 Remove inidrd and vmlinuz from live layers after they've been moved to casper
6 years ago
Jean-Baptiste Lallement f84d92d76f Calculate total size of the image + typos
6 years ago
Jean-Baptiste Lallement 402cdd15be Adds is_root_layer
6 years ago
Jean-Baptiste Lallement 283871573d Changed the naming scheme for multi layer images to dot format
6 years ago
Jean-Baptiste Lallement e0d30dd2d3 Fixed substract -> subtract
6 years ago
Jean-Baptiste Lallement 43ec452fa0 Moved reusable functions to functions
6 years ago
Jean-Baptiste Lallement 3b21bd9a2e Moved back config helper functions to config
6 years ago
Jean-Baptiste Lallement f3dadf1091 Support for positive and negative sublayers
6 years ago
Jean-Baptiste Lallement 1ab78e783b Generate snap list from task
6 years ago
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