1305 Commits

Author SHA1 Message Date
Christopher Glass
467b8c9c06 Reset the default SSH user to being vagrant.
Using "vagrant ssh" is confusing otherwise.
2017-08-25 12:59:53 +02:00
Christopher Glass
1cc6041cd6 Remove root login. Ubuntu user keeps generated password. 2017-08-25 12:05:29 +02:00
Christopher Glass
b9363e97fb Explicitely permit passworded root login over SSH. 2017-08-25 08:37:18 +02:00
Christopher Glass
c0730ef6f6 Fix typo in variable name. 2017-08-24 21:19:30 +02:00
Christopher Glass
cc8a6e2709 Turns out the user adding should be done when the chroot is available... 2017-08-24 19:17:17 +02:00
Mathieu Trudel-Lapierre
563abee702 Drop special handling of grub modules, adding a note. Modules should be included in the signed grub binaries when necessary. 2017-08-23 20:23:32 -04:00
Mathieu Trudel-Lapierre
869bb9808a Clean up GRUB_MODULES_PRELOAD / grub_modules. Remove the modules already loaded in stock signed grub EFI binaries. 2017-08-23 19:25:12 -04:00
Christopher Glass
5442860c14 Added a "vagrant" user to the vagrant image build, as per the vagrant community's
expectations.
2017-08-21 11:09:18 +02:00
Dimitri John Ledkov
bec201601d Set a default locale of C.UTF-8 in the cloud images. 2017-08-18 09:12:22 +01:00
Steve Langasek
8aadf2c73d Set a default locale of C.UTF-8 in the cloud images. 2017-08-16 16:32:27 -07:00
Dimitri John Ledkov
4f0e9c286c Drop add_serial_console for upstart. 2017-08-11 14:51:51 -04:00
Balint Reczey
3b37842219 Use VMDKstream in a more future-proof way 2017-07-24 20:46:51 +02:00
Robert C Jennings
f05a8a238f live-build/functions: Update path for VMDKstream.py
LP: #1706116
2017-07-24 19:20:21 +02:00
Balint Reczey
cfda7d20bd Use xz -T4 -0 instead of pxz
Test showed very little difference in file-size between -0 and -9 while
both compression and decompression need much less memory and compression
needs less CPU time for -0.

Supported xz versions before 5.2 also accept the -T4 option but ignore it.

Also depend on xz-utils instead of on pxz.

