Commit Graph

1492 Commits (3592e1d5e36d68fa13ef46f0f4bdf83103a2b9fc)

Author SHA1 Message Date
John Chittum c5cea219f4
re-add sed command
4 years ago
Joshua Powers ef950f5214
amd64: always install grub-pc with shim-signed
4 years ago
John Chittum 56862cd9b8
Backport vmtools version in vmdk (LP: #1893898)
4 years ago
Łukasz 'sil2100' Zemczak 433c2363d8 Do not hard-code the UC20 amd64 image size anymore
4 years ago
Dimitri John Ledkov 558bcbc47e
functions: provide nss_systemd-less nsswitch.conf in chroots.
4 years ago
Dimitri John Ledkov 2be2852ee0
auto/build: use setup|teardown_mountpoint to reduce duplication
4 years ago
Robert C Jennings e2ae9c245d
Avoid rbind /sys for chroot snap pre-seeding (cgroups fail to unmount)
4 years ago
Dimitri John Ledkov 260c051032
apparmor: compile all profiles
4 years ago
Dimitri John Ledkov ce5a138c79
seccomp: mount more up-to-date seccomp features
4 years ago
Dimitri John Ledkov c95652e47d
seccomp: add more up-to-date seccomp actions
4 years ago
Dimitri John Ledkov acc7e97f38
apparmor: mount more up-to-date apparmor features in the chroot.
4 years ago
Dimitri John Ledkov d724069fab
apparmor: Add generic v5.4 kernel apparmor features
4 years ago
Dimitri John Ledkov 56a7169ebe
live-server: remove duplicate snaps, due to overlayfs vs snap-preseed.
4 years ago
Robert C Jennings 39ebdf6902
Apply snap-preseed optimizations after seeding snaps
4 years ago
John Chittum 05bba4cbbd
ubuntu-cpc:Vagrant Serial to Null (LP: #1874453)
4 years ago
Jinming Wu, Patrick a58b91da5f
Revert azure kernel change
4 years ago
Jinming Wu, Patrick 419a21205c Fix a mistake on the location of policy file
4 years ago
Jinming Wu, Patrick 5a0e23fefe Update linux-tools/linux-cloud-tools to use Azure
4 years ago
Jinming Wu, Patrick 92dd127d83 xRDP fixes for Hyper-V build
4 years ago
Steve Langasek 2404d27f5b Merge remote-tracking branch 'codyshepherd/bootable-buildd/dist-upgrade/focal' into ubuntu/focal
4 years ago
Robert C Jennings 136562b837
Handle seeded lxd snap with channel name for ubuntu-cpc:minimized (LP: #1889470)
4 years ago
Dimitri John Ledkov 896b5962db
snap_preseed: support channel specification with snap name
4 years ago
Iain Lane 54508e6583
Hack seeding of linux kernel in ubuntustudio/focal
4 years ago
Cody Shepherd 690522e89b
Remove explicit install of grub-efi-* package as it is not necessary,
5 years ago
Cody Shepherd 315a453ba6
Perform a dist-upgrade prior to installing packages for bootable-buildd
5 years ago
Łukasz 'sil2100' Zemczak e611dfc1c4 Enable overrides of UC20 grade dangerous channels
5 years ago
Philip Roche cd098e7c41 Revert of initramfs package removal in KVM image (LP: #1880170)
5 years ago
Łukasz 'sil2100' Zemczak 225f2fe504 Fix indentation.
5 years ago
Dimitri John Ledkov 2d5f9581db ubuntu-image: fix focal+ pi images for armhf to use pi-armhf model name.
5 years ago
Dimitri John Ledkov dc456c240d Bump only the UC20 pc image to 8GB, and keep Pi images as small as possible.
5 years ago
Pat Viafore 2c70ed158b
Make Ubuntu Vagrant box 40G. (LP: #1580596)
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
Dimitri John Ledkov a21a67ab52 Print subiquity ssh login details on s390x line based consoles.
5 years ago
Dimitri John Ledkov 56ac1865f7 Switch Ubuntu desktop to only hwe-20.04 kernel flavour.
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
Łukasz 'sil2100' Zemczak d2a2ac41a4 Use the raspi KERNEL_FLAVOUR for the raspi images.
5 years ago
Dimitri John Ledkov 0415e42026 server: networkd applies the first sorted matching network file, thus prefix 'all' fallback networks with 'zz-'.
5 years ago
David Krauser 8bc9cb77a1 Safely set /etc/resolv.conf to an empty file in buildd images
5 years ago
Dimitri John Ledkov cb574d4cb3 minimized: reinstall packages one by one, instead of all of them together, as otherwise apt fails to immediately configure libc6:amd64 & libgcc-s1. LP: #1867607
5 years ago
Dimitri John Ledkov 910310dbbb Only install oem-20.04 kernel flavour on amd64, as it doesn't exist on other arches.
5 years ago
Michael Hudson-Doyle 7f09a42d85 Stop trying to extract autoinstall config during boot, subiquity will do it instead.
5 years ago
Łukasz 'sil2100' Zemczak 091976c4a6 Merge branch 'fix-raspi-gadgets' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master
5 years ago
Michael Hudson-Doyle 6e68a3f13c Do not start subiquity until cloud-final and snapd.seeded have completed.
5 years ago
Łukasz 'sil2100' Zemczak 40c51f78b8 Switch to using the generic pi gadget repo for classic, use the main branches.
5 years ago
Łukasz 'sil2100' Zemczak 95772fd9df Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into u-i-disk-info
5 years ago
Michael Hudson-Doyle 49e550fb9e Fix autoinstall-extracting runcmd in the case no user-data is passed.
5 years ago
Michael Hudson-Doyle 187fd01c37 re-add scripts-user to cloud_final_modules
5 years ago
Michael Hudson-Doyle c969c8e4b9 add runcmd to copy autoinstall from user-data to /autoinstall.yaml
5 years ago
Michael Hudson-Doyle 0dc12a1122 remove stuff for copying autoinstall files around
5 years ago
Michael Hudson-Doyle f6e5da24f9 enable cloud-init in live session on all architectures
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
Łukasz 'sil2100' Zemczak e9170e053b Rename the raspi3 SUBARCH to raspi
5 years ago
Dimitri John Ledkov d7045b2e09 Fixup subiquity:
5 years ago
Dimitri John Ledkov 17dc48cf65 Set uc20 image size to 10G.
5 years ago
Dimitri John Ledkov 438606c5e8 Encode CHANNEL specification in the UC20 model names.
5 years ago
Dimitri John Ledkov 3b1047fbc2 Configure a better nocloud datasource for subiquity cloud-init.
5 years ago
Dimitri John Ledkov db0c7d68f2 Although the request flavour to install is oem-20.04, it really is called just oem on disk. Override the flavour name from oem-20.04 to oem when renaming built artefacts. This also means that ubuntu-cdimage needs to simply download 'oem' vmlinuz+initrd pairs, not 'oem-20.04'.
5 years ago
Dimitri John Ledkov e062389eb9 * On s390x subiquity:
5 years ago
Dimitri John Ledkov f6ca600af2 Install oem-20.04 kernel flavour on Ubuntu Desktop builds.
5 years ago
Łukasz 'sil2100' Zemczak 2870738f00 Merge the manually-pushed 2.636 from Laney.
5 years ago
Łukasz 'sil2100' Zemczak 95103e3d36 Ensure seed part. is mounted; wait for getty
5 years ago
Łukasz 'sil2100' Zemczak 2ca3cc9720 Use the datestamp parameter (stored in NOW) instead of the newly added BUILD_ID.
5 years ago
Michael Hudson-Doyle a934e042d6 Merge branch 'lp-1855354' into ubuntu/master
5 years ago
Łukasz 'sil2100' Zemczak fc6d956269 Support generating a .disk/info file via ubuntu-image if BUILD_ID is passed from cdimage to the builder.
5 years ago
Michael Hudson-Doyle f27b432026 ubuntu-cpc hooks are Different
5 years ago
Michael Hudson-Doyle fb31b64a7c preserve apt preferences for all projects
5 years ago
Michael Hudson-Doyle d38ceab06d fix in case of no preferences
5 years ago
Michael Hudson-Doyle 94c2d606ca Preserve apt preferences created by any package we install (i.e. ubuntu-advantage-tools) against live-build's attempt to delete them. (LP: #1855354)
5 years ago
David Krauser b71d1f990e Only build bootable buildd images for amd64
5 years ago
David Krauser 4a0b757dc7 Properly setup the chroot before using the network in buildd hook.
5 years ago
Łukasz 'sil2100' Zemczak 474f232840 Snapd for uc20 model assertions does not support global channel overrides.
5 years ago
David Krauser 612c731b26 Fix broken DNS in buildd image builds.
5 years ago
Łukasz 'sil2100' Zemczak a1daf38b93 Add support for Ubuntu Core 20 builds by supporting uc20 models.
5 years ago
Dimitri John Ledkov 3551fc1a02 Ship two kernel flavours on desktop image.
5 years ago
Dimitri John Ledkov 39f675eaf6 Drop installing dummy transitional linux-signed-generic, these days linux-generic is always signed, on arches that need/support it.
5 years ago
Michael Hudson-Doyle 21c57e2764 pass -xdev to find when making filelists
5 years ago
Michael Hudson-Doyle 741933942e copy the filelists for the root-xz and squashfs into place
5 years ago
Michael Hudson-Doyle 51b59ed960 fix bashism
5 years ago
Michael Hudson-Doyle 015d8bab65 add filelist files to all ubuntu-cpc series files
5 years ago
Michael Hudson-Doyle 16881594e0 Create a filelist whenever creating a manifest for an ubuntu-cpc project.
5 years ago
Michael Hudson-Doyle 1be2ba1779 oops
5 years ago
Michael Hudson-Doyle 547eb7bda8 copy /autoinstall.yaml in initrd to /run/initrd-autoinstall.yaml if present
5 years ago
Michael Hudson-Doyle 377e7b4ddd mount a filesystem with label autoinstall at /autoinstall for live-server
5 years ago
Łukasz 'sil2100' Zemczak be4ebf2309 Add +x to 49-policy-rc-d.binary
5 years ago
David Krauser 3bf032853b Include empty resolv.conf only in buildd lxd tarballs.
5 years ago
David Krauser 52a3471922 Add hooks to build bootable buildd images.
5 years ago
David Krauser 0eb16a4b14 Enable building buildd artifacts with an ext4 image target.
5 years ago
Łukasz 'sil2100' Zemczak ac40cadf08 Support fetching classic gadget trees from a non-github-mirrored launchpad repo.
5 years ago
Łukasz 'sil2100' Zemczak 2896d39a7a Make sure the imx6 subarch uses the ubuntu-image imageformat.
5 years ago
Adam Conrad 7c85d91d41 Limit the lxd group to images with an installer; it's less appropriate for random tarball images, which are configured in ways we don't know.
5 years ago
Dimitri John Ledkov f918cd5eb1 Subiquity: install linux-firmware in the installer layer, to make firmware blobs available in the live session. LP: #1847835
5 years ago
Michael Hudson-Doyle c89806ba4d Do not create a hook manually for ubuntu-cpc builds, make-hooks does not like that.
5 years ago
Michael Hudson-Doyle 4788e90315 Create the lxd group as a system group for all projects. (LP: #1844498)
5 years ago
Dimitri John Ledkov 4c534bc6be subiquity: Use LazyUnmount=yes on memorymapped /usr/lib/modules.
5 years ago
Robert C Jennings 8cb442c3e8
magic-proxy: dump proxy log to stdout on failure
5 years ago
Steve Langasek 0902ffefb3 002-add-foreign-kernel.chroot_early: enable amd64 as a foreign arch on i386 image builds, since this is where the kernel comes from henceforth.
5 years ago
Łukasz 'sil2100' Zemczak 1f8f86c17c Final fix to 999-ubuntu-image-customization.chroot, tested to be working.
5 years ago