900 Commits

Author SHA1 Message Date
Michael Hudson-Doyle
20bb43c3f3 Fix security mirror sources.list entries for non-x86 architectures by
backporting trunk revision 1408. (LP: #1711735)
2017-10-30 13:21:41 +13:00
Steve Langasek
c7bb8a60c5 Changelog fixup for missing SRU bug ref 2017-06-06 22:18:48 -07:00
Mathieu Trudel-Lapierre
6a0f5b1e41 releasing package livecd-rootfs version 2.208.14 2017-06-01 16:30:26 -04:00
Mathieu Trudel-Lapierre
3468b592b8 * Add ubuntu-cpc project (LP: #1693018)
* Move building of all architecture-specific CPC artifacts into Launchpad
    - Fixup virtual FLAVOUR kernel name
  * added additional CPC build targets:
    - added manifest generation for squashfs and root.tar.gz
    - added VMDK generation
    - added OVA generation from VMDK's
    - added generic Vagrant image generation
  * Fix typo in ubuntu-cpc preventing non-intel builds.
  * add devpts-live to hook builds
  * add logic to settle the disks after UEFI builds
  * 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
  * Produce OVA files for i386 cloud builds.
  * Remove unneeded packages from the root.tar.{gz,xz} cloud image targets
  * Install grub in ppc64el cloud images so they are bootable
  * 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.
  * Refactor/reorder ubuntu-cpc support for consistency with other flavors,
    so that subarch overrides can be applied correctly.
  * fixed loop setup due to change of kpartx output
  * only use grub-install logic for Intel architectures
  * Refactor some non-idiomatic architecture handling in
    live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot that also misidentifies
    the architecture name for armhf.
  * 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.
  * 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
  * 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.
  * live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot: Add fake_cloud_init
    function to create a nocloud data source for cloud images that aren't
    meant to be used on real clouds and use it by default on armhf+raspi2
  * live-build/ubuntu-cpc/hooks/042-vagrant.binary: add serial device for
    Vagrant images
  * 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).
  * live-build/ubuntu-cpc/hooks/042-vagrant.binary: scope serial device for
    Virtualbox only.
  * Enable building of powerpc cloud images.
  * Fixes for vagrant box builder in ubuntu-cpc
    - Install virtualbox-guest-utils
    - Don't disable default synced folder
    - Don't set vm name
    - Add cloud-init config to manage /etc/hosts
  * live-build/ubuntu-cpc/hooks/042-vagrant.binary: fix unmount handling
    so that the teardown is done properly /before/ we try to make an
    image from our filesystem, since otherwise /etc/resolv.conf is broken.
  * Don't overwrite the default sources.list in cloud images.
  * Replace sources.list generated using COMPONENTS with the sources.list from
    an Ubuntu Server installation (i.e. with all components enabled, and all
    deb-src lines commented).
  * Fix the manifest generation in OVA files so that ovf files don't have
    double extensions.
  * Fix the OVF's metadata to include Ubuntu specific identifiers and
    descriptions instead of the generic Linux ones.
  * Add replace_grub_root_with_label function thereby consolidating multiple
    uses of the same calls to sed.
  * ubuntu-cpc: Remove redundant copy of grub files.
  * Add `apt-get update` to ubuntu-cpc ppc64el builds so they use the new
    sources.
2017-06-01 16:30:07 -04:00
Robert C Jennings
1343885b3d Add changelog entry for mapping of virual flavor to generic kernel 2017-06-01 14:32:08 -05:00
Robert C Jennings
54fd57be7b Remove old bug references from backport 2017-06-01 14:22:08 -05:00
Robert C Jennings
4d4a0b11db Coalesce changelog for ubuntu-cpc commits (LP: #1693018) 2017-05-25 20:40:57 -05:00
Robert C Jennings
5fed3097d2 ubuntu-cpc: Add apt-get update to ppc64el build so it uses new sources 2017-05-25 20:35:31 -05:00
Robert C Jennings
f0b2591de5 ubuntu-cpc: apt sources.list fixes, OVA manifest fixes
[ Daniel Watkins ]
  * Don't overwrite the default sources.list in cloud images.
  * Replace sources.list generated using COMPONENTS with the sources.list from
    an Ubuntu Server installation (i.e. with all components enabled, and all
    deb-src lines commented).  LP: #1513529.
  [ Chris Glass ]
  * Fix the manifest generation in OVA files so that ovf files don't have
    double extensions.  (LP: #1627931)
  * Fix the OVF's metadata to include Ubuntu specific identifiers and
    descriptions instead of the generic Linux ones.  (LP: #1656293)
  [ Daniel Watkins ]
  * Add replace_grub_root_with_label function thereby consolidating multiple
    uses of the same calls to sed.
  [ Robert C Jennings ]
  * ubuntu-cpc: Remove redundant copy of grub files. (LP: #1637290)
2017-05-25 20:35:31 -05:00
Robert C Jennings
f83f97bc8b ubuntu-cpc: Fix unmount handling (LP: #1621393)
[Steve Langasek]
  * live-build/ubuntu-cpc/hooks/042-vagrant.binary: fix unmount handling
    so that the teardown is done properly /before/ we try to make an
    image from our filesystem, since otherwise /etc/resolv.conf is broken.
    LP: #1621393.
2017-05-25 20:35:30 -05:00
Robert C Jennings
d94c09e109 ubuntu-cpc: Fixes for vagrant box builder (LP: #1565985)
[ Louis Zuckerman ]
  * Fixes for vagrant box builder in ubuntu-cpc LP: #1565985
    - Install virtualbox-guest-utils
    - Don't disable default synced folder
    - Don't set vm name
    - Add cloud-init config to manage /etc/hosts LP: #1561250
2017-05-25 20:35:29 -05:00
Robert C Jennings
bfcc963d8b ubuntu-cpc: Enable building of powerpc cloud images. 2017-05-25 20:35:29 -05:00
Robert C Jennings
b0453f87e8 ubuntu-cpc: Vagrant config for serial device must be scoped for Virtualbox only
[ Ben Howard ]
  * live-build/ubuntu-cpc/hooks/042-vagrant.binary: scope serial device for
    Virtualbox only.
2017-05-25 20:35:28 -05:00
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
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) 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.
2016-05-09 17:04:55 -07:00
Adam Conrad
6376e6128a Only install thermald on amd64|i386 on lubuntu, fixing PPC build. 2016-01-16 01:25:54 -07:00
Adam Conrad
1e66c5afaa live-build/auto/config: Switch HWE from lts-vivid to lts-wily. 2016-01-15 19:19:58 -07:00
Adam Conrad
9f2446f0cd Switch from lts-vivid to lts-wily HWE kernels (LP: #1524366) 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.
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.
2015-06-22 18:32:04 -06:00
Adam Conrad
91df73cd18 Add audacious-plugins to LUBUNTU_HWE_HINTS to unsnag the PPC build. 2015-02-18 12:54:24 -07:00
Adam Conrad
0c09cb18b9 Release 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 2015-02-17 12:09:46 -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