Sebastien Bacher
ed8ee60c98
Desktop is using the hwe kernel, do the same on canary
4 years ago
Łukasz 'sil2100' Zemczak
c2733a55f7
Still hardcode UC20 amd64 image size, but to the same value as for UC16 and UC18.
4 years ago
Dimitri John Ledkov
2f84bc9a84
config: on hirsute build UC22 images
4 years ago
Dimitri John Ledkov
a808b28d47
riscv64: build preinstalled riscv64 image with uboot SPL and CIDATA.
4 years ago
Łukasz 'sil2100' Zemczak
dda73b5591
Do not hard-code the UC20 amd64 image size anymore.
4 years ago
Dimitri John Ledkov
8e986c20fd
Merge remote-tracking branch 'seb128/layered-languages-fix' into ubuntu/master
4 years ago
Sebastien Bacher
fa5c2092c7
During the layered build generate the right content for no languages
...
The structure changed as part of bug #1873374
4 years ago
Dimitri John Ledkov
e2fd168f50
amd64: always install grub-pc with shim-signed
...
shim-signed depends on grub-efi-amd64-signed, which in turn has
alternative depends on either `grub-efi-amd64 | grub-pc`. However to
support booting with either via shim&signed-grub and BIOS, the choice
must be made to install grub-pc, not grub-efi-amd64.
This makes images consistent with Ubuntu Deskop, Live Server, buildd
bootable images; all of which already do install grub-pc and
shim-signed.
LP: #1901906
4 years ago
Dimitri John Ledkov
1c7d688319
auto/config: scope ubuntu:desktop-preinstalled:raspi image options
...
When desktop-preinstalled image options were added in
38157b3748
, for the raspi subarch, the
options listed there were not scoped for raspi subarch. This results
in those options getting also applied for the HYPERV
ubuntu:desktop-preinstalled image.
Thus scope the newly added options under raspi subarch case only.
4 years ago
Dimitri John Ledkov
5d9af7f3c5
auto/config: seed ubuntu-desktop when building hyperv image
...
Regression introduced in 38157b3748
when
desktop-preinstalled code branch was added, it dropped addint
ubuntu-desktop task. Instead it added ubuntu-desktop-raspi task, only
for the raspi subarch, which depends on ubuntu-desktop. But the hyperv
case, now ended up without ubuntu-desktop task.
It looks like introduction of "desktop-preinstalled" assumed, that it
is for raspi only, when in fact that code path now started to be used
for hyperv gallery image too.
4 years ago
Łukasz 'sil2100' Zemczak
5a7b332745
Build classic raspi server images by default from the 'classic' branch now.
4 years ago
Łukasz 'sil2100' Zemczak
eda716902e
For desktop-preinstalled we don't need cloud-image.
4 years ago
Łukasz 'sil2100' Zemczak
fdd8b1cba0
Use the right task name - ubuntu-desktop-raspi.
4 years ago
Łukasz 'sil2100' Zemczak
38157b3748
First batch of changes for raspi desktop.
4 years ago
Steve Langasek
37f5f8881f
Revert "Revert "Remove fstab from squashfs images""
...
This reverts commit d9de270189
.
4 years ago
Steve Langasek
d9de270189
Revert "Remove fstab from squashfs images"
...
This reverts commit f96e874ed1
.
4 years ago
Robert C Jennings
e3dce0ab17
Handle seeded lxd snap with channel name for ubuntu-cpc:minimized
...
The seed now specifies the lxd snap in focal as
'lxd=4.0/stable/ubuntu-20.04' which doesn't match the expectations of
the code with looks for lxd as the only snap in the seed for minimized
images. This patch updates the pattern to accept 'lxd' or 'lxd=*'.
4 years ago
David Krauser
4c504f6781
Fix broken minimal cloud image boot on amd64
...
I recently pulled initramfs logic out of the base build hook, and
dropped that into the `replace_kernel` function. Any cloud image that
does not leverage the generic virtual kernel was expected to call
`replace_kernel` to pull in a custom kernel. That function will
disable initramfs boot for images that use a custom kernel.
Minimal cloud images on amd64 use the linux-kvm kernel, but the build
hook does not utilize the `replace_kernel` function. Instead, the
kernel flavor is set in `auto/config`. I pulled that logic out of
`auto/config` and am now calling `replace_kernel` in the build hook.
I also moved a call to generate the package list so that it will pick
up the change to the linux-kvm kernel.
5 years ago
Balint Reczey
f96e874ed1
Remove fstab from squashfs images
...
The default fstab is not valid, since squashfs does not support labels.
LP: #1877078
5 years ago
Łukasz 'sil2100' Zemczak
40103430d8
Enable overrides of UC20 grade dangerous channels
5 years ago
Dimitri John Ledkov
b9177cfd59
Fixup indentation
...
Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
5 years ago
Dimitri John Ledkov
6e8b5b94c4
ubuntu-image: fix focal+ pi images for armhf to use pi-armhf model name.
...
LP: #1876358
5 years ago
Dimitri John Ledkov
668898d92c
Bump only the UC20 pc image to 8GB, and keep Pi images as small as possible.
...
LP: #1875430
5 years ago
Dimitri John Ledkov
56ac1865f7
Switch Ubuntu desktop to only hwe-20.04 kernel flavour.
5 years ago
Łukasz 'sil2100' Zemczak
d2a2ac41a4
Use the raspi KERNEL_FLAVOUR for the raspi images.
5 years ago
Dimitri John Ledkov
910310dbbb
Only install oem-20.04 kernel flavour on amd64, as it doesn't exist on other arches.
5 years ago
Łukasz 'sil2100' Zemczak
40c51f78b8
Switch to using the generic pi gadget repo for classic, use the main branches.
5 years ago
Łukasz 'sil2100' Zemczak
95772fd9df
Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into u-i-disk-info
5 years ago
Łukasz 'sil2100' Zemczak
e9170e053b
Rename the raspi3 SUBARCH to raspi
5 years ago
Dimitri John Ledkov
17dc48cf65
Set uc20 image size to 10G.
5 years ago
Dimitri John Ledkov
438606c5e8
Encode CHANNEL specification in the UC20 model names.
5 years ago
Dimitri John Ledkov
f6ca600af2
Install oem-20.04 kernel flavour on Ubuntu Desktop builds.
5 years ago
Łukasz 'sil2100' Zemczak
2870738f00
Merge the manually-pushed 2.636 from Laney.
5 years ago
Łukasz 'sil2100' Zemczak
2ca3cc9720
Use the datestamp parameter (stored in NOW) instead of the newly added BUILD_ID.
5 years ago
Łukasz 'sil2100' Zemczak
fc6d956269
Support generating a .disk/info file via ubuntu-image if BUILD_ID is passed from cdimage to the builder.
5 years ago
Michael Hudson-Doyle
f27b432026
ubuntu-cpc hooks are Different
5 years ago
Michael Hudson-Doyle
fb31b64a7c
preserve apt preferences for all projects
5 years ago
Michael Hudson-Doyle
d38ceab06d
fix in case of no preferences
5 years ago
Michael Hudson-Doyle
94c2d606ca
Preserve apt preferences created by any package we install (i.e. ubuntu-advantage-tools) against live-build's attempt to delete them. (LP: #1855354 )
5 years ago
Łukasz 'sil2100' Zemczak
474f232840
Snapd for uc20 model assertions does not support global channel overrides.
5 years ago
Łukasz 'sil2100' Zemczak
a1daf38b93
Add support for Ubuntu Core 20 builds by supporting uc20 models.
5 years ago
Dimitri John Ledkov
3551fc1a02
Ship two kernel flavours on desktop image.
5 years ago
Dimitri John Ledkov
39f675eaf6
Drop installing dummy transitional linux-signed-generic, these days linux-generic is always signed, on arches that need/support it.
5 years ago
David Krauser
52a3471922
Add hooks to build bootable buildd images.
...
Only install policyrcd-script-zg2 in lxd tarball.
5 years ago
Łukasz 'sil2100' Zemczak
ac40cadf08
Support fetching classic gadget trees from a non-github-mirrored launchpad repo.
5 years ago
Łukasz 'sil2100' Zemczak
2896d39a7a
Make sure the imx6 subarch uses the ubuntu-image imageformat.
5 years ago
Adam Conrad
7c85d91d41
Limit the lxd group to images with an installer; it's less appropriate for random tarball images, which are configured in ways we don't know.
5 years ago
Michael Hudson-Doyle
c89806ba4d
Do not create a hook manually for ubuntu-cpc builds, make-hooks does not like that.
5 years ago
Michael Hudson-Doyle
4788e90315
Create the lxd group as a system group for all projects. (LP: #1844498 )
5 years ago
Łukasz 'sil2100' Zemczak
1f8f86c17c
Final fix to 999-ubuntu-image-customization.chroot, tested to be working.
5 years ago
Łukasz 'sil2100' Zemczak
6cd2343bea
Fix the styling to fit the rest a bit better.
5 years ago
Łukasz 'sil2100' Zemczak
c7f3374f9f
Final changes to the 999-ubuntu-image-customization.chroot hook.
5 years ago
Łukasz 'sil2100' Zemczak
c3002a563a
Merge branch 'u-i-cloud-init' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master
5 years ago
Łukasz 'sil2100' Zemczak
d7c4bb4d85
Do not initialize EXTRA_SNAPS with an empty value. Allow overrides via the environment.
5 years ago
Łukasz 'sil2100' Zemczak
006ed85460
Add support for the Nitrogen6x board.
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
David Krauser
5a2b49950a
Fixing broken binary hook symlinks for hyperv gallery image builds.
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
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
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
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
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
Ł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
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
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
e0d30dd2d3
Fixed substract -> subtract
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
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
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
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
e60bcbaecd
Add proper IMAGAFORMAT for raspi3 classic builds, output the images with the expected naming.
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
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
Łukasz 'sil2100' Zemczak
6345ccd34c
Add a few minor fixes for raspi3 builds.
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
2947cdbe60
First batch of obvious changes - use better shellism, only call make (without make install).
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
cc5d39b93d
Merge latest prerequisite branches.
6 years ago
Łukasz 'sil2100' Zemczak
501afa0783
Merge latest prerequisite branch
6 years ago
Łukasz 'sil2100' Zemczak
f8529c9038
Add support for building classic images using makefile-based gadget trees.
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
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
Colin Watson
bb652c238f
Merge trunk.
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
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
Robert C Jennings
c3f5ee6716
Disable checksum generation
...
These checksums are unused, integrity checking in launchpad is performed
separately.
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
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
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
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
Iain Lane
e68923777e
merge lp:~tsimonq2/livecd-rootfs/lubuntu-seed-mangling
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
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
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
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
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
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
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
Gary.Wzl
78da9b579b
Per the suggestions, we exclude all binary hooks when IMAGEFORMAT is none.
7 years ago
Gary.Wzl
c260534758
Add the IMAGEFORMAT=none to support generating a single rootfs.
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
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
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
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
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
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
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
23d9db863e
Add cm3 as a known ubuntu-core image type. LP: #1698223 .
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
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
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
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
Michael Hudson-Doyle
15b69c4ddf
Install nplan in the ubuntu-core image.
8 years ago
Simon Quigley
4040816ca7
Add Lubuntu Next image
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
8cd6c20291
Move touch resolution hints to a HINTS variable, and adjust for use
...
on dual-stack gl/gles arches where things don't quite work right.
9 years ago
Adam Conrad
1463239cb2
Stop explicitly removing systemd-sysv for touch.
9 years ago
Oliver Grawert
56e798bcbd
add u-boot-tools to all snappy arches, drop flash-kernel from snappy, create /boot/uboot dir on all snappy arches and configure /etc/fw_env.config
9 years ago
Steve Langasek
baf4f47379
Drop special-casing of ubuntu-core:system-image in places, now that
...
ubuntu-core unambiguously refers to the snappy Ubuntu Core image.
9 years ago
Steve Langasek
8b79962b99
Rename old ubuntu-core tarballs to ubuntu-base to avoid confusion.
9 years ago
Oliver Grawert
0b1c0642f7
add multiverse to sources.list for snappy kernel builds
9 years ago
Oliver Grawert
03f89315cc
add multiverse to sources.list for snappy kernel builds
9 years ago
Adam Conrad
4eae5fbf1d
Follow linux-firmware-raspi2 renaming in the archive for raspi2 images.
9 years ago
Adam Conrad
57c110d861
Transition from ubuntu-snappy to ubuntu-core-snapd-units and snapd.
9 years ago
Oliver Grawert
4d25373897
live-build/ubuntu-core/hooks/25-create-generic-initrd.chroot create a generic initrd inside the snappy os-snap
9 years ago
Daniel Watkins
2909aba4b5
Enable building of powerpc cloud images.
9 years ago
Adam Conrad
5ac47abce7
Remove obsolete pvr-omap4 special-casing to simplify configs.
9 years ago
Colin Watson
af517f422a
Follow rename of ubuntustudio-font-meta to ubuntustudio-fonts.
9 years ago
Oliver Grawert
753bd8acd0
remove grub-efi-arm64 to the arm64 OS snap as it breaks uboot
9 years ago
Adam Conrad
d77a731d63
Build raspi2 images with multiverse for firmware.
9 years ago
Michael Vogt
f94b5db6e3
add grub-efi-arm64 to the arm64 OS snap
9 years ago
Daniel Watkins
6f6fb2834b
Refactor ubuntu-cpc hooks to hard-code producing an 'ext4' rootfs, which
...
is used outside of the livecd-rootfs build process (specifically for EC2
publication).
9 years ago
Adam Conrad
cbbb38a364
Add net.ifnames=0 to the raspi2 cmdline injected into raspi2 builds.
9 years ago
Steve Langasek
1d428db1ab
Switch to passing the raspi2 boot options entirely via cmdline.txt to match the latest flash-kernel change
9 years ago
Steve Langasek
a92bf11406
Initial support for raspi2 subarch.
9 years ago
Steve Langasek
0b279f731b
Refactor ubuntu-cpc hooks to always produce a 'plain' rootfs via
...
live-build and reuse this for the tarball, instead of lb_binary_rootfs
creating some artifact that we ignore / throw away.
9 years ago