698 Commits

Author SHA1 Message Date
Balint Reczey
2ef2aee456 Use SUBPROJECT=minimized name instead of SUBPROJECT=minimize for consistency 2017-09-29 15:20:14 -04:00
Balint Reczey
d496915741 Warn users that unminimize may fail reinstalling packages 2017-09-29 15:20:11 -04:00
Balint Reczey
69c1eb6d26 Mention unminimize script in motd 2017-09-29 15:16:25 -04:00
Balint Reczey
2858d7fb62 Print the documentation files which could not be restored by unminimize 2017-09-26 22:39:09 -04:00
Balint Reczey
e28933a1d5 Explain why unminimization script is a bit complicated 2017-09-26 22:39:09 -04:00
Balint Reczey
583d813b9b Verify only documentation that should have been restored after unminimization 2017-09-26 22:39:09 -04:00
Balint Reczey
3532fa0b18 Use "dpkg --verify-format rpm" explicitly to be safe when the default changes 2017-09-26 22:39:09 -04:00
Balint Reczey
11da0c59a5 Fix typo 2017-09-26 22:39:09 -04:00
Balint Reczey
d5483eb728 Install ubuntu-minimal while unminimizing the system 2017-09-26 22:39:09 -04:00
Balint Reczey
6672dde922 Add unminimize script for reverting minimization on running system 2017-09-26 22:39:09 -04:00
Balint Reczey
bb7e620701 Drop man pages and most of the documentation from minimized images
/usr/share/doc/*/copyright and changelog.Debian.gz files are still kept
2017-09-26 22:39:09 -04:00
Steve Langasek
83f165ec91 if we're using SUBPROJECT=minimize, and tzdata is not installed, remove
files that have been left behind.  This is a workaround for a bug that should
be fixed in tzdata.
2017-09-26 22:39:09 -04:00
Steve Langasek
95890f6713 We probably still want sudo, even in a minimal image. 2017-09-26 22:39:09 -04:00
Steve Langasek
e6bbe5f8a5 Export the subproject into config/chroot and config/binary, so that this
information is available to per-project hooks that need to be
subproject-aware (e.g., to skip steps when SUBPROJECT=minimize)
2017-09-26 22:39:09 -04:00
Steve Langasek
abbbeb8fda Begin adding support for a project-independent 'minimize' subproject,
which (ironically) omits ubuntu-minimal in favor of using only the
minbase package set.
2017-09-26 22:39:08 -04:00
Gary.Wzl
8a8d203743 * Add a test for SUBPROJECT when PROJECT comes to ubuntu-server.
* Use notations "0/1" instead of "false/true" as a value for GENERATE_ROOTFS_ONLY.
2017-09-20 18:15:16 +08:00
Gary.Wzl
228ed7c87b Remove 'IMAGETYPE' and 'IMAGEFORMAT' bits per the suggestions. 2017-09-18 09:38:20 +08:00
Gary.Wzl
eb76178ab5 Support to only generate rootfs via variable (GENERATE_ROOTFS_ONLY). 2017-08-28 15:14:54 +08:00
Gary.Wzl
84da578380 Add IMAGETYPE to support classic image creation by ubuntu-image. 2017-08-28 11:24:51 +08: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
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
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
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
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
e577ed7672 Rename to ubuntu-server-live; some build process fixes. 2017-04-06 14:04:29 -04:00
Mathieu Trudel-Lapierre
6978674cfe Add cloud-init for subiquity image. 2017-03-23 16:19:16 -04:00
Mathieu Trudel-Lapierre
86b64ef78e Move curtin to installer squash. 2017-03-21 18:22:58 -04:00
Mathieu Trudel-Lapierre
d5a6f5cbe3 Add 'ubuntu-server-next' subiquity image. 2017-03-20 20:57:45 -04:00
Adam Conrad
7b576e4c4d Set device_tree_address for the new kernel in the RPi bootloader config.txt 2017-02-16 10:30:45 -07:00
David Mohammed
1af12f76b7 correct indentation - should be tab not spaces 2016-12-22 19:12:48 +00:00
David Mohammed
c85df9e50f add changes for Ubuntu Budgie build config 2016-12-22 18:59:01 +00:00
Iain Lane
4a2d7ecf31 Merge lp:~laney/livecd-rootfs/lp1627190 - don't purge .pyc files any more 2016-11-04 11:01:13 +00: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
Iain Lane
d7eecc3805 live-build/auto/config: Don't remove .pyc files any more - we don't care
*that* much about the small space gain these days, and would prefer the
speed win. (LP: #1627190)
2016-10-26 16:58:36 +01:00
Adam Conrad
1d71b6d5ab Use the virtual kernel for the arm64 cpc images instead of generic. 2016-09-22 21:55:08 -06:00