Commit Graph

888 Commits (8094bfb4eec9457f89742ad050a1b8008159cabc)

Author SHA1 Message Date
Steve Langasek 3ed1f4fdd1 In a cloud environment, we can rely on the kernel being able to boot the
7 years ago
Steve Langasek 95890f6713 We probably still want sudo, even in a minimal image.
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
Steve Langasek e6bbe5f8a5 Export the subproject into config/chroot and config/binary, so that this
7 years ago
Steve Langasek abbbeb8fda Begin adding support for a project-independent 'minimize' subproject,
7 years ago
Steve Langasek 7c58bcecf0 Merge lp:~rbalint/livecd-rootfs/vagrant
7 years ago
Balint Reczey 20617c6f51 Don't ask for password and GECOS while creating vagrant user
7 years ago
Michael Hudson-Doyle 8d43597228 add ExecStartPre=/usr/bin/subiquity-loadkeys to subiquity.service
7 years ago
Balint Reczey 45201111a6 Mount using --make-rslave to ensure safe unmounts for rbind mounts
7 years ago
Michael Hudson-Doyle 61764acade only show alert (i.e. panic) kernel messages on the console when subiquity is running
7 years ago
Steve Langasek bcb2bcc1cd Remove spurious call to 'sync'; we don't need to flush all disk caches
7 years ago
Michael Hudson-Doyle 9802843885 make file paths a bit less comical
7 years ago
Michael Hudson-Doyle 4941d4ee14 move default netplan to where the hook will pick it up
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
Steve Langasek 03d7dff3ff Merge lp:~mwhudson/livecd-rootfs/default-netplan-for-server-live
7 years ago
Steve Langasek 801aad2f77 * Improve teardown_mountpoint to recursively find all submounts and
7 years ago
Steve Langasek c9ef91e262 Restore the call to 'umount -R $mountpoint' from umount_partition,
7 years ago
Steve Langasek bacde14e41 Also adjust live-build/ubuntu-server/hooks/032-installer-squashfs.binary
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
Michael Hudson-Doyle 1676147a84 add some dhcp-on-wired-looking-things default netplan for the server live image
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
Balint Reczey 4d72521491 Fix suppressing kpartx error
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 3b37842219 Use VMDKstream in a more future-proof way
8 years ago
Robert C Jennings f05a8a238f live-build/functions: Update path for VMDKstream.py
8 years ago
Balint Reczey cfda7d20bd Use xz -T4 -0 instead of pxz
8 years ago
Mathieu Trudel-Lapierre 726e6192e0 auto/config: enable Debug::pkgDepCache::AutoInstall so tracking down
8 years ago
Steve Langasek 926b22a834 Merge lp:~rbalint/livecd-rootfs/deps
8 years ago
Steve Langasek 23d9db863e Add cm3 as a known ubuntu-core image type. LP: #1698223.
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
Didier Roche 1260f67b8a Build ubuntu back with tasks. The metapackage switch was due to g++ transition
8 years ago
Simon Quigley 0d82c84cdf Update the file based on gilir's feedback
8 years ago
Simon Quigley 538c89f984 Set correct tasks for Lubuntu
8 years ago
Mathieu Trudel-Lapierre 8de300621f For ubuntu-server images, the live user created by user-setup is 'ubuntu-server', not 'ubuntu'. Fix this so that gettys will start on VTs.
8 years ago
Steve Langasek f75be1c606 Resurrect Balint's fix from
8 years ago
Steve Langasek dbba32fae6 For now, make sure all automated image builds are on the edge channel.
8 years ago
Steve Langasek 4f2c623e27 Use xz to compress ubuntu-image .img files before transfer, so that we
8 years ago
Mathieu Trudel-Lapierre d463581569 Merge in lp:~ubuntu-core-dev/livecd-rootfs/zesty-proposed for the changes that landed in zesty but previously missing in livecd-rootfs trunk.
8 years ago
Mathieu Trudel-Lapierre 2e21d6d6b1 The ubuntu-server:live should use a casper-based initramfs to work
8 years ago
Mathieu Trudel-Lapierre 03c991faef Setup kernel properly for ubuntu-server:live; we *do* want to build
8 years ago
Balint Reczey 0109d5304e Optionally use ubuntu-image for building snap based images
8 years ago
Balint Reczey f807c3703a Allow overriding IMAGEFORMAT even for ubuntu-cpc and ubuntu-server
8 years ago
Balint Reczey 44f9dceeb4 Require PROJECT environment to be set for lb build
8 years ago
Steve Langasek ca79c05a23 Merge lp:~rbalint/livecd-rootfs/livecd-rootfs-autopkgtest-fix, w/ modifications
8 years ago
Balint Reczey 21efeb6795 Work around kpartx's nonzero exit due to "Device or resource busy" errors
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 22ec1d6f6f Sanitize comments.
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 4613a2c82e Don't outright remove fstab for ubuntu-server:live, that breaks grub-legacy-ec2.
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 ab949fac18 Rename ubuntu-server-live -> ubuntu-server
8 years ago
Mathieu Trudel-Lapierre 46fd6c58f5 Refactor functions out of ubuntu-cpc and ubuntu-server hooks.
8 years ago
Mathieu Trudel-Lapierre 292c5f300c De-duplicate functions in ubuntu-server-live; use the file from ubuntu-cpc.
8 years ago
Mathieu Trudel-Lapierre 715f13b887 Don't spam with unnecessary login messages; skip login altogether.
8 years ago
Mathieu Trudel-Lapierre 2cfa4a9088 Override gettys to wait for the user the press enter, and autologin to the ubuntu user.
8 years ago
Mathieu Trudel-Lapierre e577ed7672 Rename to ubuntu-server-live; some build process fixes.
8 years ago
Mathieu Trudel-Lapierre bf958b1472 Disable cloud-init for the live-session. user-setup will create our ubuntu user via casper.
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
Mathieu Trudel-Lapierre 29f5dc57fd mkdir must not fail.
8 years ago
Mathieu Trudel-Lapierre 6978674cfe Add cloud-init for subiquity image.
8 years ago
Mathieu Trudel-Lapierre 303c7a29ec Move subiquity systemd service to includes.binary; so that it's copied only on the installer overlay.
8 years ago
Mathieu Trudel-Lapierre 86b64ef78e Move curtin to installer squash.
8 years ago
Mathieu Trudel-Lapierre d5a6f5cbe3 Add 'ubuntu-server-next' subiquity image.
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
Adam Conrad 7b576e4c4d Set device_tree_address for the new kernel in the RPi bootloader config.txt
8 years ago
Brian Murray a5cc2033a0 Fix the OVF's metadata to include Ubuntu specific identifiers and
8 years ago
Christopher Glass 5da94c05e5 Fixed template omission (found wile running a build withthis branch).
8 years ago
Christopher Glass b6e7b22680 Rool both switches into one for all affected files (the vagrant file was still
8 years ago
Nish Aravamudan 404e524013 live-build/ubuntu-cpc/hooks/061-open-iscsi.chroot: generate iSCSI
8 years ago