1688 Commits

Author SHA1 Message Date
Balint Reczey
20d7483fe0 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-11 16:17:13 +02:00
Steve Langasek
af894a7f89 Mark autopkgtests isolation-machine since debootstrap won't work in a
container.
2017-05-11 16:16:28 +02:00
Balint Reczey
d8adccd284 Add basic autopkgtest 2017-05-11 16:14:32 +02:00
Balint Reczey
da2d7fd268 Use all config hooks from the proper place, not from /build/ 2017-05-11 16:14:32 +02:00
Balint Reczey
6fe8773c74 Source ubuntu-cpc functions from the right place 2017-05-11 16:14:24 +02:00
Steve Langasek
cc04805c04 Merge lp:~rcj/livecd-rootfs/yakkety-proposed/ 2.435.2 2017-03-21 08:08:07 -07:00
Robert C Jennings
4d2e4846d3 Fix OVA generation and add grub label helper for ubuntu-cpc
[ 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.
2017-03-17 13:47:25 -05:00
Daniel Watkins
dbab0a7464 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:46:27 -05:00
Christopher Glass
fa985b74ef Fix the OVF's metadata to include Ubuntu specific identifiers and
descriptions instead of the generic Linux ones.  (LP: #1656293)
2017-03-17 13:45:42 -05:00
Christopher Glass
0f3066035d 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:44:41 -05:00
Mathieu Trudel-Lapierre
d271e408ca ubuntu-cpc: Remove redundant copy of grub files. (LP: #1637290) 2.435.1 2017-03-17 11:18:47 -07:00
Łukasz 'sil2100' Zemczak
f9a67065b6 releasing package livecd-rootfs version 2.435 2.435 2016-10-26 18:36:47 +02:00
Łukasz 'sil2100' Zemczak
d43c01c60b Update the ubuntu-touch hints to try installing ubuntu-system-settings instead of ubuntu-system-settings-online-accounts. 2016-10-26 18:36:24 +02:00
Łukasz 'sil2100' Zemczak
b8a465f5e2 releasing package livecd-rootfs version 2.434 2.434 2016-09-30 11:24:32 +02:00
Łukasz 'sil2100' Zemczak
bbc880716d Update the 00-uid-gid-fix.chroot_early hook for touch to include the new known good bootstrap hash values. 2016-09-30 11:22:21 +02:00
Adam Conrad
1d71b6d5ab Use the virtual kernel for the arm64 cpc images instead of generic. 2.433 2016-09-22 21:55:08 -06:00
Adam Conrad
95d4c0b767 Use the virtual kernel for the powerpc64 cpc images (LP: #1625368) 2.432 2016-09-19 16:58:00 -06:00
Steve Langasek
5c521c961a releasing package livecd-rootfs version 2.431 2.431 2016-09-14 14:27:43 -05:00
Steve Langasek
d747399c64 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 14:24:38 -05:00
Steve Langasek
30699459e2 releasing package livecd-rootfs version 2.430 2.430 2016-09-09 15:59:52 -07:00
Steve Langasek
8855f05191 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 15:56:47 -07:00
Michael Vogt
d4dd5b3a8a * live-build/ubuntu-core/hooks/01-setup_user.chroot:
- do not create "ubuntu" user for ubuntu-core anymore, the
* live-build/ubuntu-core/hooks/02-add_user_to_groups.chroot
  - dropped
2016-09-02 20:42:01 +02:00
Michael Vogt
5f9521d65f do not create "ubuntu" user for ubuntu-core anymore, the
console-conf package will create this user now
2016-09-02 17:04:23 +02:00
Martin Pitt
b62de15a85 releasing package livecd-rootfs version 2.429 2.429 2016-08-20 06:56:41 +02:00
Martin Pitt
e40e563cb8 live-build/auto/build: Fix typo in netplan policy snippet.
*brown paperbag* (LP: #1615180)
2016-08-20 06:56:33 +02:00
Martin Pitt
4da18fdd74 releasing package livecd-rootfs version 2.428 2.428 2016-08-19 16:28:26 +02:00
Martin Pitt
3c3737327f live-build/auto/build: Move NetworkManager configuration to the right
place.
2016-08-19 16:28:21 +02:00
Martin Pitt
b8da0e0568 releasing package livecd-rootfs version 2.427 2.427 2016-08-18 08:39:41 +02:00
Martin Pitt
d9ce44d73a live-build/auto/build: If the image pre-installs network-manager, let it
manage all devices by default by shipping a default netplan policy.
Installing NM on an existing system only manages wifi and wwan, to avoid
interfering with networkd managed devices on existing server/cloud
instances.
2016-08-18 08:39:32 +02:00
Sebastien Bacher
6334d63002 releasing package livecd-rootfs version 2.426 2.426 2016-08-17 15:23:31 +02:00
Sebastien Bacher
1060aac86d * live-build/ubuntu-core/hooks/400-create-apt-get-warning.binary
- use echo to display the error, thanks ogra for pointing that out,
    update the string also to use the new snappy command naming
2016-08-17 15:22:22 +02:00
Sebastien Bacher
f90725fb8f releasing package livecd-rootfs version 2.425 2.425 2016-08-17 12:11:27 +02:00
Sebastien Bacher
8ec2912420 Create a desktop entry and some mimetype associations for xdg-open in
ubuntu-core. That way interacting with web, email and documentations 
urls in a snap should do the right thing.
2016-08-17 12:11:13 +02:00
Sebastien Bacher
f78de9a3c7 * live-build/ubuntu-core/hooks/400-create-apt-get-warning.binary,
500-create-xdg-wrapper.binary, 700-classic-dir.binary:
  - Correct some syntax errors in the ubuntu-core snap hooks.
2016-08-17 12:10:16 +02:00
Michael Hudson-Doyle
05a3f1844c releasing package livecd-rootfs version 2.424 2.424 2016-08-16 10:28:58 +12:00
Steve Langasek
096f842da6 Merge lp:~mwhudson/livecd-rootfs/uc-add-netplan/ 2016-08-15 15:27:37 -07:00
Michael Hudson-Doyle
15b69c4ddf Install nplan in the ubuntu-core image. 2016-08-16 10:17:52 +12:00
Steve Langasek
56f18e5a91 releasing package livecd-rootfs version 2.423 2.423 2016-08-12 13:02:08 -07:00
Steve Langasek
b268d90538 Merge lp:~tsimonq2/livecd-rootfs/lubuntu-next-image 2016-08-12 13:01:58 -07:00
Michael Terry
0a141763ce * live-build/ubuntu-touch/includes.chroot/etc/lightdm/
lightdm.conf.d/90-phablet.conf:
  - Don't have Touch greeters show a guest session. Touch isn't ready
    for non-phablet users yet nor a multi-user greeter.
2.422
2016-08-10 11:11:26 -04:00
Sebastien Bacher
5c11231392 Create a desktop entry and some mimetype associations for xdg-open in
ubuntu-core. That way interacting with web, email and documentations urls
in a snap should do the right thing.
2016-08-03 17:00:58 +02:00
Sebastien Bacher
da28a130be update hook comment to match the content 2016-08-03 10:17:59 +02:00
Sebastien Bacher
377b075dcc escape $1 variable in the xdg script where needed 2016-08-03 10:17:24 +02:00
Sebastien Bacher
2dd9d8a055 Correct some syntax errors in the ubuntu-core snap hooks 2016-08-03 10:16:25 +02:00
Simon Quigley
4040816ca7 Add Lubuntu Next image 2016-07-26 12:15:20 -05:00
Steve Langasek
1c6e6fe046 releasing package livecd-rootfs version 2.421 2.421 2016-07-21 09:15:00 -07:00
Steve Langasek
9efc4f0f70 Merge lp:~semiosis/livecd-rootfs/fix-for-1565985 2016-07-21 09:14:49 -07:00
Louis Zuckerman
802e65f885 remove unnecessary virtualbox-guest-dkms package from vagrant image builder 2016-07-21 13:24:53 +00:00
Oliver Grawert
a6c315a79b releasing package livecd-rootfs version 2.420 2.420 2016-07-21 10:11:04 +02:00
Oliver Grawert
418501bc65 slightly adjust the version handling for the core snap, drop suffix from kernel snap version string 2016-07-21 10:09:39 +02:00