Commit Graph

375 Commits (ac706d517e9cb2fc29d4fd637a107f342d248647)

Author SHA1 Message Date
Dimitri John Ledkov 7c760864fd
esp: install grub in ubuntu bootloader id path, instead of removable.
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
Dimitri John Ledkov 3e1e76b94a
riscv64: fixup subarch build, unbound variable
4 years ago
Dimitri John Ledkov a808b28d47
riscv64: build preinstalled riscv64 image with uboot SPL and CIDATA.
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
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
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
Dimitri John Ledkov e2fd168f50
amd64: always install grub-pc with shim-signed
4 years ago
Joshua Powers b0c8b628b2
ubuntu-cpc: only install shim-signed, run autoremove
4 years ago
John Chittum 1abc43a2d0
Remove virtualbox-guest-utils (LP: #1895862)
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
David Krauser 83499f1a95 Add mechanism to detect initrdless boot fallback
4 years ago
David Krauser 4c504f6781 Fix broken minimal cloud image boot on amd64
5 years ago
David Krauser e8e3e6760f Drop hack in kvm image that forces initramfs-less boot
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
Balint Reczey f96e874ed1 Remove fstab from squashfs images
5 years ago
Philip Roche 60665a434b Revert of initramfs package removal in KVM image (LP: #1875400)
5 years ago
Pat Viafore 2c70ed158b
Make Ubuntu Vagrant box 40G. (LP: #1580596)
5 years ago
Łukasz 'sil2100' Zemczak 95103e3d36 Ensure seed part. is mounted; wait for getty
5 years ago
Michael Hudson-Doyle f27b432026 ubuntu-cpc hooks are Different
5 years ago
Michael Hudson-Doyle 741933942e copy the filelists for the root-xz and squashfs into place
5 years ago
Michael Hudson-Doyle 015d8bab65 add filelist files to all ubuntu-cpc series files
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
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 c7f3374f9f Final changes to the 999-ubuntu-image-customization.chroot hook.
5 years ago
Łukasz 'sil2100' Zemczak 2341514fad Fix typo.
5 years ago
Łukasz 'sil2100' Zemczak 56234333f3 Add explaination to why ubuntu-image == device image.
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
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 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
Balint Reczey 76a57f37ef Merge lp:~rbalint -b ubuntu/master
6 years ago
Michael Hudson-Doyle d35d115938 Merge branch 'ubuntu/master_parallel_cpc_fixes' into ubuntu/master
6 years ago
Balint Reczey 2bb15e03f4 wsl.binary: Add comment about tar usage
6 years ago
Balint Reczey 3ae9628528 Build WSL rootfs tarball
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
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
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
Tobias Koch cbd4eb5717 Use series files with dependency handling to generate hook symlinks dynamically
6 years ago
Steve Langasek 8f910aab4b Merge lp:~vorlon/livecd-rootfs/initramfsless-everywhere
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 5bee1ade70 Ensure pre-seeded snaps are now published in the image manifests.
6 years ago
Aleksandr Bogdanov aba10dc702 vagrant: disabling automatic console log file
6 years ago
Steve Langasek b6dedb62ce Unconditionally set GRUB_FORCE_PARTUUID in cloud images; as of version
6 years ago
Dimitri John Ledkov 08c9c26e58 Ensure /lib/modules exists in root tarballs and sqashfs.
6 years ago
Steve Langasek 3db2340c54 generate all tar files with --xattrs. LP: #1302192.
6 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 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
Daniel Watkins 87c11b5114 Don't fail to build CPC images if /lib/modules already exists in the
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
Dimitri John Ledkov bc194dd48b Build EFI armhf images.
7 years ago
Dimitri John Ledkov d4fe705be7 Stop building vagrant.box, ova, vmdk images for i386.
7 years ago
Steve Langasek c02f0f0f4c Install grub-ieee1275 instead of grub2 on ppc64el; grub2 is a dummy
7 years ago
Michael Hudson-Doyle c24e13f8f9 install grub-ieee1275 instead of grub2 on ppc64el
7 years ago
Balint Reczey 532bd5b5ed Build minimized images in a 1GiB image
7 years ago
Balint Reczey c45ea223b4 Use default xz compression (-6) for raspi2 image
7 years ago
Balint Reczey 578fa5a92d Update changelog
7 years ago
Balint Reczey 4a168af954 Skip setting up initrd for s390x when it is not generated for the image
7 years ago
Steve Langasek 51890b5b43 add 'file' to the axe list for minimized
7 years ago
Steve Langasek c9b427c11b Another round of package removals for minimization
7 years ago
Steve Langasek c0bb8d760f remove vim a little harder
7 years ago
Steve Langasek 783437f533 instead, call apt clean from the chroot
7 years ago
Steve Langasek dec765f035 no actual point in apt clean here, since that just cleans files from the bind mount
7 years ago
Steve Langasek bc361bc33b call apt clean separately for the squashfs
7 years ago
Steve Langasek dc875735b8 More packages to remove when minimizing
7 years ago
Steve Langasek add1cca991 Refactor, mark all lib'*' and python'*' packages auto-installed so they can be cleaned up as dependencies instead
7 years ago
Steve Langasek 54427d4440 When building minimized cloud images, remove various packages that we
7 years ago
Steve Langasek ad78957f01 Remove boot/grub leftovers from our root squashfs, left behind after
7 years ago
Balint Reczey 549232f607 Clean up dangling /boot/initrd.img symlink when needed
7 years ago
Steve Langasek a75cbf210b Fix the force-partuuid handling to create the file under
7 years ago
Steve Langasek a5e27120c0 Factor out grub-related diversions and use them consistently, so we
7 years ago
Balint Reczey f0cb85a506 When SUBPROJECT environment variable is not set assume it to be ""
7 years ago
Balint Reczey 2ef2aee456 Use SUBPROJECT=minimized name instead of SUBPROJECT=minimize for consistency
7 years ago
Balint Reczey c5d01a6635 Force partuuid in /etc/default/grub.d/* instead of in /etc/default/grub
7 years ago
Steve Langasek 0365171ce3 minimization handling for UEFI disk images
7 years ago
Balint Reczey 9dd615d380 Drop initramfs-tools diversion
7 years ago
Balint Reczey d65e1edfd1 Source config/binary instead of /build/config/binary which may not exist
7 years ago
Steve Langasek 3ed1f4fdd1 In a cloud environment, we can rely on the kernel being able to boot the
7 years ago
Steve Langasek 786370819c Make the 999-cpc-fixes.chroot subproject-aware, so we don't try to locale-gen
7 years ago
Balint Reczey 20617c6f51 Don't ask for password and GECOS while creating vagrant user
7 years ago
Steve Langasek bcb2bcc1cd Remove spurious call to 'sync'; we don't need to flush all disk caches
7 years ago
Dimitri John Ledkov 9c9dbda327 * Enable systemd-networkd by default.
7 years ago
Steve Langasek 7f9094170b remove another straggler udevadm+sleep
7 years ago
Robert C Jennings 83b4f5338c live-build/ubuntu-cpc/functions: Add teardown_mountpoint to reverse setup_mountpoint
7 years ago
Steve Langasek 8589d3548f live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary: call apt-get
7 years ago
Steve Langasek a246300940 * live-build/functions: mount tmpfs on /var/cache/apt and var/lib/apt, so
7 years ago
Colin Watson 6a42148b22 Mount and unmount /dev recursively, to cope with setups where there are
7 years ago
Adam Conrad fc48e02c37 [tribaal, r=adconrad] Create vagrant user per upstream requirements
7 years ago
Christopher Glass f10cd80ebb Make sure the .ssh directory has the right permissions.
7 years ago
Christopher Glass e798276910 Fixed review comments by Adam.
7 years ago
Christopher Glass 3d901daef4 Fix file permission problem - the authorized_keys file was still owned by root since the chown call came before its creation.
7 years ago
Christopher Glass e6fd2b657e Remove ubuntu user customisations.
7 years ago
Steve Langasek b1432b36be Don't reference dropped grub_modules variable in grub-install command
7 years ago
Christopher Glass 87f34122fb Remove useless diff.
7 years ago
Christopher Glass 97c8996c29 Remove the useless user and password from default config.
7 years ago
Christopher Glass 72dbb4c75d Added comments.
7 years ago
Christopher Glass 467b8c9c06 Reset the default SSH user to being vagrant.
7 years ago
Christopher Glass 1cc6041cd6 Remove root login. Ubuntu user keeps generated password.
7 years ago
Christopher Glass b9363e97fb Explicitely permit passworded root login over SSH.
7 years ago
Christopher Glass c0730ef6f6 Fix typo in variable name.
7 years ago
Christopher Glass cc8a6e2709 Turns out the user adding should be done when the chroot is available...
7 years ago
Mathieu Trudel-Lapierre 563abee702 Drop special handling of grub modules, adding a note. Modules should be included in the signed grub binaries when necessary.
7 years ago
Mathieu Trudel-Lapierre 869bb9808a Clean up GRUB_MODULES_PRELOAD / grub_modules. Remove the modules already loaded in stock signed grub EFI binaries.
7 years ago
Christopher Glass 5442860c14 Added a "vagrant" user to the vagrant image build, as per the vagrant community's
7 years ago
Dimitri John Ledkov bec201601d Set a default locale of C.UTF-8 in the cloud images.
7 years ago
Steve Langasek 8aadf2c73d Set a default locale of C.UTF-8 in the cloud images.
7 years ago
Dimitri John Ledkov 4f0e9c286c Drop add_serial_console for upstart.
7 years ago
Balint Reczey cfda7d20bd Use xz -T4 -0 instead of pxz
8 years ago