677 Commits

Author SHA1 Message Date
Balint Reczey
2569995de8 Work around kpartx's nonzero exit due to "Device or resource busy" errors
which still permit kpartx to finally remove loop device (LP: #1684090).
Also sync before calling kpartx to let writing to loop devices finish.
2017-05-12 21:20:22 +02:00
Balint Reczey
95c239f301 Use all config hooks from the proper place, not from /build/ 2017-05-12 21:20:22 +02:00
Balint Reczey
e25936cc61 Source ubuntu-cpc functions from the right place 2017-05-12 21:20:22 +02:00
Robert C Jennings
2048477b0d live-build/ubuntu-cpc/hooks/999-extras.binary: Exit on first failure.
(LP: #1687752)
2017-05-12 11:47:09 -07:00
Mathieu Trudel-Lapierre
5081c333bb Add apt-get update to ubuntu-cpc ppc64el builds so they use the new
sources.
2017-04-07 16:12:48 -04:00
Adam Conrad
2c9f9dd323 Fix security mirror sources.list entries for non-x86 architectures.
(LP: #1679252)
2017-04-04 09:28:52 -06:00
Mathieu Trudel-Lapierre
d50b3ba529 ubuntu-cpc: Remove redundant copy of grub files. (LP: #1637290) 2017-03-23 14:40:47 -04:00
Steve Langasek
e6793cfa3a Merge lp:~rcj/livecd-rootfs/xenial-proposed/ 2017-03-21 08:40:59 -07:00
Daniel Watkins
28e14a0b77 * 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.
2017-03-21 08:36:01 -07:00
Daniel Watkins
ececc9789d Add replace_grub_root_with_label function
When update-grub is run, it will detect the disks in the build system.
Currently, we sed the grub configuration in places where this happens;
replace_grub_root_with_label moves that seddery in to a single callable
location to avoid ending up with multiple versions of it.

(It's worth noting that we also do this in 999-cpc-fixes.chroot, but as our
functions file isn't available within the chroot we don't use it there.)
2017-03-17 13:35:37 -05:00
Christopher Glass
92a10c0df0 Fix the OVF's metadata to include Ubuntu specific identifiers and
descriptions instead of the generic Linux ones.  (LP: #1656293)
2017-03-17 13:34:22 -05:00
Christopher Glass
4bc9def5d6 This branch fixes the manifest generation in OVA files (LP:1627931)
The .ova file extension was passed twice, resulting in file not found errors in
both the general case and the vagrant-specific file creation.
2017-03-17 13:32:55 -05:00
Adam Conrad
188d485441 Set device_tree_address for the new kernel in the RPi bootloader config.txt 2017-02-16 10:32:15 -07:00
Adam Conrad
f2f8665598 * Forward-port hardware enablement delta from trusty to xenial, with changes:
- Implement hwe stack swapping as task filters instead of install hints
  - Revert ubuntu-desktop and ubuntu-gnome to use tasks again for the above
2017-02-16 10:18:54 -07:00
Łukasz 'sil2100' Zemczak
66aaa4ab40 Remove the systemd-sysv- line from ubuntu-touch config routines. 2016-10-06 14:41:45 +02:00
Łukasz 'sil2100' Zemczak
f10c47f913 Add additional hints to ubuntu-touch* i386/amd64 image builds to pull in the gles version of the UITK. 2016-10-03 14:14:22 +02:00
Łukasz 'sil2100' Zemczak
a4f597c84b Fix small but terrible typo in the ubuntu-touch-custom handling that was breaking touch builds. Please note: I corrected the 2.408.5 version in the upload queue so this is also part of that release. 2016-09-29 10:18:40 +02:00
Łukasz 'sil2100' Zemczak
8f735f316b Sync with what's currently released to xenial-proposed: remove ubuntu-pd, add ubuntu-touch-custom, remove the kernel.yaml addition for snappy as it's not meant to be in xenial and no longer needed. 2016-09-27 17:41:54 +02:00
Steve Langasek
5efb2007af add meta/kernel.yaml to the kernel snaps 2016-09-14 19:02:41 +00:00
Steve Langasek
8bcc5ca1c2 Add the new dhcpd user introduced by latest archive changes. 2016-09-14 19:02:28 +00:00
Steve Langasek
455d0a6af4 Temporarily change the 60-install-click.chroot script to pull in clicks for
arm64 builds from a different location for ubuntu-touch.
2016-09-14 19:00:14 +00:00
Steve Langasek
4079a1acce 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.
2016-09-09 17:04:54 -07:00
Brian Murray
d51fef0426 * 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
2016-09-09 17:00:35 -07:00
Adam Conrad
b0e649a83c Switch ubuntu-gnome from using tasks to metapackages (LP: #1602035) 2016-07-21 02:31:01 -06:00
Steve Langasek
caedaee057 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:07:33 -07:00
Oliver Grawert
6bd3aaffc1 drop linux-firmware-raspi2 from snappy 2016-04-21 15:01:42 +02:00
Oliver Grawert
0b1c0642f7 add multiverse to sources.list for snappy kernel builds 2016-04-21 11:16:15 +02:00
Iain Lane
e5142015a3 Fix syntax error. 2016-04-20 21:14:59 +01:00
Oliver Grawert
8d145b4d43 move the snappy kernel builds to the correct linux-image-$arch and linux-firmware-$arch metapackages 2016-04-20 19:35:55 +02:00
Adam Conrad
4eae5fbf1d Follow linux-firmware-raspi2 renaming in the archive for raspi2 images. 2016-04-20 10:50:51 -06:00
Łukasz 'sil2100' Zemczak
d136431dd5 Follow up on recent changes from the new network-manager packages and add the nm-openvpn user to touch. This should essentially fix the image build failures. 2016-04-18 12:33:38 +02:00
Łukasz 'sil2100' Zemczak
8fa28215c8 Update the passwd, shadow, group and gshadow bootstrap hashes for touch. 2016-04-15 13:54:30 +02:00
Daniel Watkins
2c27aab38c Re-enable systemd predictable interface naming in cloud images 2016-04-14 11:06:33 -07:00
Daniel Watkins
6340e292d6 Don't configure the eth0 interface by default
In xenial, eth0 won't exist (as we've moved to systemd's predictable interface
naming), and even were it to exist, cloud-init would handle configuring it on
boot.
2016-04-14 11:03:18 -07:00
Adam Conrad
57c110d861 Transition from ubuntu-snappy to ubuntu-core-snapd-units and snapd. 2016-04-13 22:59:33 -06:00
Adam Conrad
dbcbcfaf7c live-build/ubuntu-cpc/hooks/032-disk-image.binary: Install s390-tools
and sysconfig-hardware before we attempt to configure zipl.
2016-04-13 05:40:22 -06:00
Oliver Grawert
814311e826 snappy: make ppc64el and s390x os tarball builds work 2016-04-12 19:24:25 +02:00
Oliver Grawert
62b25a47f2 kill the snappy os build if the initramfs-tools-ubuntu-core package is not found 2016-04-10 17:27:32 +02:00
Oliver Grawert
e7723219a3 switch snappy package builds from "snappy build" to "snapcraft snap" (LP: #1557515) 2016-04-08 16:52:42 +02:00
Oliver Grawert
4d25373897 live-build/ubuntu-core/hooks/25-create-generic-initrd.chroot create a generic initrd inside the snappy os-snap 2016-04-07 18:57:07 +02:00
Adam Conrad
ec84072284 Merge powerpc fixes from Daniel Watkins 2016-04-07 07:42:08 -06:00
Daniel Watkins
2909aba4b5 Enable building of powerpc cloud images. 2016-04-07 14:34:12 +01:00
Adam Conrad
5ac47abce7 Remove obsolete pvr-omap4 special-casing to simplify configs. 2016-04-03 02:41:30 -06:00
Oliver Grawert
24d78ecf5f fix cloud-init breaking snappy networking on boot (LP: #1563296) 2016-04-01 16:34:02 +02:00
Xavi Garcia Mena
0fbe88364f Changing upower configuration to use percentages and poweroff the device when the critical battery level has been reached 2016-03-30 15:09:04 +02:00
Oliver Grawert
16f26af920 make the /etc/mtab link relative in snappy (LP: #1547033) 2016-03-24 13:28:08 +01:00
Oliver Grawert
66c472388c move mtab link to point to /proc/self/mounts instead of /proc/mounts in snappy images 2016-03-22 13:19:21 +01:00
Oliver Grawert
60c9b694c4 adjust snap versions to only have one dash and use plus chars instead 2016-03-21 17:41:14 +01:00
Oliver Grawert
c5905d18b6 add link for wlan mac address in dragonboard kernel snaps, move dragonboard kernel snap to linux-snapdragon 2016-03-17 19:48:29 +01:00
Colin Watson
af517f422a Follow rename of ubuntustudio-font-meta to ubuntustudio-fonts. 2016-03-16 10:45:26 +00:00