293 Commits

Author SHA1 Message Date
Steve Langasek
12b07ae5af move snap assertion handling into the generic build script (and, in
the process, from the subiquity overlay to the base squashfs).
2017-10-03 15:50:06 -07:00
Steve Langasek
4561f17d35 Merge lp:~rbalint/livecd-rootfs/minimized 2017-09-29 16:41:58 -04:00
Balint Reczey
f0cb85a506 When SUBPROJECT environment variable is not set assume it to be "" 2017-09-29 15:20:14 -04:00
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
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
Balint Reczey
6c9cf10d72 Depend on pxz and vmdk-stream-converter instead of installing them at runtime 2017-06-14 18:25:15 +02: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
Balint Reczey
0109d5304e Optionally use ubuntu-image for building snap based images 2017-04-28 22:30:18 +02:00
Balint Reczey
44f9dceeb4 Require PROJECT environment to be set for lb build 2017-04-28 22:27:50 +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
3c3737327f live-build/auto/build: Move NetworkManager configuration to the right
place.
2016-08-19 16:28:21 +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
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
Oliver Grawert
f6058dfdb4 sanitize the version number of the ubuntu-core snap 2016-07-19 14:00:49 +02:00
Łukasz 'sil2100' Zemczak
9608064276 ubuntu-pd is dead, long live ubuntu-touch-custom - introduce a new project ubuntu-touch-custom that is exactly the same as ubuntu-touch but uses a separate cdimage project (separate builder space). 2016-07-05 15:59:39 +02:00
Adam Conrad
da54fe4c3e Fix security mirror sources.list entries for non-x86 architectures. 2016-06-13 02:23:16 -06:00
Steve Langasek
6c5dc72d80 Merge lp:~daniel-thewatkins/livecd-rootfs/enable-backports 2016-06-08 12:54:08 -07:00
Michael Vogt
460d363b84 fix corename 2016-06-08 19:18:32 +02:00
Daniel Watkins
8940890039 Remove some trailing spaces 2016-06-08 10:48:50 +01:00
Daniel Watkins
79cf11a25a Use the correct (pre-xenial) universe sources.list comment 2016-06-08 10:48:16 +01:00
Daniel Watkins
407cd3b812 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).
2016-06-08 10:47:22 +01:00
Oliver Grawert
e9c7cee3de revert the renaming from ubuntu-core to core for the os snap until snapd is ready for this 2016-05-30 17:45:20 +02:00
Oliver Grawert
0ffbd3a7cc drop "execution" from os snap description 2016-05-27 15:40:31 +02:00
Oliver Grawert
2db1eb2155 rename the ubuntu-core snap to simply be "core" 2016-05-27 14:09:39 +02:00
Daniel Watkins
e690e4bdf7 [CPC] Don't overwrite the default sources.list
We've received a request not to do so (LP: #1513529) and cloud-init applies it
(or something similar to it) at boot anyway, so the list we're putting in place
isn't generally used.
2016-05-20 16:40:41 +01:00
Michael Vogt
d617d8f840 update kernel snap building to match the new kernel policy 2016-05-10 18:18:06 -07:00
Michael Vogt
15ed930293 add meta/kernel.yaml to the kernel snaps 2016-05-04 11:45:17 +02:00
Oliver Grawert
6bd3aaffc1 drop linux-firmware-raspi2 from snappy 2016-04-21 15:01:42 +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
Oliver Grawert
814311e826 snappy: make ppc64el and s390x os tarball builds work 2016-04-12 19:24:25 +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
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
Oliver Grawert
eba875e96c add support for dragonboard kernel snap 2016-03-15 15:39:33 +01:00
Michael Vogt
5439a48096 add dpkg.list to assets of the kernel snap 2016-03-09 23:17:18 +01:00
Oliver Grawert
9a9e8685f9 add snap building for kernel snaps 2016-03-09 15:59:17 +01:00
Oliver Grawert
768445efda adjust naming to something easier consumable for cdimage of os snap in snappy builds 2016-03-08 19:45:37 +01:00