LP: #1701132
2017-06-30 12:22:29 +02:00
Mathieu Trudel-Lapierre
726e6192e0 auto/config: enable Debug::pkgDepCache::AutoInstall so tracking down
dependency bugs in the livefs is a little clearer.
2017-06-23 14:23:53 -04:00
Steve Langasek
926b22a834 Merge lp:~rbalint/livecd-rootfs/deps 2017-06-15 23:46:40 -07:00
Steve Langasek
23d9db863e Add cm3 as a known ubuntu-core image type. LP: #1698223. 2017-06-15 23:36:42 -07:00
Balint Reczey
6c9cf10d72 Depend on pxz and vmdk-stream-converter instead of installing them at runtime 2017-06-14 18:25:15 +02:00
Balint Reczey
aa54a130c3 Depend on packages in main instead of installing them at runtime 2017-06-14 18:25:11 +02:00
Didier Roche
1260f67b8a Build ubuntu back with tasks. The metapackage switch was due to g++ transition
and needed some additional hint. This is adding maintenance and as mentioned
in 2.335, we can revert this.
2017-06-02 15:07:11 +02:00
Simon Quigley
0d82c84cdf Update the file based on gilir's feedback 2017-05-16 20:09:26 -05:00
Simon Quigley
538c89f984 Set correct tasks for Lubuntu 2017-05-12 23:20:58 -05:00
Mathieu Trudel-Lapierre
8de300621f For ubuntu-server images, the live user created by user-setup is 'ubuntu-server', not 'ubuntu'. Fix this so that gettys will start on VTs. 2017-05-03 09:09:26 -04:00
Steve Langasek
f75be1c606 Resurrect Balint's fix from
lp:~rbalint/livecd-rootfs/livecd-rootfs-autopkgtest-fix to wrap kpartx
and trap spurious errors, since the problem is still being seen
intermittently on i386 despite us calling sync before kpartx.
2017-04-28 20:44:09 -07:00
Steve Langasek
dbba32fae6 For now, make sure all automated image builds are on the edge channel.
Eventually we will want to pass the channel as build metadata instead.
2017-04-28 18:02:16 -07:00
Steve Langasek
4f2c623e27 Use xz to compress ubuntu-image .img files before transfer, so that we
have smaller downloads and retain file sparseness everywhere.
2017-04-28 17:50:02 -07:00
Mathieu Trudel-Lapierre
d463581569 Merge in lp:~ubuntu-core-dev/livecd-rootfs/zesty-proposed for the changes that landed in zesty but previously missing in livecd-rootfs trunk. 2017-04-28 17:48:46 -04:00
Mathieu Trudel-Lapierre
2e21d6d6b1 The ubuntu-server:live should use a casper-based initramfs to work
correctly. (LP: #1682460)
2017-04-28 17:43:58 -04:00
Mathieu Trudel-Lapierre
03c991faef Setup kernel properly for ubuntu-server:live; we *do* want to build
kernel-generic and initrd-generic for this image. (LP: #1682460)
2017-04-28 17:43:04 -04:00
Balint Reczey
0109d5304e Optionally use ubuntu-image for building snap based images 2017-04-28 22:30:18 +02:00
Balint Reczey
f807c3703a Allow overriding IMAGEFORMAT even for ubuntu-cpc and ubuntu-server 2017-04-28 22:27:50 +02:00
Balint Reczey
44f9dceeb4 Require PROJECT environment to be set for lb build 2017-04-28 22:27:50 +02:00
Steve Langasek
ca79c05a23 Merge lp:~rbalint/livecd-rootfs/livecd-rootfs-autopkgtest-fix, w/ modifications
Only call sync, don't wrap kpartx and parse its output (doesn't appear to be
needed)
2017-04-25 11:46:26 -07:00
Balint Reczey
21efeb6795 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-04-21 18:40:19 +02:00
Steve Langasek
e89c54b271 Merge lp:~rcj/livecd-rootfs/trunk/ 2017-04-13 10:54:14 -07:00
Robert C Jennings
01b476c0eb live-build/ubuntu-cpc/hooks/999-extras.binary: Exit on first failure
Failure should be quick to eliminate excessive buildd time and make
identification of failure easier (no more buried errors).
2017-04-11 22:27:58 -05:00
Robert C Jennings
166b5eb4b3 ubuntu-cpc/060-ipv6.chroot: remove release comparison (LP: #1681548) 2017-04-11 22:27:08 -05:00
Mathieu Trudel-Lapierre
22ec1d6f6f Sanitize comments. 2017-04-11 23:16:48 -04:00
Mathieu Trudel-Lapierre
94275558de Make sure variables are exported for run-parts in 999-extras.binary; and drop the unnecessary sourcing of functions. 2017-04-11 22:38:18 -04:00
Mathieu Trudel-Lapierre
6272f60665 Merge fixes from rcj. 2017-04-11 22:14:40 -04:00
Robert C Jennings
f8264a59c6 Change remaining CLOUD_IMG_STR references to IMAGE_STR 2017-04-11 21:10:56 -05:00
Mathieu Trudel-Lapierre
4e01beda8c Set IMAGE_STR and FS_LABEL for ubuntu-cpc 999-extras.binary hook too; but also export CLOUD_IMG_STR. 2017-04-11 22:03:04 -04:00
Mathieu Trudel-Lapierre
4613a2c82e Don't outright remove fstab for ubuntu-server:live, that breaks grub-legacy-ec2. 2017-04-11 21:44:25 -04:00
Mathieu Trudel-Lapierre
9ed476572f Resynchronize with parent branch. 2017-04-11 17:30:48 -04:00
Mathieu Trudel-Lapierre
46bae4cebf Fix up functions refactoring tfor a proper path to the file. 2017-04-11 17:16:35 -04:00
Mathieu Trudel-Lapierre
ab949fac18 Rename ubuntu-server-live -> ubuntu-server 2017-04-07 17:15:54 -04:00
Mathieu Trudel-Lapierre
46fd6c58f5 Refactor functions out of ubuntu-cpc and ubuntu-server hooks. 2017-04-07 17:14:56 -04:00
Mathieu Trudel-Lapierre
292c5f300c De-duplicate functions in ubuntu-server-live; use the file from ubuntu-cpc. 2017-04-06 16:47:28 -04:00
Mathieu Trudel-Lapierre
715f13b887 Don't spam with unnecessary login messages; skip login altogether. 2017-04-06 15:39:44 -04:00
Mathieu Trudel-Lapierre
2cfa4a9088 Override gettys to wait for the user the press enter, and autologin to the ubuntu user. 2017-04-06 15:11:05 -04:00