Colin Watson
cb22177287
Add a buildd subproject.
7 years ago
Steve Langasek
e6089e9e32
Remove landscape-common from minimal image, and handle restoring it in
...
unminimize script. LP: #1763182 .
7 years ago
Michael Hudson-Doyle
65dd7df171
last minute pre-upload typo fix
7 years ago
Michael Hudson-Doyle
aacb8daaee
merge trunk
7 years ago
Steve Langasek
c46962ca2e
Refactor snap preseeding to allow additional snaps to be preseeded from
...
hooks
7 years ago
Robert C Jennings
73dba1f31a
snap preseeding: capture Ubuntu snap seeding policy in code
...
When no channel is given for a pre-seeded snap, the channel
should be stable/ubuntu-XX.YY to match Ubuntu policy.
This patch adds the LB_DISTRIBUTION var to config/{binary,chroot}
to have a common way of determining the Ubuntu XX.YY version
number between hooks and auto/build.
7 years ago
Robert C Jennings
57261c3edf
auto/build: Install snaps using common functions
7 years ago
Iain Lane
e68923777e
merge lp:~tsimonq2/livecd-rootfs/lubuntu-seed-mangling
7 years ago
Steve Langasek
4bb0414a5d
Make sure we call the build "minimal" within the cloud build info,
...
when building a minimized image.
7 years ago
Christopher Glass
51c663a892
Fixed whitespace/tabs.
7 years ago
Michael Hudson-Doyle
3cb1f38cf2
Set the default locale to C.UTF-8 in all server and cloud images.
...
(LP: #1751051 , #1759003 )
7 years ago
Simon Quigley
e4151ca741
Proper bash is rad, let's do it.
7 years ago
Simon Quigley
10ebe98d84
Special-case Lubuntu's seeds so that the minimal install works.
7 years ago
Christopher Glass
0b2239c069
Parametrize BUILD_NAME in /etc/cloud/build.info to make it "minimal-aware".
7 years ago
Dimitri John Ledkov
bfa43c1c5c
On amd64, if building minimal images for bionic, xenial, or extra ppa,
...
use kvm kernel, otherwise fallback to virtual.
7 years ago
Michael Hudson-Doyle
c787069c5c
do not set INITRAMFS_COMPRESSION for projects that end up passing --initramfs=none to lb config
7 years ago
Michael Hudson-Doyle
d46edbffdb
reduce duplication somewhat
7 years ago
Michael Hudson-Doyle
b7f3ec398b
Make lzma initramfs compression opt-in rather than opt-out, and do not
...
opt-in to it for live-server builds to speed up the boot. (LP: #1750873 )
7 years ago
Michael Hudson-Doyle
0d750f78bc
Set INITRAMFS_COMPRESSION to gzip for live-server builds to speed up the
...
boot. (LP: #1750873 )
7 years ago
Steve Langasek
90ef53cef1
Merge lp:~vorlon/livecd-rootfs/ubuntu-channels-for-snaps
7 years ago
Iain Lane
ba4b16626f
live-build-auto/{build,config}: Support fetching a file from the seed
...
mirror (BASE_SEED.minimal-remove) and putting it into the livefs build as
filesystem.manifest-minimal-remove. It's intended for ubiquity to read
this file as a list of packages to remove when doing a 'minimal' desktop
installation.
7 years ago
Michael Hudson-Doyle
57200eaa01
tyop
7 years ago
Michael Hudson-Doyle
4b66f89e56
move skip_lb_stage to config
7 years ago
Michael Hudson-Doyle
c85cae9bfe
respond to some review feedback
7 years ago
Michael Hudson-Doyle
d46e397b24
merge trunk
7 years ago
Steve Langasek
131f14d33c
Use Ubuntu-specific branches when seeding snaps, as required in
...
<https://wiki.ubuntu.com/UbuntuSeededSnaps >.
7 years ago
Michael Hudson-Doyle
15d9269e57
Install linux-signed-generic in the live-server image. (LP: #1749065 )
7 years ago
Mathieu Trudel-Lapierre
762536b5bf
live-build/auto/config: Take into account SUBPROJECT when setting seeded
...
snaps, and also make sure we can work with snaps seeded in project hooks.
7 years ago
Iain Lane
301fdd2e02
Don't write config/seeded-snaps if no snaps have been seeded.
7 years ago
Adam Conrad
2219f62998
* live-build/auto/config: Clean out unused hostname matches and fix indenting.
...
* live-build/auto/config: Reinstate hostname filtering for "*.buildd", which
is the correct match for non-lxd builders, and add "lp-*" for the lxd ones.
* live-build/auto/config: Fix incorrect quoting causing a skipped if statement
in non-live ubuntu-server builds since sometime in mid-October of last year.
7 years ago
Adam Conrad
925e470693
Fix incorrect shell variable quoting.
7 years ago
Steve Langasek
2c40db69bc
Update hostname matches for launchpad buildds to match current practice,
...
fixing build failures due to LP being unable to reach
people.canonical.com.
7 years ago
Iain Lane
72edc20589
Set ports/archive as appropriate for default mirror - should fix
...
autopkgtests.
7 years ago
Iain Lane
9e09b3172c
Set a default archive mirror - needed for germinate.
7 years ago
Iain Lane
42a6450584
Oops. I shouldn't reference my private stuff.
7 years ago
Iain Lane
284240feb5
releasing package livecd-rootfs version 2.491
7 years ago
Iain Lane
9bd0fd192f
Specify seeds for all flavours too
7 years ago
Iain Lane
9978fd7b39
Support seeding of snaps, as emitted by germinate >= 2.27.
7 years ago
Iain Lane
77de6a289f
snap: Add BASE_SEED for all desktop flavours
7 years ago
Iain Lane
26612d0b26
snap: move the seeding block down, so that it is common to all flavours
7 years ago
Robert C Jennings
d41cc70bf5
ubuntu-cpc: Initramfs compression should match runtime default (LP: #1744114 )
...
Cloud images created from the 'ubuntu-cpc' project use lzma initramfs
compression for the initial initramfs shipped in the image; this is the
default for livecd-rootfs. When a user updates the initramfs (or installs
a new kernel) on a running instance created from a cloud image they will
get gzip compression, which is the default shipped in initramfs-tools.
With this patch the compression method used to create the initramfs in
the initial cloud images will match the compression menthod used when
the end-user creates/updates an initramfs, namely gzip compression.
7 years ago
Steve Langasek
e6a66dd3bf
Add support for passing snap channel to ubuntu-core image builds.
7 years ago
Balint Reczey
df89bff043
Drop Nexus 7 support
7 years ago
Balint Reczey
34dd1fb2f4
Revert to building minimized and not minimimized images with the same ~2.2 GiB size
7 years ago
Iain Lane
07873ec528
Support seeding of snaps
...
We run germinate during configure, and read from each resulting <seed>.snaps
file (expanded from STRUCTURE) to find out which snaps to seed. This is written
to config/seeded-snaps, which is read during build to download each one.
7 years ago
Michael Hudson-Doyle
0113b9aad7
self-review
7 years ago
Michael Hudson-Doyle
26753602fe
Move casper from filesystem.squashfs to installer.squashfs.
7 years ago
Dimitri John Ledkov
5f64c373f1
Drop android-tools-fsutils dependency, and instead install it on
...
demand for the nexus7 sub-arch. This target is no longer produced,
thus by doing this android-tools can fall out of main to universe.
7 years ago
Balint Reczey
532bd5b5ed
Build minimized images in a 1GiB image
7 years ago
Balint Reczey
89e87b4c2c
Set LB_ISO_PREPARER to livecd-rootfs to avoid unbound variable in default string
7 years ago
Steve Langasek
49e17b717e
Fix lingering reference to livecd-rootfs.ubuntu-core.model-assertion
...
that breaks the ubuntu-core image build.
7 years ago
Steve Langasek
f384f10867
Merge lp:~vorlon/livecd-rootfs/minimize-round-two
7 years ago
Steve Langasek
ea2840ddfc
fix wrong use of PREFIX literal
7 years ago
Steve Langasek
7c07f8a65b
Change ubuntu-core image builds to use the standard "$PREFIX" naming for
...
artifacts instead of being gratuitously different; requires a matching
change to ubuntu-cdimage.
7 years ago
Steve Langasek
02246dbf84
move configuration bits into live-build/auto/config from live-build/auto/build, per Adam
7 years ago
Steve Langasek
696ae6e1eb
Name the manifest the way ubuntu-cdimage expects it for subarchs
7 years ago
Steve Langasek
e96fa8b878
ubuntu-image now produces a manifest file listing the snap revisions
...
used; publish this so that it's picked up by launchpad-buildd.
7 years ago
Steve Langasek
b3cf7b9013
The target for x86 ubuntu-core images is VMs, so create them with
...
a buffer of free space in order to work if booted in place.
7 years ago
Gary.Wzl
78da9b579b
Per the suggestions, we exclude all binary hooks when IMAGEFORMAT is none.
7 years ago
Steve Langasek
083d58397c
Make sure to remove any initramfs that was generated in a minimized
...
image.
7 years ago
Steve Langasek
f91a9f16ee
Also remove old dpkg files from the live images
7 years ago
Gary.Wzl
c260534758
Add the IMAGEFORMAT=none to support generating a single rootfs.
7 years ago
Steve Langasek
df94729c60
sync with purge-initramfstools branch
7 years ago
Steve Langasek
e99636027f
busybox-initramfs and busybox-static have reverse-recommends, so it's not enough to use apt-mark auto; remove these packages by name.
7 years ago
Steve Langasek
d24ca0490b
Pass --cache false to lb config; otherwise we copy around caches of
...
.debs that are never used properly, and which prevent us from emptying
/var/cache/apt in images.
7 years ago
Steve Langasek
3a092539ca
purging initramfs-tools as a prereq
7 years ago
Steve Langasek
018525ba12
resync with trunk
7 years ago
Steve Langasek
56a85e74c9
Also mark busybox-{initramfs,static} as automatically installed, so they can be removed again
7 years ago
Steve Langasek
08a5fc58ba
Remove apt, debconf cruft files from /var/cache in all our livefses.
7 years ago
Balint Reczey
314655a2ae
Skip installing server task when building minimial images
7 years ago
Balint Reczey
d6bb42bc63
Use kvm kernel only on amd64
7 years ago
Steve Langasek
7798e70d8f
Purge initramfs-tools from minimized images.
7 years ago
Steve Langasek
58be5d5712
Merge lp:~vorlon/livecd-rootfs/snap-in-mate/
7 years ago
Steve Langasek
e509a81f1d
Unminimization information should only go to motd when we are actually
...
minimized.
7 years ago
Steve Langasek
1bcb0009ac
mkdir before use
7 years ago
Steve Langasek
aec4452acf
Fix quoting
7 years ago
Steve Langasek
c61850e168
Use regular chroot, not the Chroot wrapper, so we can actually debug our failing command
7 years ago
Steve Langasek
e59db65edb
Add initial support for preinstallation of snaps in images, and
...
preinstall pulsemixer in the Ubuntu MATE image.
7 years ago
Steve Langasek
f296ec41c7
Merge lp:~vorlon/livecd-rootfs/generic-model-assertion-handling
7 years ago
Steve Langasek
4204faa484
If we're not on xenial and don't have extra ppas, don't try to use the kvm flavor for minimal images since it's not currently available.
7 years ago
Steve Langasek
203eb6251f
mkdir our assertions dir
7 years ago
Steve Langasek
ff575bd93d
add ubuntu-mate to the set of projects we add snap model assertions to.
7 years ago
Steve Langasek
12b07ae5af
move snap assertion handling into the generic build script (and, in
...
the process, from the subiquity overlay to the base squashfs).
7 years ago
Steve Langasek
fffec4782f
skip installation of kernel headers for all minimal images
7 years ago
Steve Langasek
a85cf55f29
Use kvm kernel flavor for minimized cloud image, not virtual
7 years ago
Steve Langasek
4561f17d35
Merge lp:~rbalint/livecd-rootfs/minimized
7 years ago
Balint Reczey
f0cb85a506
When SUBPROJECT environment variable is not set assume it to be ""
7 years ago
Balint Reczey
2ef2aee456
Use SUBPROJECT=minimized name instead of SUBPROJECT=minimize for consistency
7 years ago
Balint Reczey
d496915741
Warn users that unminimize may fail reinstalling packages
7 years ago
Balint Reczey
69c1eb6d26
Mention unminimize script in motd
7 years ago
Balint Reczey
2858d7fb62
Print the documentation files which could not be restored by unminimize
7 years ago
Balint Reczey
e28933a1d5
Explain why unminimization script is a bit complicated
7 years ago
Balint Reczey
583d813b9b
Verify only documentation that should have been restored after unminimization
7 years ago
Balint Reczey
3532fa0b18
Use "dpkg --verify-format rpm" explicitly to be safe when the default changes
7 years ago
Balint Reczey
11da0c59a5
Fix typo
7 years ago
Balint Reczey
d5483eb728
Install ubuntu-minimal while unminimizing the system
7 years ago
Balint Reczey
6672dde922
Add unminimize script for reverting minimization on running system
7 years ago
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
7 years ago
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.
7 years ago
Steve Langasek
95890f6713
We probably still want sudo, even in a minimal image.
7 years ago
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)
7 years ago
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.
7 years ago
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.
7 years ago
Gary.Wzl
228ed7c87b
Remove 'IMAGETYPE' and 'IMAGEFORMAT' bits per the suggestions.
7 years ago
Gary.Wzl
eb76178ab5
Support to only generate rootfs via variable (GENERATE_ROOTFS_ONLY).
7 years ago
Gary.Wzl
84da578380
Add IMAGETYPE to support classic image creation by ubuntu-image.
7 years ago
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
8 years ago
Mathieu Trudel-Lapierre
726e6192e0
auto/config: enable Debug::pkgDepCache::AutoInstall so tracking down
...
dependency bugs in the livefs is a little clearer.
8 years ago
Steve Langasek
926b22a834
Merge lp:~rbalint/livecd-rootfs/deps
8 years ago
Steve Langasek
23d9db863e
Add cm3 as a known ubuntu-core image type. LP: #1698223 .
8 years ago
Balint Reczey
6c9cf10d72
Depend on pxz and vmdk-stream-converter instead of installing them at runtime
8 years ago
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.
8 years ago
Simon Quigley
0d82c84cdf
Update the file based on gilir's feedback
8 years ago
Simon Quigley
538c89f984
Set correct tasks for Lubuntu
8 years ago
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.
8 years ago
Steve Langasek
4f2c623e27
Use xz to compress ubuntu-image .img files before transfer, so that we
...
have smaller downloads and retain file sparseness everywhere.
8 years ago
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.
8 years ago
Mathieu Trudel-Lapierre
2e21d6d6b1
The ubuntu-server:live should use a casper-based initramfs to work
...
correctly. (LP: #1682460 )
8 years ago
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 )
8 years ago
Balint Reczey
0109d5304e
Optionally use ubuntu-image for building snap based images
8 years ago
Balint Reczey
f807c3703a
Allow overriding IMAGEFORMAT even for ubuntu-cpc and ubuntu-server
8 years ago
Balint Reczey
44f9dceeb4
Require PROJECT environment to be set for lb build
8 years ago
Mathieu Trudel-Lapierre
4613a2c82e
Don't outright remove fstab for ubuntu-server:live, that breaks grub-legacy-ec2.
8 years ago
Mathieu Trudel-Lapierre
46bae4cebf
Fix up functions refactoring tfor a proper path to the file.
8 years ago
Mathieu Trudel-Lapierre
ab949fac18
Rename ubuntu-server-live -> ubuntu-server
8 years ago
Mathieu Trudel-Lapierre
46fd6c58f5
Refactor functions out of ubuntu-cpc and ubuntu-server hooks.
8 years ago
Mathieu Trudel-Lapierre
e577ed7672
Rename to ubuntu-server-live; some build process fixes.
8 years ago
Mathieu Trudel-Lapierre
6978674cfe
Add cloud-init for subiquity image.
8 years ago
Mathieu Trudel-Lapierre
86b64ef78e
Move curtin to installer squash.
8 years ago
Mathieu Trudel-Lapierre
d5a6f5cbe3
Add 'ubuntu-server-next' subiquity image.
8 years ago
Adam Conrad
7b576e4c4d
Set device_tree_address for the new kernel in the RPi bootloader config.txt
8 years ago
David Mohammed
1af12f76b7
correct indentation - should be tab not spaces
8 years ago
David Mohammed
c85df9e50f
add changes for Ubuntu Budgie build config
8 years ago
Iain Lane
4a2d7ecf31
Merge lp:~laney/livecd-rootfs/lp1627190 - don't purge .pyc files any more
8 years ago
Łukasz 'sil2100' Zemczak
d43c01c60b
Update the ubuntu-touch hints to try installing ubuntu-system-settings instead of ubuntu-system-settings-online-accounts.
8 years ago
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 )
8 years ago
Adam Conrad
1d71b6d5ab
Use the virtual kernel for the arm64 cpc images instead of generic.
8 years ago
Adam Conrad
95d4c0b767
Use the virtual kernel for the powerpc64 cpc images (LP: #1625368 )
8 years ago
Martin Pitt
e40e563cb8
live-build/auto/build: Fix typo in netplan policy snippet.
...
*brown paperbag* (LP: #1615180 )
8 years ago
Martin Pitt
3c3737327f
live-build/auto/build: Move NetworkManager configuration to the right
...
place.
8 years ago
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.
8 years ago
Michael Hudson-Doyle
15b69c4ddf
Install nplan in the ubuntu-core image.
8 years ago
Simon Quigley
4040816ca7
Add Lubuntu Next image
9 years ago
Oliver Grawert
418501bc65
slightly adjust the version handling for the core snap, drop suffix from kernel snap version string
9 years ago
Oliver Grawert
f6058dfdb4
sanitize the version number of the ubuntu-core snap
9 years ago
Ł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).
9 years ago
Martin Wimpress
cbbcb721a4
Ubuntu MATE seeds now follow Recommends:
9 years ago
Adam Conrad
b3cc872df5
Swap order of security and updates in dvd sources.list.
9 years ago
Adam Conrad
da54fe4c3e
Fix security mirror sources.list entries for non-x86 architectures.
9 years ago
Steve Langasek
6c5dc72d80
Merge lp:~daniel-thewatkins/livecd-rootfs/enable-backports
9 years ago