Łukasz 'sil2100' Zemczak
006ed85460
Add support for the Nitrogen6x board.
5 years ago
Colin Watson
dc61b17db3
Use iptables-legacy on older kernel versions
...
Use iptables-legacy rather than iptables when running on older
(pre-4.15) kernel versions. The newer nf_tables-based tools misbehave
at least on 4.4.
5 years ago
Iain Lane
b68a5abf65
snap seeding: Defer validation for regular image builds
...
When getting the list of snaps to include on an image via germinate, we
process the snaps in alphabetical order. Currently we seed several
packages `gnome-foo` and also `gtk-common-themes`, the default provider
of `gtk-3-themes`. Since `gtk-common-themes` is alphabetically after
`gnome-foo`, the `seed.yaml` we generate is invalid when we are part way
through generating.
What we really care about, though, is not that the `seed.yaml` is always
valid at every step, but it is that it is valid at the *end* of seeding.
So for the germinate case, let's defer validation to happen once at the
end. Other callsites of `snap_preseed`, where callers are careful to
seed snaps in the right order, are unaffected by this.
5 years ago
Colin Watson
9a65a4013d
Undivert update-initramfs more carefully
...
Previously the wrapper script and diversion were left in place on images
such as buildd images that don't have initramfs-tools installed.
LP: #1841573
5 years ago
Łukasz 'sil2100' Zemczak
f6cbbf01e1
Add a new u-i specific chroot hook, move the NoCloud system-boot cloud-init datasource configuration there to make sure all u-i built ship with it.
5 years ago
Łukasz 'sil2100' Zemczak
b4ba74885f
Remove pulseaudio and udisks2 from kassel images. This will fix the image build failures.
6 years ago
Robert C Jennings
cb535805d7
ubuntu-cpc: rework image artifact cleanup
...
The livecd.ubuntu-cpc.ext4 that is present in each build (plus kernel
and initrd) are not renamed from /build/binary/boot/filsystem.ext4
and friends until after the binary hooks are run, so this patch moves
from trying to perform this cleanup in a binary hook. Now the cleanup
will be run at the end of live-build/binary for the ubuntu-cpc project.
6 years ago
David Krauser
5a2b49950a
Fixing broken binary hook symlinks for hyperv gallery image builds.
6 years ago
Łukasz 'sil2100' Zemczak
1e275b6b46
Append seeded snaps to manifests for all images.
6 years ago
Dimitri John Ledkov
124d074101
Unbreak cpc/server builds, by ensuring that includes are copied with archived symlinks, and only hooks resolve symlinks when getting copied.
6 years ago
Colin Watson
dc85df854b
Add tzdata to buildd images
...
It isn't strictly build-essential, but it has traditionally been present
in both Debian and Ubuntu, and a variety of things fail without it.
6 years ago
David Krauser
0e3b1e206b
Add support for HyperV Gallery images
6 years ago
Dimitri John Ledkov
d7b629cae6
Do not force lzma on ubuntu-core builds, the compress format default should be set universally inside initramfs-tools-ubuntu-core package instead of getting duplicated multiple times all over the place.
6 years ago
Dimitri John Ledkov
3d36dc0794
Stop overriding initramfs compression default to lzma. LP: #1831736
6 years ago
Dimitri John Ledkov
11756d2d1e
Fix typpo when dropping jasper.
6 years ago
Dimitri John Ledkov
de1055de29
Merge branch 'dead-ubuntu-rtm' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
6 years ago
Dimitri John Ledkov
702ccb4c77
Merge branch 'dead-ubuntu-touch' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
6 years ago
Dimitri John Ledkov
af96b80116
Merge branch 'dead-ubuntu-desktop-next' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
6 years ago
Dimitri John Ledkov
97adf4c160
Merge branch 'drop-old-arm' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
6 years ago
Dimitri John Ledkov
b0312baeb7
Merge branch 'dead-jasper' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
6 years ago
Dimitri John Ledkov
1a3eaf75c8
Merge branch 'dead-wubi' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
6 years ago
Łukasz 'sil2100' Zemczak
e3b7b319c1
Merge branch 'uc18-kassel' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master
...
Bumped the changelog entry timestamp.
6 years ago
Dimitri John Ledkov
d56653396d
Drop ubuntu-rtm configs
6 years ago
Dimitri John Ledkov
44fd9ba9fd
Drop ubuntu-touch configs
6 years ago
Dimitri John Ledkov
2aa3a59b7c
Drop ubuntu-desktop-next configs
6 years ago
Dimitri John Ledkov
5b89298cd9
Drop old arm platforms.
6 years ago
Dimitri John Ledkov
c596d3d376
Drop dead jasper subproject.
6 years ago
Dimitri John Ledkov
6d02eac861
Drop dead wubi subproject.
6 years ago
Steve Langasek
c306763147
Strip translation files out of the minimal images.
...
This is another thing that goes unused when there is no human console user
(and we already don't have the locales themselves present on a minimal
image).
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1829333
6 years ago
Julian Andres Klode
bed915a0fb
Don't purge busybox-static in minimized, no longer installed
...
This caused the builds to fail because we were purging are non
existing package.
6 years ago
Michael Hudson-Doyle
42992467a1
Remove device nodes later for ubuntu-base:minimized (i.e. docker) builds. (LP: #1828118 )
6 years ago
Julian Andres Klode
e95ad81c47
Run clean_debian_chroot after minimize_manual
...
This avoids us having apt cache files in the final image.
For auto/build, we move the call to clean_debian_chroot to the end,
this also takes care of the caches generated by apt-get update
in case of a preinstalled-pool.
For layered, it's just a simple swap of the lines.
LP: #1826377
6 years ago
Steve Langasek
b83f70a2ea
Add support for the 'kassel' subflavor of UC18 images.
6 years ago
Tobias Koch
05e71b3840
Do not include any snaps in ubuntu-cpc:minimized builds
6 years ago
Balint Reczey
2d162dd121
Pass --sort=name to tar to make tarballs more reproducible and rsync-friendly
6 years ago
Didier Roche
b20cf752e6
Add languages to live pass
...
The name of the pass is live and not "ubuntu-live" which is the live pass
default task.
6 years ago
Didier Roche
995f3cf9e0
Ensure default langpacks are removed after installation
...
Add langpacks to live tasks to have them in the ubiquity diff file and
thus, purged after installation if not selected. (LP: #1818890 )
6 years ago
Jean-Baptiste Lallement
38bb0b3301
Fix grub divert for multilayer images
...
grub-probe must not be called during image build so grub is diverted. In
multilayer image the chroot is always the tip of the filesystem, so we
divert grub at the beginning of each pass and undivdert it as the end.
For flat images, it's diverted just before building the chroot and
undiverted after.
6 years ago
Steve Langasek
ea5f01942f
divert grub when calling into lb chroot
...
UbuntuStudio image builds have recently begun failing as a result of adding a
grub theme customization to their flavor, which they then try to apply by
running update-grub from their maintainer scripts. This fails with:
Setting up plymouth-theme-ubuntustudio (0.57) ...
update-alternatives: using /usr/share/plymouth/themes/ubuntustudio-logo/ubuntustudio-logo.plymouth to provide /usr/share/plymouth/themes/default.plymouth (default.plymouth) in auto mode
update-alternatives: using /usr/share/plymouth/themes/ubuntustudio-text/ubuntustudio-text.plymouth to provide /usr/share/plymouth/themes/text.plymouth (text.plymouth) in auto mode
update-initramfs: diverted by livecd-rootfs (will be called later)
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
dpkg: error processing package plymouth-theme-ubuntustudio (--configure):
installed plymouth-theme-ubuntustudio package post-installation script subprocess returned error exit status 1
Packages providing grub themes should be able to call update-grub from their
maintainer scripts, and they should be able to be installed under
livecd-rootfs. It's surprising to me that this hasn't been a problem before
now for any flavors.
We know that grub-probe should not be called as part of an image build, so
just use our standard helper function to divert it before running the chroot
stage and undivert it after.
6 years ago
Łukasz 'sil2100' Zemczak
8c8b7164d4
Support building pi3-arm64 core18 images. At the same time, make sure we still use the right gadget tree repository for the classic arm64 pi3 image.
6 years ago
Balint Reczey
039ed8ec31
Merge fixing minimized text spacing
6 years ago
Balint Reczey
0182d380ca
Nicely separate motd text about minimizing from texts above
6 years ago
Balint Reczey
a06d208871
Merge branch feature/parallelization-pkg-version-fixing
6 years ago
Colin Watson
305d5cef50
Drop code to handle buildd images for <disco
...
We'll deal with those in stable updates instead.
6 years ago
Colin Watson
36af2769dc
Disable merged /usr in buildd images
...
Otherwise we might end up building packages with hardcoded paths that
assume a merged /usr.
6 years ago
Tobias Koch
5b70d86f5c
Inject a proxy into the build providing a snapshot view of the package repo.
...
When the REPO_SNAPSHOT_STAMP variable is set, the auto/build script will attempt
to launch a transparent HTTP proxy on port 8080, and insert an iptables rule to
redirect all outgoing HTTP requests to this proxy.
The proxy, contained in the `magic-proxy` Python script, examines each request
and silently overrides those pointing to InRelease files or files that are
listed in InRelease files. It will instead provide the contents of the requested
file as it was at REPO_SNAPSHOT_STAMP, by downloading the corresponding asset
"by hash".
6 years ago
Michael Hudson-Doyle
a9991a908e
revert change to ubuntu-server:live snap seeding
6 years ago
Jean-Baptiste Lallement
f84d92d76f
Calculate total size of the image + typos
6 years ago
Jean-Baptiste Lallement
3db920c40c
Fixed quoting of subproject variable
6 years ago
Jean-Baptiste Lallement
52d9bd3ead
Run live specific scripts on non live layers
...
Allow execution of lb_binary_linux-image and lb_chroot_live-packages on
any layer by setting LIVE_PASSES.
6 years ago
Jean-Baptiste Lallement
283871573d
Changed the naming scheme for multi layer images to dot format
6 years ago
Jean-Baptiste Lallement
addef92e23
Decouple from ubuntu-cdimage & debian-cd landings
...
We don't want to regress the ubuntu desktop traditional image when
livecd-rootfs lands uncordinated with ubuntu-cdimage & debian-cd.
Decoupling enables us to:
- land livecd-rootfs (no change for ubuntu-desktop project,
ubuntu-desktop:ubiquity-ng can be tested once the 2 others branches
lands)
- land ubuntu-cdimage & debian-cd for publishing any arbitrary squashfs
names
- finally, revert that commit and land it in livecd-rootfs to transform
the traditional ubuntu-desktop image to a layered approach.
6 years ago
Jean-Baptiste Lallement
2d2ce6eea4
Rename chroot.$PASS -> overlay.$PASS
6 years ago
Jean-Baptiste Lallement
e0d30dd2d3
Fixed substract -> subtract
6 years ago
Jean-Baptiste Lallement
41becb0af7
Ensure snaps are available on ubuntu-server live
6 years ago
Jean-Baptiste Lallement
3075d65578
Cleanup and handle manifest-remove files
...
manifest-remove files are generated in all cases and removed for
projects/subprojects that don't need it like the new ubiquity.
6 years ago
Jean-Baptiste Lallement
9dba350834
Added lb_binary_layered
...
Created lb_binary_layered based on lb_binary
Factorized several helpers
These helpers are called from lb_chroot
6 years ago
Jean-Baptiste Lallement
43ec452fa0
Moved reusable functions to functions
...
Moved functions to reuse in lb_binary and lb_chroot to functions
6 years ago
Jean-Baptiste Lallement
047f883e92
Various fixes
...
Fixed prefix for passes to not conflict with global prefix
Set layer to none for layer without language packs
Copy size and manifest to the target directory
Make sure the diff always diffes existing manifests
6 years ago
Jean-Baptiste Lallement
3b21bd9a2e
Moved back config helper functions to config
...
Moved back config specific functions from functions to config
6 years ago
Jean-Baptiste Lallement
42d1d77612
Layered Ubuntu desktop by default
...
Default Ubuntu desktop to the layered format
Remove the requirement on setting IMAGEFORMAT to layered to build a
layered image and relies on PASSED instead.
6 years ago
Jean-Baptiste Lallement
f3dadf1091
Support for positive and negative sublayers
...
Calculate positive and negative package lists for sublayers
6 years ago
Jean-Baptiste Lallement
53b06af931
Added sublayers support
...
Adds support for sublayers by defining package lists corresponding to
each sublayer. The name of the package list defines the name of the
layer.
6 years ago
Jean-Baptiste Lallement
78c196031b
Add snaps to manifest
...
Make sure that all the snaps are listed in the full manifest of each
layer and as delta in the delta manifest.
6 years ago
Jean-Baptiste Lallement
ef72cf5fe8
Code refactoring:
...
* Moved *inheritance functions from config to functions
* Moved code to extract snap from seed to snap_from_seed function
6 years ago
Jean-Baptiste Lallement
6a7368bf95
Clean-up dead code for server live builds.
6 years ago
Jean-Baptiste Lallement
d4f7a0b23d
live-build/auto/config: Added ubuntu-desktop-minimal to install-minimal task
6 years ago
Jean-Baptiste Lallement
d5a16296f4
live-build/auto/build: Create one manifest by layer in diff format and one full manifest with all the layers in standard format
6 years ago
Jean-Baptiste Lallement
ca63d43696
live-build/auto/build: Add size of the filesystems. This is used by the installer to calculate the minimum partition size to reserve for installation. The installer will have to sum all the sizes to compute the final size. Thank didrocks
6 years ago
Jean-Baptiste Lallement
b6287916c2
auto/build: Order generated squashfs filesystems
6 years ago
Jean-Baptiste Lallement
ce973ba07b
auto/build: Removed useless comment
6 years ago
Jean-Baptiste Lallement
7b4acba31d
* Added lb_chroot_layered to add support for multi layered squashfs images
...
* auto/*: Added live-layered image format
6 years ago
Jean-Baptiste Lallement
3e34faaa70
Moved add_task and add_package to functions in order to be available in hooks
6 years ago
Łukasz 'sil2100' Zemczak
b3dd27aedd
Use linux-firmware-raspi2 instead of raspi3-firmware.
6 years ago
Colin Watson
2b15590f3b
Fix buildd images for series earlier than bionic
...
Don't install gpg or gpg-agent when building buildd images for series
earlier than bionic. (In earlier series, those packages didn't exist
and gnupg was build-essential.)
6 years ago
Łukasz 'sil2100' Zemczak
bf61fdecf3
Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into sil2100/raspi-wpasupplicant
6 years ago
Łukasz 'sil2100' Zemczak
abec4f4c1d
Link to the proper name instead.
6 years ago
Łukasz 'sil2100' Zemczak
e60bcbaecd
Add proper IMAGAFORMAT for raspi3 classic builds, output the images with the expected naming.
6 years ago
Colin Watson
46942330d8
Move buildd image building to binary hooks
6 years ago
Colin Watson
082a2046e7
Add a LXD image to builds for the buildd subproject
6 years ago
Łukasz 'sil2100' Zemczak
85eed4a91d
Add wpasupplicant to the additional packages installed for the raspi2 and raspi3 targets.
6 years ago
Michael Hudson-Doyle
f81fb59a00
Do no install openssh-server in the base filsystem for the live server installer.
6 years ago
Michael Hudson-Doyle
c4e5659217
do not include kernel in base install for ubuntu-server:live
...
this actually makes things closer to the non-live server build and so
makes things a bit simpler
6 years ago
Michael Hudson-Doyle
4b01505952
Fix typo preventing builds of ubuntu-core images.
6 years ago
Tobias Koch
cbd4eb5717
Use series files with dependency handling to generate hook symlinks dynamically
...
This patch currently only applies to the "ubuntu-cpc" project.
More and more logic has been going into the hook scripts to decide under which conditions they should run or not. As we are moving to parallelized builds of image sets, this will get even more complicated. Base hooks will have to know which image sets they belong to and modification of the dependency chain between scripts will become more complicated and prone to errors, as the number of image sets grows.
This patch introduces explicit ordering and dependency handling for scripts through the use of `series` files and an explicit syntax for dependency specification.
6 years ago
Steve Langasek
5300bb9eb7
Key netplan delegation to NetworkManager on presence of
...
/usr/sbin/NetworkManager, not on /usr/lib/NetworkManager which may have
hooks from other packages (i.e., wpasupplicant).
6 years ago
Łukasz 'sil2100' Zemczak
6345ccd34c
Add a few minor fixes for raspi3 builds.
6 years ago
Łukasz 'sil2100' Zemczak
d3eb3dd0ac
Add missing arguments to ubuntu-image classic calls.
6 years ago
Łukasz 'sil2100' Zemczak
c229012efb
Add raspi3 arm64 rootfs build support.
6 years ago
Łukasz 'sil2100' Zemczak
65d907268a
raspi3 support: be sure to create /boot/firmware during pi3 rootfs builds. Also, for the raspi3 we need to explicitly specify the kernel flavor to raspi2. We also switch to using raspi3-firmware instead of linux-firmware-raspi2 because the latter is not available for arm64.
6 years ago
Steve Langasek
6ee39485dd
Merge lp:~sil2100/livecd-rootfs/use-ubuntu-image-classic
6 years ago
Łukasz 'sil2100' Zemczak
05a8be839f
Do the same for ubuntu-image snap builds.
6 years ago
Łukasz 'sil2100' Zemczak
8a33b23dd0
Use -O instead of -o for ubuntu-image classic builds.
6 years ago
Łukasz 'sil2100' Zemczak
2947cdbe60
First batch of obvious changes - use better shellism, only call make (without make install).
6 years ago
Steve Langasek
b3c9d8bac8
Merge lp:~sil2100/livecd-rootfs/raspi3-u-i-classic
6 years ago
Steve Langasek
77c44167df
Delete no longer accurate comments
6 years ago
Cody Shepherd
c7e0c27607
[ Cody Shepherd ]
...
Fix snap-seed-parse to take filename argument instead of printing to
stdout
6 years ago
Dimitri John Ledkov
8868522e78
When calling snap-seed-parse append stdout to file, but redirect
...
stderr to stdout, thus unbreak autopkgtests.
6 years ago
Steve Langasek
1e1c6a8572
Properly fix the hard-linking of vmlinuz, taken astray by my misguided
...
merge review.
6 years ago
Łukasz 'sil2100' Zemczak
a3a9b2ab60
Merge latest prerequisite branch.
6 years ago
Łukasz 'sil2100' Zemczak
b0910cbe50
Remove more unneeded raspi3 conditionals.
6 years ago
Łukasz 'sil2100' Zemczak
37f3cb1714
Merge latest prerequisite branch.
6 years ago
Łukasz 'sil2100' Zemczak
2e3c7d050c
Remove unneeded code and code duplication, add comments.
6 years ago
Łukasz 'sil2100' Zemczak
6ac3384f34
Merge latest prerequisite branch
6 years ago
Łukasz 'sil2100' Zemczak
a274206e1a
Don't overcomplicate bash conditionals.
6 years ago
Łukasz 'sil2100' Zemczak
cc5d39b93d
Merge latest prerequisite branches.
6 years ago
Łukasz 'sil2100' Zemczak
501afa0783
Merge latest prerequisite branch
6 years ago
Łukasz 'sil2100' Zemczak
61ba85df21
Merge trunk
6 years ago
Łukasz 'sil2100' Zemczak
f8529c9038
Add support for building classic images using makefile-based gadget trees.
6 years ago
Cody Shepherd
2819290352
Changed absoluted paths to relative; set changelog message to UNRELEASED
6 years ago
Cody Shepherd
5bee1ade70
Ensure pre-seeded snaps are now published in the image manifests.
6 years ago
Łukasz 'sil2100' Zemczak
41b4130759
* Add support for raspi3 rootfs builds (based on Ryan Finnie).
...
* For ubuntu-image consumption, export the kernel and initrd to
image/boot/uboot for raspi*.
6 years ago
Łukasz 'sil2100' Zemczak
e115b2cbe7
Avoid issues of hard-linking to a symbolic vmlinuz as this can lead to a
...
dangling symlink.
6 years ago
Łukasz 'sil2100' Zemczak
4f6e5dc11e
For the pc model, the name changed so we need to special case it a bit.
6 years ago
Łukasz 'sil2100' Zemczak
1498baada5
The model assertions for 18 don't actually use series=18 because that would be too logical.
6 years ago
Łukasz 'sil2100' Zemczak
c184977a90
Decide what model assertion series to fetch depending on the suite. For xenial use 16 and for others (so bionic+): 18.
6 years ago
Robert C Jennings
9f96dcb4de
Add the server snap seed to the ubuntu-cpc project
6 years ago
Michael Hudson-Doyle
791d2adfd8
merge trunk
6 years ago
Adam Conrad
94230324e0
Stop building buildd chroots with --xattrs until we move to python3.
6 years ago
Colin Watson
bb652c238f
Merge trunk.
6 years ago
Colin Watson
c4c5c1f349
Generate tar file with --xattrs.
6 years ago
Julian Andres Klode
1746e65953
Reorganize minimal-manual file location.
...
This also gets rid of the change to debian/rules
6 years ago
Łukasz 'sil2100' Zemczak
e547599e5a
Add support for raspi3 rootfs generation for ubuntu-image consumption with all the additional changes required.
6 years ago
Łukasz 'sil2100' Zemczak
97fcf09972
Merge trunk
6 years ago
Julian Andres Klode
fc6907b701
fixup: Do not assume current directory
6 years ago
Julian Andres Klode
2e9349c543
minimize-manual.py: Followup with some cleanup, correct permissions
6 years ago
Julian Andres Klode
9360135b2c
Minimize the number of manually installed packages in images by marking
...
dependencies of metapackages as automatically installed.
6 years ago
Michael Hudson-Doyle
e804cc4e00
a less hackish approach
6 years ago
Michael Hudson-Doyle
a261471969
a less hackish approach
6 years ago
Michael Hudson-Doyle
1aa8b9d882
ffs
6 years ago
Michael Hudson-Doyle
00151c5e0b
Set PREINSTALLED=true for live-server so that universe ends up being
...
enabled in the image.
6 years ago
Steve Langasek
3db2340c54
generate all tar files with --xattrs. LP: #1302192 .
6 years ago
Michael Hudson-Doyle
333a3e2b1b
moderate comment
7 years ago
Michael Hudson-Doyle
092b316357
add a comment explaining why /dev cleaning is docker-only
7 years ago
Michael Hudson-Doyle
013dff431e
Remove device nodes from Docker images. (LP: #1645468 )
7 years ago
Robert C Jennings
c3f5ee6716
Disable checksum generation
...
These checksums are unused, integrity checking in launchpad is performed
separately.
7 years ago
Phil Roche
b7403fabf1
Update unminimize script text and install ubuntu-standard when unminimizing a minimal image (LP: #1778777 )
7 years ago
Colin Watson
1e6563aa79
Merge trunk.
7 years ago
Colin Watson
baee4ed403
We know cosmic's name now.
7 years ago
Colin Watson
8b1970f661
live-build/auto/config: Drop "lp-*" hostname filter for Launchpad
...
builders, since LP #1747015 is now fixed; "*.buildd" should be enough.
7 years ago
Daniel Watkins
80459b6c1b
ubuntu-cpc: Use linux-kvm for all amd64 minimized builds (LP: #1775472 ).
7 years ago
Michael Hudson-Doyle
664ace2f30
man un-diverting man idempotent
7 years ago
Michael Hudson-Doyle
7c7c2c5b30
rm -r the lists
7 years ago
Michael Hudson-Doyle
ccef323973
go back to having docker unminimize not install any extra packages
...
update text of man diversion to mention need to install man-db package
7 years ago
Michael Hudson-Doyle
2fc3993d48
Remove apt lists that are currently removed downstream anyway.
...
(LP: #1699913 )
7 years ago
Michael Hudson-Doyle
fa1bce5389
still install a few packages in docker unminimize
7 years ago
Michael Hudson-Doyle
514faae2db
divert /usr/bin/man in minimized images to a script that mentions the unminimize script
7 years ago
Michael Hudson-Doyle
7e1bd33544
do not install ubuntu-minimal in ubuntu-base's unminimize
7 years ago
Łukasz 'sil2100' Zemczak
7982442e32
Avoid issues of hard-linking to a symbolic vmlinuz as this can lead to a dangling symlink.
7 years ago
Simon Quigley
9ba04172d4
Completely drop Lubuntu Next.
7 years ago
Simon Quigley
382f17b08c
Don't follow recommends.
7 years ago
Simon Quigley
480e02443e
Drop seed workarounds for unbuilt Lubuntu Next.
7 years ago
Colin Watson
1fab544a84
Add init to buildd chroots, since it's needed for LXD-based builds.
7 years ago
Colin Watson
b77de06bfd
Remove some unnecessary buildd configuration.
7 years ago
Colin Watson
07487675b6
Sort buildd tarballs by name and use numeric user and group IDs.
7 years ago
Colin Watson
416093beec
Use a public-facing mirror URL in the final buildd /etc/apt/sources.list.
7 years ago
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