Commit Graph

327 Commits (6a6ac87e24ff724c2283e7e39ed415976cfaab57)

Author SHA1 Message Date
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
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
Daniel Watkins 0a8a704b0b Remove '-disk1' from bootable image names.
9 years ago
Daniel Watkins 1fd54c49ee * Consolidate cloud images
9 years ago
Daniel Watkins 2c27aab38c Re-enable systemd predictable interface naming in cloud images
9 years ago
Daniel Watkins 6340e292d6 Don't configure the eth0 interface by default
9 years ago