1037 Commits

Author SHA1 Message Date
Michael Hudson-Doyle
fdbc3cc77e releasing package livecd-rootfs version 2.208.18 2.208.18 2019-12-06 14:03:30 +13:00
Michael Hudson-Doyle
6d35da08a4 add bug to changelog 2019-12-06 13:08:42 +13:00
Michael Hudson-Doyle
bc0edf358d Preserve ubuntu-advantage-tools' apt preferences against live-build's attempt to delete them. 2019-12-06 11:38:47 +13:00
Steve Langasek
3a3e0defbd releasing package livecd-rootfs version 2.208.17 2.208.17 2019-04-08 11:17:37 -07:00
Steve Langasek
d2b34d4930 Also don't create the update-motd directory since we're not writing to it.
It will almost certainly be created at some point but we don't need to
create it here.
2019-04-08 11:17:37 -07:00
Steve Langasek
7583c4f0b9 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. 2019-04-08 11:17:35 -07:00
Łukasz 'sil2100' Zemczak
b1c7871ba0 releasing package livecd-rootfs version 2.208.16 2019-03-04 15:38:46 +01:00
Łukasz 'sil2100' Zemczak
67080c730a Enable universe for omap and omap4. 2019-03-04 15:38:13 +01:00
Balint Reczey
497cc73baa debian/control: Update Vcs-*: URLs 2018-12-12 16:25:54 +01:00
Michael Hudson-Doyle
b2baa6770f releasing package livecd-rootfs version 2.208.15 2.208.15 2017-10-31 10:33:19 +13:00
Michael Hudson-Doyle
e16e65e98e Merge lp:~mwhudson/livecd-rootfs/bug-1711735
Fix security mirror sources.list entries for non-x86 architectures by
backporting trunk revision 1408. (LP: #1711735)
2017-10-31 10:32:33 +13:00
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 2.208.14 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
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