Commit Graph

1739 Commits (2.765.50)

Author SHA1 Message Date
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
Dimitri John Ledkov 2aa3a59b7c Drop ubuntu-desktop-next configs
6 years ago
Dimitri John Ledkov 5b89298cd9 Drop old arm platforms.
6 years ago
Dimitri John Ledkov c596d3d376 Drop dead jasper subproject.
6 years ago
Dimitri John Ledkov 6d02eac861 Drop dead wubi subproject.
6 years ago
Balint Reczey 76a57f37ef Merge lp:~rbalint -b ubuntu/master
6 years ago
Steve Langasek 6af9dd4148 Merge lp.1829333
6 years ago
Michael Hudson-Doyle d35d115938 Merge branch 'ubuntu/master_parallel_cpc_fixes' into ubuntu/master
6 years ago
Steve Langasek c306763147 Strip translation files out of the minimal images.
6 years ago
Balint Reczey 2bb15e03f4 wsl.binary: Add comment about tar usage
6 years ago
Balint Reczey c8812c7b69 Merge lp:~rbalint/livecd-rootfs -b wsl into ubuntu/master
6 years ago
Balint Reczey 3ae9628528 Build WSL rootfs tarball
6 years ago
Dimitri John Ledkov 9d7b6a8e7e Drop maas hook from server-live.
6 years ago
Dimitri John Ledkov aa58b069ed Set executable bit on kernel-bits.binary
6 years ago
Dimitri John Ledkov ba49d6db5f Use snap-tool to seed subiquity snap.
6 years ago
Julian Andres Klode bed915a0fb Don't purge busybox-static in minimized, no longer installed
6 years ago
Michael Hudson-Doyle 42992467a1 Remove device nodes later for ubuntu-base:minimized (i.e. docker) builds. (LP: #1828118)
6 years ago
Robert C Jennings bca9242474
ubuntu-cpc: Allow comments in series files and add comments
6 years ago
Robert C Jennings 05850394d7
ubuntu-cpc: Ensure base disk image is the same between all build targets
6 years ago
Robert C Jennings 0bfc5c4290
ubuntu-cpc: Fixup comment references to file names post-parallelization
6 years ago
Julian Andres Klode ffd06b6e09 Merge branch 'minimize-manual-earlier' of lp:~juliank/livecd-rootfs into ubuntu/master
6 years ago
Dimitri John Ledkov d13964805e
Fix ubuntu-server-live images to generate initrd with casper UUID. Whilst configs are sources, the variables are not exported into the environment by default. Thus when casper hook is executed, it had no idea that it should generate UUID.
6 years ago
Julian Andres Klode e95ad81c47 Run clean_debian_chroot after minimize_manual
6 years ago
Steve Langasek b83f70a2ea Add support for the 'kassel' subflavor of UC18 images.
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
Balint Reczey 2d162dd121 Pass --sort=name to tar to make tarballs more reproducible and rsync-friendly
6 years ago
Robert C Jennings a45342f269
ubuntu-cpc: avoid duplicate snaps listed in qcow manifest
6 years ago
Dimitri John Ledkov 036d7d2949
Make serial-subiquity@ use the same codepath as tty1 subiquity.
6 years ago
Didier Roche b20cf752e6 Add languages to live pass
6 years ago
Dimitri John Ledkov 1ab438750d
Revert "subiquity: fix name of mdoules.squashfs to mount"
6 years ago
Dimitri John Ledkov 98e0b1031d
subiquity: fix name of mdoules.squashfs to mount
6 years ago
Didier Roche 995f3cf9e0 Ensure default langpacks are removed after installation
6 years ago
Jean-Baptiste Lallement 38bb0b3301 Fix grub divert for multilayer images
6 years ago
Steve Langasek e5e1c8dc96 Also don't create the update-motd directory since we're not writing to it.
6 years ago
Steve Langasek 4ca92b04a7 Drop /etc/update-motd.d/51-cloudguest from cloud images; this is not consistent with current Ubuntu Advantage product language. Any future customizations to update-motd for cloud images should be done via a package instead.
6 years ago
Steve Langasek ea5f01942f divert grub when calling into lb chroot
6 years ago
Steve Langasek 7e4a2627ed Use python3 vmdkstream exclusively; we should not fall back to python2.
6 years ago
Colin Watson 3b22ad381a Make sure buildd images have a /usr/sbin/policy-rc.d symlink
6 years ago
Dimitri John Ledkov a77ec4a9df
Add python3 vmdkstream support
6 years ago
Dimitri John Ledkov 37d9b77b95
subiquity: make subiqutiy_config.mount optional
6 years ago
Łukasz 'sil2100' Zemczak 8c8b7164d4 Support building pi3-arm64 core18 images. At the same time, make sure we still use the right gadget tree repository for the classic arm64 pi3 image.
6 years ago
Balint Reczey 039ed8ec31 Merge fixing minimized text spacing
6 years ago
Balint Reczey 0182d380ca Nicely separate motd text about minimizing from texts above
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
Balint Reczey a06d208871 Merge branch feature/parallelization-pkg-version-fixing
6 years ago
Colin Watson 305d5cef50 Drop code to handle buildd images for <disco
6 years ago
Colin Watson 36af2769dc Disable merged /usr in buildd images
6 years ago
Tobias Koch 5b70d86f5c Inject a proxy into the build providing a snapshot view of the package repo.
6 years ago
Michael Hudson-Doyle a9991a908e revert change to ubuntu-server:live snap seeding
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 f5d3233c64 Fixed wonky indentation
6 years ago
Jean-Baptiste Lallement f84d92d76f Calculate total size of the image + typos
6 years ago
Jean-Baptiste Lallement 3db920c40c Fixed quoting of subproject variable
6 years ago
Jean-Baptiste Lallement 52d9bd3ead Run live specific scripts on non live layers
6 years ago
Jean-Baptiste Lallement d1a2e24c41 Adds reduce_pass_size
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 addef92e23 Decouple from ubuntu-cdimage & debian-cd landings
6 years ago
Jean-Baptiste Lallement 2d2ce6eea4 Rename chroot.$PASS -> overlay.$PASS
6 years ago
Jean-Baptiste Lallement e0d30dd2d3 Fixed substract -> subtract
6 years ago
Jean-Baptiste Lallement 15cacaee96 configure network manager _after_ installing network-manager
6 years ago
Jean-Baptiste Lallement 41becb0af7 Ensure snaps are available on ubuntu-server live
6 years ago
Jean-Baptiste Lallement e0ed85c400 Fixed pattern for matching manifest
6 years ago
Jean-Baptiste Lallement 3075d65578 Cleanup and handle manifest-remove files
6 years ago
Jean-Baptiste Lallement 9dba350834 Added lb_binary_layered
6 years ago
Jean-Baptiste Lallement 43ec452fa0 Moved reusable functions to functions
6 years ago
Jean-Baptiste Lallement 693e0a7360 Clean up chroot helpers
6 years ago
Jean-Baptiste Lallement 047f883e92 Various fixes
6 years ago
Jean-Baptiste Lallement 9077289332 Add includes by pass
6 years ago
Jean-Baptiste Lallement 3b21bd9a2e Moved back config helper functions to config
6 years ago
Jean-Baptiste Lallement 42d1d77612 Layered Ubuntu desktop by default
6 years ago
Jean-Baptiste Lallement f3dadf1091 Support for positive and negative sublayers
6 years ago
Jean-Baptiste Lallement a9908e0c9d Add support for negative package lists
6 years ago
Jean-Baptiste Lallement 53b06af931 Added sublayers support
6 years ago
Jean-Baptiste Lallement 78c196031b Add snaps to manifest
6 years ago
Jean-Baptiste Lallement 903ba3b276 Actually install snap for each layer.
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 6a7368bf95 Clean-up dead code for server live builds.
6 years ago
Jean-Baptiste Lallement d4f7a0b23d live-build/auto/config: Added ubuntu-desktop-minimal to install-minimal task
6 years ago
Jean-Baptiste Lallement 0f4fcbc7d3 lb_chroot_layered: Export _PASS as PASS to be available in hooks
6 years ago
Jean-Baptiste Lallement d5a16296f4 live-build/auto/build: Create one manifest by layer in diff format and one full manifest with all the layers in standard format
6 years ago
Jean-Baptiste Lallement ca63d43696 live-build/auto/build: Add size of the filesystems. This is used by the installer to calculate the minimum partition size to reserve for installation. The installer will have to sum all the sizes to compute the final size. Thank didrocks
6 years ago
Jean-Baptiste Lallement 7e2f4d4304 live-build/lb_chroot_layered: removed useless comment
6 years ago
Jean-Baptiste Lallement 940873e6cb live-build/lb_chroot_layered: overlayfs supports only 2 stacked layers. Changed the code to use several lower dirs instead like casper does
6 years ago
Jean-Baptiste Lallement b6287916c2 auto/build: Order generated squashfs filesystems
6 years ago
Jean-Baptiste Lallement ce973ba07b auto/build: Removed useless comment
6 years ago
Jean-Baptiste Lallement 7b4acba31d * Added lb_chroot_layered to add support for multi layered squashfs images
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
Łukasz 'sil2100' Zemczak b3dd27aedd Use linux-firmware-raspi2 instead of raspi3-firmware.
6 years ago
Colin Watson 2b15590f3b Fix buildd images for series earlier than bionic
6 years ago
Łukasz 'sil2100' Zemczak bf61fdecf3 Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into sil2100/raspi-wpasupplicant
6 years ago
Łukasz 'sil2100' Zemczak abec4f4c1d Link to the proper name instead.
6 years ago
Łukasz 'sil2100' Zemczak e60bcbaecd Add proper IMAGAFORMAT for raspi3 classic builds, output the images with the expected naming.
6 years ago
Colin Watson 46942330d8 Move buildd image building to binary hooks
6 years ago
Colin Watson 082a2046e7 Add a LXD image to builds for the buildd subproject
6 years ago
Michael Hudson-Doyle 625ace8483 Do not include curtin in the live-server installer.squashfs as the version of subiquity that includes it in the snap has now been released to stable.
6 years ago
Łukasz 'sil2100' Zemczak 85eed4a91d Add wpasupplicant to the additional packages installed for the raspi2 and raspi3 targets.
6 years ago
Michael Hudson-Doyle 1b93df3ae8 A few simple tweaks to reduce size of live servers installer.squashfs
6 years ago
Michael Hudson-Doyle 1e9fc65863 Use right lsb_release argument for HWE kernel name (-sc -> bionic, need -sr -> 18.04).
6 years ago
Michael Hudson-Doyle f81fb59a00 Do no install openssh-server in the base filsystem for the live server installer.
6 years ago
Michael Hudson-Doyle 460332296b remove cloud-initramfs-copymods before installing kernel
6 years ago
Michael Hudson-Doyle 7167e3718b add initramfs hook to record kernel metapackage & mount modules
6 years ago
Michael Hudson-Doyle 5565e3a3d8 add hook to create kernel/initrd/modules for ISO
6 years ago
Michael Hudson-Doyle e3e2e5f9ff do not unmount the installer overlay in 032-installer-squashfs.binary
6 years ago
Michael Hudson-Doyle c4e5659217 do not include kernel in base install for ubuntu-server:live
6 years ago
Balint Reczey 73409ddb77 Add .keep files to preserve empty directories
6 years ago
Michael Hudson-Doyle 4b01505952 Fix typo preventing builds of ubuntu-core images.
6 years ago
Tobias Koch cbd4eb5717 Use series files with dependency handling to generate hook symlinks dynamically
6 years ago
Steve Langasek 5300bb9eb7 Key netplan delegation to NetworkManager on presence of
6 years ago
Łukasz 'sil2100' Zemczak 6345ccd34c Add a few minor fixes for raspi3 builds.
6 years ago
Łukasz 'sil2100' Zemczak d3eb3dd0ac Add missing arguments to ubuntu-image classic calls.
6 years ago
Łukasz 'sil2100' Zemczak c229012efb Add raspi3 arm64 rootfs build support.
6 years ago
Łukasz 'sil2100' Zemczak 65d907268a raspi3 support: be sure to create /boot/firmware during pi3 rootfs builds. Also, for the raspi3 we need to explicitly specify the kernel flavor to raspi2. We also switch to using raspi3-firmware instead of linux-firmware-raspi2 because the latter is not available for arm64.
6 years ago
Steve Langasek 6ee39485dd Merge lp:~sil2100/livecd-rootfs/use-ubuntu-image-classic
6 years ago
Łukasz 'sil2100' Zemczak 05a8be839f Do the same for ubuntu-image snap builds.
6 years ago
Łukasz 'sil2100' Zemczak 8a33b23dd0 Use -O instead of -o for ubuntu-image classic builds.
6 years ago
Łukasz 'sil2100' Zemczak 2947cdbe60 First batch of obvious changes - use better shellism, only call make (without make install).
6 years ago
Steve Langasek f2f3512339 Merge lp:~mzanetti/livecd-rootfs/drop-sf-support
6 years ago
Steve Langasek b3c9d8bac8 Merge lp:~sil2100/livecd-rootfs/raspi3-u-i-classic
6 years ago
Steve Langasek 77c44167df Delete no longer accurate comments
6 years ago
Dimitri John Ledkov 75b9ab1664 Move overlay include.binary /lib to /usr/lib.
6 years ago
Dimitri John Ledkov 93df6705a0 Revert "Do not mount result, on top of lowerdir, appears to fail in
6 years ago
Dimitri John Ledkov 9a8d7117e3 Also strip duplicate \n from the below.
6 years ago
Dimitri John Ledkov 0c2e3c1342 Fix snap-seed-parse to take filename argument instead of printing to
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
Dimitri John Ledkov 1b424926db Do not mount result, on top of lowerdir, appears to fail in disco.
6 years ago
Dimitri John Ledkov e24dccadcc mount_overlay only takes 3 args
6 years ago
Steve Langasek 1e1c6a8572 Properly fix the hard-linking of vmlinuz, taken astray by my misguided
6 years ago
Steve Langasek 8f910aab4b Merge lp:~vorlon/livecd-rootfs/initramfsless-everywhere
6 years ago
Łukasz 'sil2100' Zemczak a3a9b2ab60 Merge latest prerequisite branch.
6 years ago
Łukasz 'sil2100' Zemczak b0910cbe50 Remove more unneeded raspi3 conditionals.
6 years ago
Łukasz 'sil2100' Zemczak 37f3cb1714 Merge latest prerequisite branch.
6 years ago
Łukasz 'sil2100' Zemczak 2e3c7d050c Remove unneeded code and code duplication, add comments.
6 years ago
Łukasz 'sil2100' Zemczak 6ac3384f34 Merge latest prerequisite branch
6 years ago
Łukasz 'sil2100' Zemczak a274206e1a Don't overcomplicate bash conditionals.
6 years ago
Łukasz 'sil2100' Zemczak cc5d39b93d Merge latest prerequisite branches.
6 years ago
Łukasz 'sil2100' Zemczak 501afa0783 Merge latest prerequisite branch
6 years ago
Łukasz 'sil2100' Zemczak 61ba85df21 Merge trunk
6 years ago
Łukasz 'sil2100' Zemczak f8529c9038 Add support for building classic images using makefile-based gadget trees.
6 years ago
Steve Langasek 41382692ba Merge lp:~codyshepherd/livecd-rootfs/uefi-manifests-cosmic
6 years ago
Cody Shepherd a9935923f8 Changes to include grub efi packages and dependencies in uefi image manifests.
6 years ago
Steve Langasek 840015fbbe Merge lp:~aleks.bogdanov/livecd-rootfs/remove-vagrant-console-log
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
Łukasz 'sil2100' Zemczak 41b4130759 * Add support for raspi3 rootfs builds (based on Ryan Finnie).
6 years ago
Łukasz 'sil2100' Zemczak e115b2cbe7 Avoid issues of hard-linking to a symbolic vmlinuz as this can lead to a
6 years ago
Łukasz 'sil2100' Zemczak 4f6e5dc11e For the pc model, the name changed so we need to special case it a bit.
6 years ago
Aleksandr Bogdanov aba10dc702 vagrant: disabling automatic console log file
6 years ago
Łukasz 'sil2100' Zemczak 1498baada5 The model assertions for 18 don't actually use series=18 because that would be too logical.
6 years ago
Steve Langasek b6dedb62ce Unconditionally set GRUB_FORCE_PARTUUID in cloud images; as of version
6 years ago
Łukasz 'sil2100' Zemczak c184977a90 Decide what model assertion series to fetch depending on the suite. For xenial use 16 and for others (so bionic+): 18.
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
Robert C Jennings 9f96dcb4de Add the server snap seed to the ubuntu-cpc project
6 years ago
Michael Hudson-Doyle 791d2adfd8 merge trunk
6 years ago
Dimitri John Ledkov 08c9c26e58 Ensure /lib/modules exists in root tarballs and sqashfs.
6 years ago
Adam Conrad 94230324e0 Stop building buildd chroots with --xattrs until we move to python3.
6 years ago
Colin Watson bb652c238f Merge trunk.
6 years ago
Colin Watson c4c5c1f349 Generate tar file with --xattrs.
6 years ago
Julian Andres Klode 1746e65953 Reorganize minimal-manual file location.
6 years ago
Łukasz 'sil2100' Zemczak e547599e5a Add support for raspi3 rootfs generation for ubuntu-image consumption with all the additional changes required.
6 years ago
Łukasz 'sil2100' Zemczak 97fcf09972 Merge trunk
6 years ago
Julian Andres Klode fc6907b701 fixup: Do not assume current directory
6 years ago
Julian Andres Klode 2e9349c543 minimize-manual.py: Followup with some cleanup, correct permissions
6 years ago
Julian Andres Klode 9360135b2c Minimize the number of manually installed packages in images by marking
6 years ago
Michael Hudson-Doyle ae4a760edb Fix live-server journald config snippet to actually disable journald rate
6 years ago
Michael Hudson-Doyle e804cc4e00 a less hackish approach
6 years ago
Michael Hudson-Doyle a261471969 a less hackish approach
6 years ago
Michael Hudson-Doyle 1aa8b9d882 ffs
6 years ago
Michael Hudson-Doyle 00151c5e0b Set PREINSTALLED=true for live-server so that universe ends up being
6 years ago
Steve Langasek c7ca0a77c8 Merge lp:~vorlon/livecd-rootfs/lp.1302192
6 years ago
Steve Langasek 7d16b0d40a Merge lp:~mwhudson/livecd-rootfs/lp-1776891
6 years ago
Steve Langasek 3db2340c54 generate all tar files with --xattrs. LP: #1302192.
6 years ago
Michael Hudson-Doyle 333a3e2b1b moderate comment
7 years ago
Michael Hudson-Doyle 092b316357 add a comment explaining why /dev cleaning is docker-only
7 years ago
Michael Hudson-Doyle 013dff431e Remove device nodes from Docker images. (LP: #1645468)
7 years ago
Robert C Jennings c3f5ee6716 Disable checksum generation
7 years ago
Phil Roche b7403fabf1 Update unminimize script text and install ubuntu-standard when unminimizing a minimal image (LP: #1778777)
7 years ago
Colin Watson 1e6563aa79 Merge trunk.
7 years ago
Colin Watson baee4ed403 We know cosmic's name now.
7 years ago
Michael Hudson-Doyle c9aaddd56a Disable journald rate limiting in the live-server live session.
7 years ago
Colin Watson 8b1970f661 live-build/auto/config: Drop "lp-*" hostname filter for Launchpad
7 years ago
Robert C Jennings 58b510cf99 ubuntu-cpc: Remove git-man for minimized images
7 years ago
Daniel Watkins f9cae3ff7f Restore removal of /boot/grub from rootfs artifacts
7 years ago
Daniel Watkins ab85167fb5 Shell formatting cleanup
7 years ago
Daniel Watkins 605b97de97 ubuntu-cpc: Generate the root image contents once, and use it for both the
7 years ago
Steve Langasek fff89931db Merge lp:~vorlon/livecd-rootfs/coinstallable-grubz
7 years ago
Daniel Watkins 80459b6c1b ubuntu-cpc: Use linux-kvm for all amd64 minimized builds (LP: #1775472).
7 years ago
Steve Langasek 91f26e016c resync with trunk
7 years ago
Daniel Watkins a9bb37c661 Use a relative path for config/functions
7 years ago
Steve Langasek 92497af14f live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary: don't manually
7 years ago
Daniel Watkins 136e2e2200 Drop /lib/modules creation as MAAS handles it downstream
7 years ago
Daniel Watkins 8e344b1f6b Add comment explaining /lib/modules creation
7 years ago
Daniel Watkins 0e5b19259d ubuntu-cpc: Reintroduce the -root.tar.xz artifact (LP: #1585233).
7 years ago
Michael Hudson-Doyle 664ace2f30 man un-diverting man idempotent
7 years ago
Michael Hudson-Doyle 7c7c2c5b30 rm -r the lists
7 years ago
Michael Hudson-Doyle ccef323973 go back to having docker unminimize not install any extra packages
7 years ago
Michael Hudson-Doyle 2fc3993d48 Remove apt lists that are currently removed downstream anyway.
7 years ago
Michael Hudson-Doyle fa1bce5389 still install a few packages in docker unminimize
7 years ago
Michael Hudson-Doyle 514faae2db divert /usr/bin/man in minimized images to a script that mentions the unminimize script
7 years ago
Michael Hudson-Doyle 7e1bd33544 do not install ubuntu-minimal in ubuntu-base's unminimize
7 years ago
Mathieu Trudel-Lapierre 056e760c06 Don't divert grub-probe; otherwise we're missing the filesystem UUIDs that
7 years ago
Michael Hudson-Doyle 038b003da0 merge trunk
7 years ago
Michael Hudson-Doyle 4bee7b1898 remove "optional: true" from 00-installer-config.yaml
7 years ago
Łukasz 'sil2100' Zemczak 7982442e32 Avoid issues of hard-linking to a symbolic vmlinuz as this can lead to a dangling symlink.
7 years ago
Simon Quigley 9ba04172d4 Completely drop Lubuntu Next.
7 years ago
Simon Quigley 382f17b08c Don't follow recommends.
7 years ago
Simon Quigley 480e02443e Drop seed workarounds for unbuilt Lubuntu Next.
7 years ago
Colin Watson 2c782e076c Add an empty /etc/resolv.conf to buildd chroots.
7 years ago
Colin Watson 1fab544a84 Add init to buildd chroots, since it's needed for LXD-based builds.
7 years ago
Colin Watson 9bd386caa1 Explicitly order remaining buildd hooks.
7 years ago
Colin Watson 2a9efb44a6 Move some buildd hooks to includes.chroot.
7 years ago
Colin Watson b77de06bfd Remove some unnecessary buildd configuration.
7 years ago
Michael Hudson-Doyle eca9613bf3 Symlink systemd-networkd-wait-online to /bin/true in the live installer
7 years ago
Colin Watson 9e99d9f1cf Fix sedding of /etc/apt/sources.list.
7 years ago
Colin Watson 07487675b6 Sort buildd tarballs by name and use numeric user and group IDs.
7 years ago
Colin Watson 416093beec Use a public-facing mirror URL in the final buildd /etc/apt/sources.list.
7 years ago
Colin Watson cb22177287 Add a buildd subproject.
7 years ago
Daniel Watkins 87c11b5114 Don't fail to build CPC images if /lib/modules already exists in the
7 years ago
Dimitri John Ledkov 94b49f9a1c Ensure MAAS squashfsi are clean of passwords. LP: #1764991.
7 years ago
Steve Langasek 9465166169 Merge lp:~daniel-thewatkins/livecd-rootfs/custom-model-assertions
7 years ago
Dimitri John Ledkov f32b6ed261 Clear maas role password
7 years ago
Dimitri John Ledkov 3ed266091c Ensure MAAS squashfsi are clean of passwords. LP: #1764991.
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
Steve Langasek e6089e9e32 Remove landscape-common from minimal image, and handle restoring it in
7 years ago
Dimitri John Ledkov 466607c590 In subiquity image, mount additional squashfs in /media.
7 years ago
Michael Hudson-Doyle 65dd7df171 last minute pre-upload typo fix
7 years ago
Michael Hudson-Doyle aacb8daaee merge trunk
7 years ago
Steve Langasek c46962ca2e Refactor snap preseeding to allow additional snaps to be preseeded from
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 57261c3edf auto/build: Install snaps using common functions
7 years ago
Robert C Jennings e655aff7b1 live-build/functions: Migrate from generic snap account-id
7 years ago
Dimitri John Ledkov 8d5af150cd Make subiquity installer boot quicker, by making dhcp interfaces
7 years ago
Iain Lane e68923777e merge lp:~tsimonq2/livecd-rootfs/lubuntu-seed-mangling
7 years ago
Robert C Jennings 152adcaa04 live-build/functions: add snap preseeding support
7 years ago
Steve Langasek 4bb0414a5d Make sure we call the build "minimal" within the cloud build info,
7 years ago
Christopher Glass 51c663a892 Fixed whitespace/tabs.
7 years ago
Michael Hudson-Doyle 3cb1f38cf2 Set the default locale to C.UTF-8 in all server and cloud images.
7 years ago
Simon Quigley e4151ca741 Proper bash is rad, let's do it.
7 years ago
Simon Quigley 10ebe98d84 Special-case Lubuntu's seeds so that the minimal install works.
7 years ago
Christopher Glass 0b2239c069 Parametrize BUILD_NAME in /etc/cloud/build.info to make it "minimal-aware".
7 years ago
Dimitri John Ledkov bfa43c1c5c On amd64, if building minimal images for bionic, xenial, or extra ppa,
7 years ago
Michael Hudson-Doyle 8ee1f566e2 In the live-server build, prevent casper from mounting any existing
7 years ago
Daniel Watkins 12339422c5 ubuntu-cpc: When performing a minimized build, don't generate artifacts
7 years ago
Dimitri John Ledkov 815c3dfc10 Whitelist preserving "unowned" /var/log/journal. Maybe systemd package
7 years ago
Michael Hudson-Doyle 8ece245153 In the live-server build, prevent casper from mounting any existing swap
7 years ago
Michael Hudson-Doyle a5a4f4e0d8 * Rename the directory containing the systemd override file for subiquity to
7 years ago
Michael Hudson-Doyle c787069c5c do not set INITRAMFS_COMPRESSION for projects that end up passing --initramfs=none to lb config
7 years ago
Michael Hudson-Doyle d46edbffdb reduce duplication somewhat
7 years ago
Michael Hudson-Doyle b7f3ec398b Make lzma initramfs compression opt-in rather than opt-out, and do not
7 years ago
Michael Hudson-Doyle 0d750f78bc Set INITRAMFS_COMPRESSION to gzip for live-server builds to speed up the
7 years ago
Dimitri John Ledkov bc194dd48b Build EFI armhf images.
7 years ago
Steve Langasek 8fddc6b469 Merge lp:~vorlon/livecd-rootfs/many-loops
7 years ago
Steve Langasek 90ef53cef1 Merge lp:~vorlon/livecd-rootfs/ubuntu-channels-for-snaps
7 years ago
Dimitri John Ledkov 9df3a91e26 ubuntu-server: generate multi-lowerdir overlayfs for
7 years ago
Iain Lane ba4b16626f live-build-auto/{build,config}: Support fetching a file from the seed
7 years ago
Michael Hudson-Doyle 57200eaa01 tyop
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 b163743456 call recreate_initramfs with the argument it needs
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