1013 Commits

Author SHA1 Message Date
Robert C Jennings
2229a1a754 ubuntu-cpc: Add serial device in Vagrant images and refactor ext4 rootfs
[ Ben Howard ]
  * live-build/ubuntu-cpc/hooks/042-vagrant.binary: add serial device for
    Vagrant images (LP: #1546108).
  [ Daniel Watkins ]
  * Refactor ubuntu-cpc hooks to hard-code producing an 'ext4' rootfs, which
    is used outside of the livecd-rootfs build process (specifically for EC2
    publication).
2017-05-25 20:35:28 -05:00
Robert C Jennings
02340e2480 ubuntu-cpc: nocloud data source for non-cloud cloud images (armhf+raspi2) 2017-05-25 20:35:27 -05:00
Robert C Jennings
742985bb4d Clean/refactor to add raspi2, plus ubuntu-cpc fixes
[ Steve Langasek ]
  * Add hooks to ubuntu-cpc to divert /bin/sync in the chroot and undivert it
    at the end.  This is a general-purpose change that should be applied to
    all flavors and archs, but at the moment it's only needed on armhf+raspi2
    to work around the raspberrypi2-firmware postinst calling sync, which is
    actually warranted in the normal case.
  * If a subarch is specified for a cloud image build, don't build rootfs
    artifacts; these should come from the 'generic' build.
  * Fix architecture handling in hooks.  We know we're always being invoked
    from a launchpad-buildd-like setup, which passes ARCH and SUBARCH in the
    environment, because auto/config and auto/build both rely on this.  So
    don't scatter dpkg --print-architecture calls throughout, especially
    when many of these are not cross-build-aware.
  * Refactor ubuntu-cpc hooks to allow us to handle images where the root
    partition should not be partition 1.

  [ Ben Howard ]
  * ubuntu-cpc: fix hooks/032-disk-image.binary call to
    create_empty_partition, which requires five args due to "-u"
  * ubuntu-cpc: in hooks/030-root-tarball.binary create /lib/modules to fix
    (LP: 1543204).

  [ Steve Langasek ]
  * Refactor ubuntu-cpc hooks to always produce a 'plain' rootfs via
    live-build and reuse this for the tarball, instead of lb_binary_rootfs
    creating some artifact that we ignore / throw away.
  * Initial support for raspi2 subarch.
  * Import live-build/ubuntu-cpc/hooks/raspi2/mkknlimg from
    https://github.com/raspberrypi/linux/blob/rpi-4.1.y/scripts/mkknlimg
    and use it to install a bootable uboot.bin.
2017-05-25 20:35:26 -05:00
Robert C Jennings
cb8ede888f ubuntu-cpc: Refactor arch handling to fix armhf
[ Steve Langasek ]
  * Refactor some non-idiomatic architecture handling in
    live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot that also misidentifies
    the architecture name for armhf.
2017-05-25 20:35:26 -05:00
Robert C Jennings
4a65c41a5e ubuntu-cpc: Mask blkid failure in mount_image
On trusty parted does not create the FS based on the type passed to it.
As a result, calling mount_image for a newly created image will not have
an FS on the root partition.  Calling blkid in mount_image to provide
additional debug output will fail when the root partition has no FS.
The root FS is created after mount_image is called in the hook that
creates the base.ext4 image.  We can ignore the blkid failure as it is
used for debug output; the base image will not have output but derivative
images already have a formatted partition and we'll have handy info.
2017-05-25 20:35:25 -05:00
Robert C Jennings
9cf7b2278f ubuntu-cpc: Refactor for consistency & fix grub-install logic
[ Steve Langasek ]
  * Refactor/reorder ubuntu-cpc support for consistency with other flavors,
    so that subarch overrides can be applied correctly.
  [ Ben Howard ]
  * ubuntu-cpc:
    - fixed loop setup due to change of kpartx output
    - only use grub-install logic for Intel architectures
2017-05-25 20:35:24 -05:00
Robert C Jennings
3bab687119 ubuntu-cpc: Fix ppc64el grub timeout. Also run extras correctly.
* Set timeout options so ppc64el cloud images don't display a grub boot
    menu (matching the behaviour of other cloud images).
  * Specify a regex to run-parts so that cloud image extra scripts are found
    and executed.
2017-05-25 20:35:24 -05:00
Robert C Jennings
009aca99d8 ubuntu-cpc: Install grub in ppc64el images so they are bootable (LP: #1538610) 2017-05-25 20:35:23 -05:00
Robert C Jennings
fd9a4dc0ba ubuntu-cpc: Remove unneeded packages from the root.tar.{gz,xz} (LP: #1534764) 2017-05-25 20:35:22 -05:00
Robert C Jennings
d870400851 ubuntu-cpc: Produce OVA files for i386 cloud builds 2017-05-25 20:35:22 -05:00
Robert C Jennings
65bb92f3a6 ubunutu-cpc: Improvements for derivative image creation
* ubunutu-cpc:
    - extended hooks/functions to support creation of derivative images
      including mounting images.
    - added the ability to create qcow2 images in hooks/functions
    - simplified loop clean-up in hooks/functions
    - removed assumption that disk1.img would be built
    - switched qcow2 generation to use hooks/functions function
2017-05-25 20:35:21 -05:00
Robert C Jennings
004ee17e1f ubuntu-cpc: Add /dev/pts to hook env, also settle disks after UEFI builds 2017-05-25 20:35:20 -05:00
Robert C Jennings
323da962e5 Fix typo in ubuntu-cpc preventing non-intel builds 2017-05-25 20:35:19 -05:00
Robert C Jennings
f433184416 Added additional CPC build targets
- added manifest generation for squashfs and root.tar.gz
    - added VMDK generation
    - added OVA generation from VMDK's
2017-05-25 20:35:17 -05:00
Robert C Jennings
38c87ca9af Move building of all architecture-specific CPC artifacts into Launchpad (LP: #1513754) 2017-05-25 20:35:16 -05:00
Robert C Jennings
8a36dbc115 Add the ubuntu-cpc project base (LP: #1693018) 2017-05-25 20:35:15 -05:00
Steve Langasek
09b81abf36 Merge lp:~rbalint/livecd-rootfs/livecd-rootfs-autopkgtest-fix-for-trusty 2017-05-12 11:41:39 -07:00
Balint Reczey
85b7e46d59 Update changelog 2017-05-12 10:54:21 +02:00
Steve Langasek
b94b8db726 Mark autopkgtests isolation-machine since debootstrap won't work in a
container.
2017-05-12 10:10:31 +02:00
Balint Reczey
1ceefdadae Add basic autopkgtest 2017-05-12 10:10:28 +02:00
Adam Conrad
4d871ff2d9 live-build/auto/config: Switch HWE from wily to xenial (LP: #1568918) 2.208.13 2016-07-25 14:31:30 -06:00
Steve Langasek
4970f16940 Rename old ubuntu-core tarballs to ubuntu-base, for consistency with
the changes already made to yakkety and the ubuntu-cdimage project.
LP: #1579950.
2.208.12
2016-05-09 17:04:55 -07:00
Adam Conrad
6376e6128a Only install thermald on amd64|i386 on lubuntu, fixing PPC build. 2.208.11 2016-01-16 01:25:54 -07:00
Adam Conrad
1e66c5afaa live-build/auto/config: Switch HWE from lts-vivid to lts-wily. 2.208.10 2016-01-15 19:19:58 -07:00
Adam Conrad
9f2446f0cd Switch from lts-vivid to lts-wily HWE kernels (LP: #1524366) 2.208.9 2016-01-15 19:17:40 -07:00
Adam Conrad
b47a6a73c2 * Add xserver-xorg-core-lts-vivid to X HWE hints for the resolver.
* Add libwayland-egl1-mesa-lts-vivid to X HWE hints (LP: #1479524)
* Add kde-window-manager to kubuntu hints to fix a resolver issue.
* Add thermald to lubuntu hints to work around lack of recommends.
2.208.8
2015-07-30 07:05:38 -06:00
Adam Conrad
06fd13d6a2 * live-build/auto/config: Switch HWE from lts-utopic to lts-vivid.
* Remove obsolete libegl1-mesa-drivers-lts-* from HWE_X_PACKAGES.
2.208.7
2015-06-22 18:32:04 -06:00
Adam Conrad
91df73cd18 Add audacious-plugins to LUBUNTU_HWE_HINTS to unsnag the PPC build. 2.208.6 2015-02-18 12:54:24 -07:00
Adam Conrad
0c09cb18b9 Release 2.208.5 2.208.5 2015-02-17 16:23:58 -07:00
Adam Conrad
35d37567e1 Remove xscreensaver-data and xscreensaver with XUBUNTU_HWE_HINTS. 2015-02-17 14:53:49 -07:00
Adam Conrad
912a490c96 * Rename XUBUNTU_HWE_HINTS to XFCE_HWE_HINTS, so it's more reusable
and have MYTHBUNTU, XUBUNTU, and UBUNTUSTUDIO all make use of it.
* Explicitly seed the correct notify option for every last flavour.
2015-02-17 14:14:44 -07:00
Adam Conrad
e100f3a610 Explicitly install the xserver-xorg-input-all-lts-utopic package 2015-02-17 13:58:35 -07:00
Adam Conrad
ca3279cc45 Release 2.208.4 2.208.4 2015-02-17 12:09:46 -07:00
Adam Conrad
763dda686f Add gnome-terminal to UNITY_HWE_HINTS for universe flavours that get xvt by accident 2015-02-17 07:43:26 -07:00
Adam Conrad
31fea13a91 Also reuse XUBUNTU_HWE_HINTS for UBUNTUSTUDIO_HWE_HINTS with tweaks 2015-02-17 07:27:36 -07:00
Adam Conrad
b283e3f938 Reuse XUBUNTU_HWE_HINTS for MYTHBUNTU_HWE_HINTS and add some tweaks 2015-02-17 07:00:39 -07:00
Adam Conrad
540536a920 * Add UBUNTUGNOME_HWE_HINTS and populate it skip using unity packages
* Add LUBUNTU_HWE_HINTS and populate to work around task->meta change
2015-02-17 06:32:53 -07:00
Adam Conrad
efe0af3b68 Revert lubuntu to using tasks for minimal and standard, since their
unique snowflake apt --no-install-recommends setup breaks switching
2015-02-14 01:43:58 -07:00
Adam Conrad
1b70734c2f Add XUBUNTU_HWE_HINTS and populate to work around task->meta change 2015-02-14 01:06:32 -07:00
Adam Conrad
97273b7c56 One more hint to get webkit and zenity off the kubuntu image 2015-02-14 00:30:39 -07:00
Adam Conrad
d5e4b69cdb * Use the correct metapackage for edubuntu-desktop, and add HWE_HINTS
* Add KUBUNTU_HWE_HINTS and populate to work around task->meta change
2015-02-14 00:08:24 -07:00
Adam Conrad
93012bbfc6 Hint pinentry-qt4 for kubuntu-desktop to avoid GNOME deps. 2015-02-04 04:44:36 -07:00
Adam Conrad
6faa717bf7 Use the correct metapackage for edubuntu-desktop 2015-02-04 04:43:37 -07:00
Adam Conrad
7b9f251999 Pull xserver-xorg-video-geode-lts-utopic out of the i386 images. 2.208.3 2015-02-03 07:04:58 -07:00
Adam Conrad
0fbb4d5a11 Release 2.208.2 2.208.2 2015-02-03 01:45:49 -07:00
Adam Conrad
6770013ca3 Add unity to the UNITY_HWE hints 2015-02-03 00:13:38 -07:00
Adam Conrad
3670bc958b Define UNITY_HWE_HINTS to hint correct alternative package selections. 2015-02-02 08:26:50 -07:00
Adam Conrad
638fa1b0b9 Yet another lts-foo FLAVOUR cut 2015-02-02 06:21:03 -07:00
Adam Conrad
90df19ceae Before trying to copy kernels around, cut -lts* off the end of FLAVOUR,
since the actual files on disk are -generic, not -generic-lts-utopic.
2015-02-02 05:40:00 -07:00
Adam Conrad
3528438c85 * Abstract the signed kernel image, so it's only defined in one spot.
* Define HWE_X_PACKAGES required to install lts-utopic and use it.
2015-02-02 02:43:19 -07:00