Commit Graph

1930 Commits (fc49fb286c3d3d4bfcd281d36fa9589f9be2dfef)

Author SHA1 Message Date
Steve Langasek 0b4811f7a9 Do not look for a base snap on snaps of type base, because recursive dependencies are not allowed for snaps. LP: #1957123.
3 years ago
Łukasz 'sil2100' Zemczak 6df425bb34 Merge branch 'umount' of https://git.launchpad.net/~xypron/livecd-rootfs into ubuntu/master
3 years ago
Łukasz 'sil2100' Zemczak 32b54e6242 Merge branch 'partalign' of https://git.launchpad.net/~xypron/livecd-rootfs into ubuntu/master
3 years ago
Brian Murray fe662c5c8a Merge remote-tracking branch 'jessica-youjeong/111721-ubuntu-master-ova' into ubuntu/master
3 years ago
Heinrich Schuchardt b6701e556f riscv64: ensure reasonable partition alignment
3 years ago
Heinrich Schuchardt d65af891f3 functions: fix unmounting for local builds
3 years ago
Thomas Bechtold 1a7e9ca8c9 Bump UEFI disk image size for armhf to 3.5 GB
3 years ago
Jess Jang a97e98c968 Change serial0 allocation as false (LP:#1895104)
3 years ago
Brian Murray e5beee30fd Add the capability to build an ISO image for the Intel IoT project. Additionally, stop using universe with the project given that the kernel is now in main.
3 years ago
Erich Eickmeyer 04c4a14a4e Remove fonts and publishing tasks form ubuntustudio
3 years ago
Didier Roche 6a05e7fa22 Install desired already seeded snap in wsl.
3 years ago
Sebastien Bacher 808220c868 Enable universe sources on the desktop canary
3 years ago
Brian Murray 85fb768f4f Properly check ARCH when setting the intel-iot model.
3 years ago
John Chittum 9c3851d401
Mount cgroup2 type for snapd
3 years ago
Michael Hudson-Doyle f5bdeaf4fb Merge branch 'language-support-in-catalogs' into ubuntu/master
3 years ago
Michael Hudson-Doyle 391439d44c Record information about locale support (in particular, whether to install langpacks and which languages have pre-baked squashfses).
3 years ago
Dan Bungert a96d56a110 desktop: install-sources.yaml type fsimage-layered
3 years ago
Steve Langasek 9e6b983728 Merge remote-tracking branch 'toabctl/keep-debian-native-package-changelogs' into ubuntu/master
3 years ago
Thomas Bechtold 2b2f67c7fb Keep changelogs in minimized builds for native deb pkgs
3 years ago
Michael Hudson-Doyle 8f8fc220c7 Generate source catalogs for the desktop canary build.
3 years ago
Michael Hudson-Doyle fe38bd02c1 Change the per language layers in the desktop canary build to have more regular names (and make their implementation better documented and hopefully more comprehensible).
3 years ago
Michael Hudson-Doyle 8106244b42 add a little debugging output
3 years ago
Michael Hudson-Doyle 17279822d5 Get source catalog translations from subiquity git, as brz is in universe.
3 years ago
Michael Hudson-Doyle 543c40b347 Merge branch 'source-catalog-2' into ubuntu/master
3 years ago
Michael Hudson-Doyle 021c8e063c better minimal ubuntu server description
3 years ago
Łukasz 'sil2100' Zemczak 2dc48a1687 Make the UBUNTU_STORE_ARCH adjustment more fool-proof
3 years ago
Łukasz 'sil2100' Zemczak 744585ed9a Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/~ethan.hsieh/livecd-rootfs/+git/livecd-rootfs into ubuntu/master
3 years ago
Michael Hudson-Doyle cda8c920dd create source catalogs for live server install sources
3 years ago
Brian Murray 44384357ad add missing for intel-iot
3 years ago
Michael Hudson-Doyle 116a51a080 bootstrap the minimal variant for the minimal server layer
3 years ago
Michael Hudson-Doyle b341c81ff3 do the mounting in an initrd script rather than systemd units
3 years ago
Michael Hudson-Doyle 5fda0bb2aa apply dpkg minimizations to minimal layer, and undo them for full layer
3 years ago
Michael Hudson-Doyle 5232f2f8cc fix /media/filesystem mount
3 years ago
Michael Hudson-Doyle d11c71a686 add a minimal server layer under the full server layer
3 years ago
Łukasz 'sil2100' Zemczak 09cbdfa7e9 Revert /dev sharing improvements.
3 years ago
Michael Hudson-Doyle 75fe0241f3 lb_chroot_layered: fix quoting when searching for trusted.overlay.opaque
3 years ago
Łukasz 'sil2100' Zemczak d198821c07 Fix sharing of the /dev tree to make sure we can safely umount the chroot when needed. This fixes local non-livefs-builder image builds.
3 years ago
Sebastien Bacher 5ba545f2b6 Tweaks to the canary packages
3 years ago
Sebastien Bacher cdbb5598ad Remove lupin-casper from the canary image
3 years ago
Michael Hudson-Doyle 5e21dd89f6 Merge branch 'hyperv-manifest' into ubuntu/master
3 years ago
Brian Murray dbab97caa9 switch amd64 to the arch variable
3 years ago
Brian Murray c09110cfa8 add support for intel-iot models
3 years ago
Brian Murray f2c1300f71 rename iotg iot so the names are consistent with the models
3 years ago
Jason C. McDonald f75c3254b0 Generate manifest for HyperV desktop images
3 years ago
Ethan Hsieh f4312118cc functions: download snap packages with correct architecture
4 years ago
Michael Hudson-Doyle bb0bba1793 address review comments
4 years ago
Michael Hudson-Doyle 2928c3d9cd fix reduce_pass_size behaviour around deleted directories
4 years ago
Michael Hudson-Doyle fc890b15e7 adjust hooks for move of live-server to layers
4 years ago
Michael Hudson-Doyle e06046aaa0 move includes around for move of live-server to layers
4 years ago
Michael Hudson-Doyle f563b310d3 update auto/config for move of live-server to layers
4 years ago
Brian Murray 7a180f8d29 Merge remote-tracking branch 'kajiya/lp-1895104-add-serial-port-to-ovf' into ubuntu/master
4 years ago
Michael Hudson-Doyle 18bf308be0 go back to only running 'lb chroot_archives' on root layers
4 years ago
Michael Hudson-Doyle c4402139a2 go back to only running lb_chroot_hacks on live layers
4 years ago
Michael Hudson-Doyle 653b925646 attempt to fix obscure failure
4 years ago
Michael Hudson-Doyle fb8af1fd80 add a way to prevent a layer (and descendants) from being made into a sqashfs
4 years ago
Michael Hudson-Doyle e4ca30e351 lb_binary_layered: use create_squashfs function to pick up some default excludes
4 years ago
Michael Hudson-Doyle 30cc2f1982 lb_chroot_layered: install archives on each layer
4 years ago
Michael Hudson-Doyle 3a3558203b run chroot_hacks on each layer in lb_chroot_layered
4 years ago
Michael Hudson-Doyle ce458ba31e run binary hooks on each layer in lb_binary_layered
4 years ago
Michael Hudson-Doyle 75165aeb34 replace call to Echo_warning with plan echo as former is not defined at this point
4 years ago
Brian Murray 89ff3c4f87 Merge branch 'bdmurray/iotg' which adds the ability to create an image for Intel IOT devices.
4 years ago
Brian Murray ad3e755974 rename iotg to intel-iotg so its slightly more descriptive
4 years ago
Michael Hudson-Doyle 093fbb1404 Merge branch 'more-subiquity-serial-pain' into ubuntu/master
4 years ago
Michael Hudson-Doyle 48c3a11a70 Make sure the process that prints SSH connection info on s390x has its output connected to the console. (LP: #1933523)
4 years ago
Dan Bungert 5b0825a297 Remove custom final_message
4 years ago
Dan Bungert bfce7c126f Remove reference to password for ssh usage
4 years ago
Michael Hudson-Doyle 9a983305ee Remove assumption in 032-installer-squashfs.binary that all core snaps needed for subiquity are already in the filesystem layer. (LP: #1933352)
4 years ago
Brian Murray 066422894b also support building an ubuntu-cpc amd64 iotg image
4 years ago
Brian Murray d8b24aaae6 add iotg as a subarch of amd64 w/ image-intel kernel
4 years ago
Chloé Smith ffab8ceac4
Add a serial port to OVF template (LP: #1895104)
4 years ago
Michael Hudson-Doyle e1e992d295 Fix overriding of ExecStart in serial-getty@sclp_line0.service.d/subiquity-serial.conf.
4 years ago
Łukasz 'sil2100' Zemczak 83852ca96b Revert previous change, use ubuntu-server-raspi task name.
4 years ago
Łukasz 'sil2100' Zemczak d2cfa41ec2 Use the server-raspi task name instead of ubuntu-server-raspi
4 years ago
Sebastien Bacher 48f3682969 Define a new add_snap and use it for canary
4 years ago
Sebastien Bacher 740c960575 The u-boot-tools package was typoed
4 years ago
Michael Hudson-Doyle 5c3bb6896c Remove all references to the "base" project, which has not been built since 16.04 release day.
4 years ago
Steve Langasek c7b751e401 Drop code for the 'ubuntu-core' project when not using image_format: ubuntu-image, as this is obsolete and not used to build core* snaps in recent series.
4 years ago
Michael Hudson-Doyle 7cd7f1e0bf Merge branch 'ubuntu/master' into live-server-serial-argh
4 years ago
Dimitri John Ledkov f58b0693f6
Merge branch 'raspi-server-seed' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master
4 years ago
Dimitri John Ledkov 9596134d8a
Merge branch 'remove-1893818-workaround' of git+ssh://git.launchpad.net/~mwhudson/livecd-rootfs/+git/livecd-rootfs into ubuntu/master
4 years ago
Michael Hudson-Doyle c64c81d7fe remove the workaround for bug #1893818
4 years ago
Dimitri John Ledkov dd79c5c75d
buildd: Re-enable merged /usr by default, as it is now required
4 years ago
Dimitri John Ledkov dc2a472871
magic-proxy: replace http.client with urllib calls
4 years ago
Dimitri John Ledkov 1cd8fe14b7
Change iptables calls, to query rules and quickly check that connectivity works after transparent proxy has been installed. LP: #1917920
4 years ago
Dimitri John Ledkov 20f76e7cf8
Merge branch 'preinstalled' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
4 years ago
Dimitri John Ledkov 143e72abdc
Merge branch 'fix-grub-images' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
4 years ago
Michael Hudson-Doyle 749bdeac44 Merge branch 'ubuntu/master' into new-ubuntu-oci
4 years ago
Dimitri John Ledkov d5a8116428
Add support for generic preinstalled images. LP: #1923832
4 years ago
Dimitri John Ledkov 41fd537bc2
999-cpc-fixes: enable more code on grub2 armhf & arm64
4 years ago
Thomas Bechtold a81972a58b
add configure_oci function and use it in ubuntu-oci
4 years ago
Thomas Bechtold ac4a95b931
Add new ubuntu-oci project
4 years ago
Michael Hudson-Doyle c1cb61a8f6 just plain mask getty@tty1, ExecStart is a list
4 years ago
Michael Hudson-Doyle 7ba371b315 Simplify how serial-getty@.service is customized in the live server installer environment.
4 years ago
Łukasz 'sil2100' Zemczak 52f3b69331 Enable using ubuntu-server-raspi, clean up handling of raspi setup.
4 years ago
Łukasz 'sil2100' Zemczak b9eb0aaee3 Drop imx6 support as it never really happened.
4 years ago
Łukasz 'sil2100' Zemczak 1d537bf78d Temporarily hack in ubuntu-raspi-settings for raspi images (we should be using seeds tho).
4 years ago
Michael Hudson-Doyle e28938b482 Do not have cloud-init set the installer user's password to something random during boot, as cloud-init now hides the value it was set to much better. Instead, subiquity will reset the password itself.
4 years ago
Dimitri John Ledkov 4428dbbf8f
riscv64: generalise slightly how preinstalled server images are built, to allow using subarch to pick u-boot binaries to install.
4 years ago
Michael Hudson-Doyle d5bc59f2fb Use the correct config keys in suppressing cloud-init output during boot of live server ISO.
4 years ago
Gauthier Jolly 76330897dc ubuntu-cpc: make /etc/fstab consistent with other ubuntu images
4 years ago
Michael Hudson-Doyle 974bb5bfd1 Merge branch 'quieter-live-server-boot' into ubuntu/master
4 years ago
Łukasz 'sil2100' Zemczak 1b0212a76c Use the full name of the 'boot' flag in parted calls
4 years ago
Michael Hudson-Doyle 8ab15a145d set new cloud-init option to suppress final bit of output during boot
4 years ago
Michael Hudson-Doyle 52c8985454 Suppress cloud-init output during boot of live server ISO.
4 years ago
Cody Shepherd 4acd2e3085
Install lxd-agent-loader in bootable buildd image to improve user
4 years ago
Cody Shepherd 5de661e137
Set grub configs to hide boot menu and enable output on ttyS0
4 years ago
Dimitri John Ledkov 82aca610dc
Merge remote-tracking branch 'xnox/fix-misisng-systemd-detect-virt' into ubuntu/master
4 years ago
Dimitri John Ledkov 096a00f404
functions: stop removing systemd-detect-virt unconditionally in undivert_grub
4 years ago
Dimitri John Ledkov 33b7272a23
Perform fsck on all rootfs.
4 years ago
Dimitri John Ledkov 53b28d5f58
esp: perform fsck.
4 years ago
Dimitri John Ledkov 7c760864fd
esp: install grub in ubuntu bootloader id path, instead of removable.
4 years ago
Iain Lane 42409e7068
auto/config: Install pi-bluetooth for raspi images
4 years ago
Sebastien Bacher 1a979b1528 Desktop is using the hwe kernel, do the same on canary
4 years ago
Dimitri John Ledkov 6746d9fbd9
disk-image-uefi: fix riscv64 subarch user-data.
4 years ago
Dimitri John Ledkov 4881f5260a
qcow2-image: unbreak builds without subarch.
4 years ago
Sebastien Bacher ed8ee60c98 Desktop is using the hwe kernel, do the same on canary
4 years ago
Dimitri John Ledkov 3e1e76b94a
riscv64: fixup subarch build, unbound variable
4 years ago
Łukasz 'sil2100' Zemczak c2733a55f7 Still hardcode UC20 amd64 image size, but to the same value as for UC16 and UC18.
4 years ago
Dimitri John Ledkov 2f84bc9a84
config: on hirsute build UC22 images
4 years ago
Dimitri John Ledkov a808b28d47
riscv64: build preinstalled riscv64 image with uboot SPL and CIDATA.
4 years ago
Łukasz 'sil2100' Zemczak dda73b5591 Do not hard-code the UC20 amd64 image size anymore.
4 years ago
Dimitri John Ledkov 3962f4ac23
disk-image-uefi: riscv64 add ubuntu:ubuntu login, without expiry.
4 years ago
Dimitri John Ledkov da578b2c6b
disk-image-uefi: riscv64 add u-boot spl
4 years ago
Sebastien Bacher fb0d16ea8a Correctly set the environment needed by snapd in layered
4 years ago
Sebastien Bacher 79e8f3b53e Use the target realpath to do the unmounting
4 years ago
Cody Shepherd edaab1def3
Omit file type exensions in manifest names
4 years ago
Cody Shepherd 762124dbd7
Create manifests for buildd tarballs
4 years ago
Dimitri John Ledkov 3a20f2669c
Merge remote-tracking branch 'davidkrauser/buildd-image-perform-upgrade' into ubuntu/master
4 years ago
Dimitri John Ledkov f53a681d8a
Merge remote-tracking branch 'patviafore/use_ftpmaster_instead_of_archive_in_binary_hooks' into ubuntu/master
4 years ago
Dimitri John Ledkov 8e986c20fd
Merge remote-tracking branch 'seb128/layered-languages-fix' into ubuntu/master
4 years ago
Dimitri John Ledkov 83c77f9c60
Merge remote-tracking branch 'davidkrauser/dk/buildd-unpack-kernel-initrd' into ubuntu/master
4 years ago
Dimitri John Ledkov 914997827d
disk-image-uefi.binary: build riscv64 image without a bootloader.
4 years ago
Dimitri John Ledkov 122364df65
disk-image-uefi.binary: enable secureboot on the arm64 image.
4 years ago
Sebastien Bacher fa5c2092c7 During the layered build generate the right content for no languages
4 years ago
Dimitri John Ledkov e8f53aabdf
disk-image.binary: however still build MBR image on amd64.
4 years ago
Dimitri John Ledkov 8e548f37d9
disk-image.binary: skip building MBR image on riscv64.
4 years ago
Dimitri John Ledkov ff175e3f4a
disk-image.binary: actually skip building MBR image on EFI platforms.
4 years ago
Jinming Wu, Patrick 72e47a9f8b
Hyper-V hook fix
4 years ago
Dimitri John Ledkov e2fd168f50
amd64: always install grub-pc with shim-signed
4 years ago
Robert C Jennings df38b9ba75
Merge ensure-vmtools-in-vmdk-header into ubuntu/master [a=jchittum] [r=rcj]
4 years ago
Dimitri John Ledkov 1c7d688319
auto/config: scope ubuntu:desktop-preinstalled:raspi image options
4 years ago
Dimitri John Ledkov 5d9af7f3c5
auto/config: seed ubuntu-desktop when building hyperv image
4 years ago
Joshua Powers b0c8b628b2
ubuntu-cpc: only install shim-signed, run autoremove
4 years ago
John Chittum 4f1df739f6
Debug logging information
4 years ago
David Krauser 065c823144 Produce buildd kernel and initrd as separate artifacts
4 years ago
Łukasz 'sil2100' Zemczak f4f4fec5dc Add the pi desktop oem user to the adm and sudo groups
4 years ago
John Chittum 201addb317
Remove sed and move size check
4 years ago
John Chittum 24ee4b8c4d
vmtools version in vmdk header (LP: #1893898)
4 years ago
Łukasz 'sil2100' Zemczak 5a7b332745 Build classic raspi server images by default from the 'classic' branch now.
4 years ago
Łukasz 'sil2100' Zemczak 5d0e1c602a duh, Laney is right, we can do 1G straight away.
4 years ago
Łukasz 'sil2100' Zemczak 729e12c846 Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into pi-desktop-swapfile
4 years ago
Michael Hudson-Doyle b677bdbcc6 Remove 68-del-part-nodes.rules from installer squashfs to work around it breaking curtin. (LP: #1893818)
4 years ago
Łukasz 'sil2100' Zemczak 1a8d6d203e Add creation of a 1GB swapfile for desktop pi images.
4 years ago
Łukasz 'sil2100' Zemczak eda716902e For desktop-preinstalled we don't need cloud-image.
4 years ago
Łukasz 'sil2100' Zemczak 42b28cf70a Fix braces broken again.
4 years ago
Łukasz 'sil2100' Zemczak 7d524ffb98 Remove unneeded sedding.
4 years ago
Łukasz 'sil2100' Zemczak 99556c77ea Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into raspi-desktop-1
4 years ago
Łukasz 'sil2100' Zemczak fdd8b1cba0 Use the right task name - ubuntu-desktop-raspi.
4 years ago
Łukasz 'sil2100' Zemczak 38157b3748 First batch of changes for raspi desktop.
4 years ago
John Chittum 1abc43a2d0
Remove virtualbox-guest-utils (LP: #1895862)
4 years ago
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
Robert C Jennings 2be2a168ee
ubuntu-cpc: Fix spelling in vagrant file
4 years ago
John Chittum fb33fe9026
Minor fixes to Vagrantfile comments
4 years ago
John Chittum cfd43992a8
Reorder comments to ensure clarity
4 years ago
John Chittum c92e885303
ubuntu-cpc: Vagrant Serial to Null (LP: #1874453)
4 years ago
Stanislav German-Evtushenko b0144d3018
vagrant: Use dummy file for the console output
4 years ago
Steve Langasek 37f5f8881f Revert "Revert "Remove fstab from squashfs images""
4 years ago
Robert C Jennings 2844aa530d
Revert ubuntu-cpc: Disable boot splash
4 years ago
Robert C Jennings 1deb0c68e8
ubuntu-cpc: Fix ppc64el grub console update
4 years ago
Steve Langasek d9de270189 Revert "Remove fstab from squashfs images"
4 years ago
Robert C Jennings 6dbb30f53b
ubuntu-cpc: Disable boot splash in all cloud images (LP: #1725358)
4 years ago
Steve Langasek 9348a2e9cb Merge remote-tracking branch 'callmepk/ubuntu/master' into ubuntu/master
4 years ago
Steve Langasek e1c745e193 Merge remote-tracking branch 'codyshepherd/bootable-buildd/dist-upgrade/groovy' into ubuntu/master
4 years ago
Robert C Jennings e3dce0ab17
Handle seeded lxd snap with channel name for ubuntu-cpc:minimized
4 years ago
Dimitri John Ledkov 4d4f113f42
functions: provide nss_systemd-less nsswitch.conf in chroots.
4 years ago
Dimitri John Ledkov 109e6c6613
auto/build: use setup|teardown_mountpoint to reduce duplication
4 years ago
David Krauser 83499f1a95 Add mechanism to detect initrdless boot fallback
4 years ago
Jinming Wu, Patrick afda365565
Additional fixes for Hyper-V builds
4 years ago
Robert C Jennings 84397b5098
Avoid rbind /sys for chroot snap pre-seeding (cgroups fail to unmount)
4 years ago
Dimitri John Ledkov b14f79ce2e
apparmor: compile all profiles
5 years ago
Dimitri John Ledkov 31861fd40d
seccomp: mount more up-to-date seccomp features
5 years ago
Dimitri John Ledkov bc4d32a422
seccomp: add more up-to-date seccomp actions
5 years ago
Dimitri John Ledkov a14a31b751
apparmor: mount more up-to-date apparmor features in the chroot.
5 years ago
Dimitri John Ledkov 37be000f39
apparmor: Add generic v5.4 kernel apparmor features
5 years ago
Dimitri John Ledkov 6e6ab16bf2
live-server: remove duplicate snaps, due to overlayfs vs snap-preseed.
5 years ago
Robert C Jennings 1ca11c9795
Apply snap-preseed optimizations after seeding snaps
5 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
Cody Shepherd 7ad64297f7
Remove explicit install of grub-efi-* package as it is not necessary,
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
Cody Shepherd 5136ee4104
Perform a dist-upgrade prior to installing packages for bootable-buildd
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 e8e3e6760f Drop hack in kvm image that forces initramfs-less boot
5 years ago
David Krauser 8a2cdec470 Boot without an initramfs by default if running a custom kernel
5 years ago
David Krauser 1ca1330eae Boot with an initramfs by default in cloud images
5 years ago
Dimitri John Ledkov 1ff35cf438 chroot: disable amd64 codepath on riscv64
5 years ago
Dimitri John Ledkov 90602e00de Merge branch 'empty-fstab-in-lxd' of git+ssh://git.launchpad.net/~rbalint/livecd-rootfs into ubuntu/master
5 years ago
Steve Langasek 4a02400dec Merge remote-tracking branch 'callmepk/hyper-v-fix' into ubuntu/master
5 years ago
Balint Reczey f96e874ed1 Remove fstab from squashfs images
5 years ago
Łukasz 'sil2100' Zemczak 40103430d8 Enable overrides of UC20 grade dangerous channels
5 years ago
Philip Roche 60665a434b Revert of initramfs package removal in KVM image (LP: #1875400)
5 years ago
Dimitri John Ledkov dbf5b84bc8 Merge branch 'xnox/lxd-add-riscv64' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master
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 bb9a7dd43e make-lxd-metadata: add riscv64 lxd architecture tag
5 years ago
Jinming Wu, Patrick 81b1cbbfc2
Add extra policy for xrdp session
5 years ago
Jinming Wu, Patrick 8d26a3036c
force to use systemwide config
5 years ago
Jinming Wu, Patrick c9a2d8abad
Hyper-V: remove legacy option
5 years ago
Dimitri John Ledkov b9177cfd59 Fixup indentation
5 years ago
Jinming Wu, Patrick bc24ef964e
hyper-v enhanced mode fix: port change
5 years ago
Dimitri John Ledkov 6e8b5b94c4 ubuntu-image: fix focal+ pi images for armhf to use pi-armhf model name.
5 years ago
Dimitri John Ledkov 668898d92c 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
David Krauser 1aef616afd Include -security and -updates packages in bootable buildd images
5 years ago
Michael Hudson-Doyle 2498aadebb Call udevadm settle before kpartx -d
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
Łukasz 'sil2100' Zemczak 6cd2343bea Fix the styling to fit the rest a bit better.
5 years ago
Łukasz 'sil2100' Zemczak c7f3374f9f Final changes to the 999-ubuntu-image-customization.chroot hook.
5 years ago
Dimitri John Ledkov 9a6f28c131 lb_chroot_layered: also snap_validate_seed after all snaps are seeded
5 years ago
Dimitri John Ledkov b9f9dc1ca5 Execute chroot_hacks in live layer only.
5 years ago
Łukasz 'sil2100' Zemczak 2341514fad Fix typo.
5 years ago
Łukasz 'sil2100' Zemczak c3002a563a Merge branch 'u-i-cloud-init' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master
5 years ago
Łukasz 'sil2100' Zemczak d7c4bb4d85 Do not initialize EXTRA_SNAPS with an empty value. Allow overrides via the environment.
5 years ago
Łukasz 'sil2100' Zemczak 56234333f3 Add explaination to why ubuntu-image == device image.
5 years ago
Łukasz 'sil2100' Zemczak 006ed85460 Add support for the Nitrogen6x board.
5 years ago
Colin Watson 5a251ed8a7 Merge branch 'iptables-legacy' into ubuntu/master
5 years ago
Colin Watson dc61b17db3 Use iptables-legacy on older kernel versions
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
Colin Watson ce58687eed Fix placement of update-grub undiversion
5 years ago
Łukasz 'sil2100' Zemczak f6cbbf01e1 Add a new u-i specific chroot hook, move the NoCloud system-boot cloud-init datasource configuration there to make sure all u-i built ship with it.
5 years ago
Dimitri John Ledkov 584ac368b0 Merge branch 'kvm-derives-uefi' of git+ssh://git.launchpad.net/~davidkrauser/livecd-rootfs/+git/livecd-rootfs into ubuntu/master
5 years ago
Łukasz 'sil2100' Zemczak b4ba74885f Remove pulseaudio and udisks2 from kassel images. This will fix the image build failures.
6 years ago
David Krauser 0eecd0c344 KVM disk images should derive from the uefi image.
6 years ago
Robert C Jennings 0afb887cb7
ubuntu-cpc: use sys.exit() rather than quit()
6 years ago
Robert C Jennings 5083d76835
ubuntu-cpc: remove unused final.binary hook support
6 years ago
Robert C Jennings cb535805d7
ubuntu-cpc: rework image artifact cleanup
6 years ago
Robert C Jennings 14b7f62b17
ubuntu-cpc: Only produce explicitly named artifacts (LP: #1837254)
6 years ago
David Krauser 5a2b49950a Fixing broken binary hook symlinks for hyperv gallery image builds.
6 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
Michael Vogt ac717bff40 live-build: move snap seed validation into preinstall_snaps (thanks to rcj)
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
Michael Vogt 8bc09a160b Run "snap debug validate-seed" to do basic validation of the geerated seed.yaml
6 years ago
Łukasz 'sil2100' Zemczak 1e275b6b46 Append seeded snaps to manifests for all images.
6 years ago
Dimitri John Ledkov 124d074101 Unbreak cpc/server builds, by ensuring that includes are copied with archived symlinks, and only hooks resolve symlinks when getting copied.
6 years ago
Dimitri John Ledkov 095c8f4696 Install s390-tools-zkey into the installer layer for zkey support in subiquity.
6 years ago
Colin Watson dc85df854b Add tzdata to buildd images
6 years ago
Steve Langasek 796a89a3c0 Remove dangling symlink /usr/lib/systemd/system/local-fs.target.wants/media-region.lower.mount. It's unclear why this has just started causing build failures, but the symlink should have been removed in 2.592 with the rest of the MAAS stuff.
6 years ago
David Krauser 0e3b1e206b
Add support for HyperV Gallery images
6 years ago
Tiago Stürmer Daitx f2bbe1fd85
Merge patviafore/linux_kvm_image: Add linux-kvm image
6 years ago
Łukasz 'sil2100' Zemczak d830cfccee Merge Dave's changes: Use boot-partition for c-i seed on RPi
6 years ago
Pat Viafore 514a83b926
Unmount the image before we convert to qcow2 to avoid corruption
6 years ago
Pat Viafore 9bf4c7cb52
Adding apt-get autoremove and setting IMAGE_STR
6 years ago
Pat Viafore 975a620e59
Various fixes from code review.
6 years ago
Pat Viafore afbda566eb
Adding hooks and making replace_kernel function
6 years ago
Pat Viafore 528b2ea57a
Add kvm image
6 years ago
Dimitri John Ledkov d7b629cae6 Do not force lzma on ubuntu-core builds, the compress format default should be set universally inside initramfs-tools-ubuntu-core package instead of getting duplicated multiple times all over the place.
6 years ago
Dimitri John Ledkov 3d36dc0794 Stop overriding initramfs compression default to lzma. LP: #1831736
6 years ago
Dimitri John Ledkov 67b26519bc Drop trying to mount removed maas squashfs.
6 years ago
Dimitri John Ledkov 11756d2d1e Fix typpo when dropping jasper.
6 years ago
Dimitri John Ledkov de1055de29 Merge branch 'dead-ubuntu-rtm' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
6 years ago
Dimitri John Ledkov 28c37f405f Merge branch 'dead-ubuntu-touch-hooks' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
6 years ago
Dimitri John Ledkov 702ccb4c77 Merge branch 'dead-ubuntu-touch' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
6 years ago
Dimitri John Ledkov 279c91924e Merge branch 'ubuntu-desktop-next-hooks' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
6 years ago
Dimitri John Ledkov af96b80116 Merge branch 'dead-ubuntu-desktop-next' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
6 years ago
Dimitri John Ledkov 97adf4c160 Merge branch 'drop-old-arm' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
6 years ago
Dimitri John Ledkov b0312baeb7 Merge branch 'dead-jasper' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
6 years ago
Dimitri John Ledkov 1a3eaf75c8 Merge branch 'dead-wubi' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
6 years ago
Łukasz 'sil2100' Zemczak e3b7b319c1 Merge branch 'uc18-kassel' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master
6 years ago
Dimitri John Ledkov d56653396d Drop ubuntu-rtm configs
6 years ago
Dimitri John Ledkov a7631ad0f5 Drop ubuntu-touch hooks
6 years ago
Dimitri John Ledkov 44fd9ba9fd Drop ubuntu-touch configs
6 years ago
Dimitri John Ledkov 25224180e1 Drop ubuntu-desktop-next hooks
6 years ago