Commit Graph

180 Commits (ae34791a9a94d723cc1a85ad2b503f4f74f3f7d5)

Author SHA1 Message Date
Pat Viafore 78ced6b26e
Rename function to be shorter
4 years ago
Pat Viafore 32d5afc40a
Expose a variable for sources.list backup
4 years ago
Robert C Jennings 5190aff932
Ensure a binary hook has not changed the temporary sources.list
4 years ago
Robert C Jennings 5362e3a7e7
Use build env archive mirror in binary hooks
4 years ago
Steve Langasek 37f5f8881f Revert "Revert "Remove fstab from squashfs images""
4 years ago
Steve Langasek d9de270189 Revert "Remove fstab from squashfs images"
4 years ago
Dimitri John Ledkov 4d4f113f42
functions: provide nss_systemd-less nsswitch.conf in chroots.
4 years ago
David Krauser 83499f1a95 Add mechanism to detect initrdless boot fallback
4 years ago
Dimitri John Ledkov b14f79ce2e
apparmor: compile all profiles
4 years ago
Dimitri John Ledkov 31861fd40d
seccomp: mount more up-to-date seccomp features
4 years ago
Dimitri John Ledkov a14a31b751
apparmor: mount more up-to-date apparmor features in the chroot.
4 years ago
Robert C Jennings 1ca11c9795
Apply snap-preseed optimizations after seeding snaps
4 years ago
David Krauser 4c504f6781 Fix broken minimal cloud image boot on amd64
5 years ago
Joshua Powers d542e8e4a0
functions: fix unbound variable
5 years ago
Robert C Jennings a6a7be7c18
Release package livecd-rootfs version 2.672
5 years ago
Dimitri John Ledkov 2976a99f29 Fix-up seeding snaps with tracks.
5 years ago
Dimitri John Ledkov bdec14015c Merge branch 'snap-preseed-channel-specification' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
5 years ago
Dimitri John Ledkov 7bae9201d2 snap_preseed: support channel specification with snap name
5 years ago
David Krauser 8a2cdec470 Boot without an initramfs by default if running a custom kernel
5 years ago
Balint Reczey f96e874ed1 Remove fstab from squashfs images
5 years ago
Dimitri John Ledkov 1979e61c36 Merge branch 'kpartx-fun' of git+ssh://git.launchpad.net/~mwhudson/livecd-rootfs/+git/livecd-rootfs into ubuntu/master
5 years ago
Dimitri John Ledkov ad64e38c48 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 66041e9d8c
Do not unconditionally install the core snap
5 years ago
Robert C Jennings 14066ce389
Fix logic to ensure snapd is seeded in core18-only images
5 years ago
Michael Hudson-Doyle 2498aadebb Call udevadm settle before kpartx -d
5 years ago
Robert C Jennings d214127b9f
Address snap base regression after snap-tool removal
5 years ago
Iain Lane ede0be897b
Pass --verbose to `snap info` so that it includes the base.
5 years ago
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