Commit Graph

258 Commits (6568c5fa296e2ec12c1b4c17b78ccee8c123f51f)

Author SHA1 Message Date
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
Balint Reczey 6c9cf10d72 Depend on pxz and vmdk-stream-converter instead of installing them at runtime
8 years ago
Balint Reczey aa54a130c3 Depend on packages in main instead of installing them at runtime
8 years ago
Steve Langasek e89c54b271 Merge lp:~rcj/livecd-rootfs/trunk/
8 years ago
Robert C Jennings 01b476c0eb live-build/ubuntu-cpc/hooks/999-extras.binary: Exit on first failure
8 years ago
Robert C Jennings 166b5eb4b3 ubuntu-cpc/060-ipv6.chroot: remove release comparison (LP: #1681548)
8 years ago
Mathieu Trudel-Lapierre 94275558de Make sure variables are exported for run-parts in 999-extras.binary; and drop the unnecessary sourcing of functions.
8 years ago
Mathieu Trudel-Lapierre 6272f60665 Merge fixes from rcj.
8 years ago
Robert C Jennings f8264a59c6 Change remaining CLOUD_IMG_STR references to IMAGE_STR
8 years ago
Mathieu Trudel-Lapierre 4e01beda8c Set IMAGE_STR and FS_LABEL for ubuntu-cpc 999-extras.binary hook too; but also export CLOUD_IMG_STR.
8 years ago
Mathieu Trudel-Lapierre 9ed476572f Resynchronize with parent branch.
8 years ago
Mathieu Trudel-Lapierre 46bae4cebf Fix up functions refactoring tfor a proper path to the file.
8 years ago
Mathieu Trudel-Lapierre 46fd6c58f5 Refactor functions out of ubuntu-cpc and ubuntu-server hooks.
8 years ago
Balint Reczey 16eee8d7eb Use all config hooks from the proper place, not from /build/
8 years ago
Balint Reczey 7cae48fd12 Source ubuntu-cpc functions from the right place
8 years ago
Steve Langasek 738ff116a5 Merge lp:~vorlon/livecd-rootfs/image-flavors/
8 years ago
Brian Murray f79fc7973c Add replace_grub_root_with_label function thereby consolidating multiple
8 years ago
Brian Murray a5cc2033a0 Fix the OVF's metadata to include Ubuntu specific identifiers and
8 years ago