Commit Graph

231 Commits (ce58687eedb365b9e05ff4049894cbfbfa482861)

Author SHA1 Message Date
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
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
Steve Langasek dc38efa4bd merge from trunk
8 years ago
Steve Langasek 60da7e7c43 Also make squashfs skippable with $IMAGE_TARGETS
8 years ago
Steve Langasek 7fc1da1513 * live-build/ubuntu-cpc/functions: don't call sleep as part of
8 years ago
Steve Langasek 97bc634bd9 vmdk-ova has to key on the vmdk image build
8 years ago
Steve Langasek 53e1feefdb Per discussion with Adam, don't make this an LB_ variable since it's not actually part of live-build; instead we will look to pass it into the environment through launchpad-buildd
8 years ago
Steve Langasek 8ba3a00622 Support passing IMAGE_FLAVORS in the environment, to limit which images
8 years ago
Christopher Glass 5a07ff4602 Roll both switches on $ARCH into one, as suggested at review.
8 years ago
Christopher Glass f1a8538c8e This branch fixes the OVF's metadata to include Ubuntu-specific identifiers and
8 years ago
Christopher Glass f282859477 This branch fixes the manifest generation in OVA files (LP:1627931)
8 years ago
Robert C Jennings 67dfdf94a7 ubuntu-cpc: Remove redundant copy of grub files
8 years ago
Steve Langasek 8855f05191 live-build/ubuntu-cpc/hooks/042-vagrant.binary: fix unmount handling
8 years ago
Daniel Watkins 15d147bcdb Add replace_grub_root_with_label function
8 years ago
Steve Langasek 9efc4f0f70 Merge lp:~semiosis/livecd-rootfs/fix-for-1565985
9 years ago
Louis Zuckerman 802e65f885 remove unnecessary virtualbox-guest-dkms package from vagrant image builder
9 years ago
Louis Zuckerman 213c3b317c updated per Steve Langasek's feedback:
9 years ago
Louis Zuckerman 85d3b5fdaf remove comment from vagrant script
9 years ago
Louis Zuckerman 0eac70b33e [ Louis Zuckerman ]
9 years ago
Louis Zuckerman 2616af2baf [ Louis Zuckerman ]
9 years ago
Louis Zuckerman cad69acf05 fixes for vagrant box builder in ubuntu-cpc
9 years ago
Daniel Watkins 319e3668b9 [cpc][ppc64el] apt-get update before installing grub2
9 years ago
Phil Roche d97134679d Removed HWCLOCKACCESS=no from /etc/default/rcS
9 years ago
Daniel Watkins c1a36eb3cd Don't ignore failures to find a base VMDK for OVAs
9 years ago
Daniel Watkins dd9cf219c7 Create a VMDK image on i386
9 years ago
Daniel Watkins fe81277a0f Continue producing non-UEFI images on non-UEFI arches
9 years ago