Michael Hudson-Doyle
75165aeb34
replace call to Echo_warning with plan echo as former is not defined at this point
4 years ago
Brian Murray
ad3e755974
rename iotg to intel-iotg so its slightly more descriptive
4 years ago
Brian Murray
066422894b
also support building an ubuntu-cpc amd64 iotg image
4 years ago
Brian Murray
d8b24aaae6
add iotg as a subarch of amd64 w/ image-intel kernel
4 years ago
Łukasz 'sil2100' Zemczak
83852ca96b
Revert previous change, use ubuntu-server-raspi task name.
4 years ago
Łukasz 'sil2100' Zemczak
d2cfa41ec2
Use the server-raspi task name instead of ubuntu-server-raspi
4 years ago
Sebastien Bacher
48f3682969
Define a new add_snap and use it for canary
...
We can install the new ubuntu-desktop-installer on the iso this way
4 years ago
Sebastien Bacher
740c960575
The u-boot-tools package was typoed
...
Should fix the ubuntu-preinstalled impish build
4 years ago
Michael Hudson-Doyle
5c3bb6896c
Remove all references to the "base" project, which has not been built since 16.04 release day.
4 years ago
Steve Langasek
c7b751e401
Drop code for the 'ubuntu-core' project when not using image_format: ubuntu-image, as this is obsolete and not used to build core* snaps in recent series.
4 years ago
Dimitri John Ledkov
f58b0693f6
Merge branch 'raspi-server-seed' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master
4 years ago
Dimitri John Ledkov
dd79c5c75d
buildd: Re-enable merged /usr by default, as it is now required
...
Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
4 years ago
Dimitri John Ledkov
20f76e7cf8
Merge branch 'preinstalled' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master
4 years ago
Michael Hudson-Doyle
749bdeac44
Merge branch 'ubuntu/master' into new-ubuntu-oci
4 years ago
Dimitri John Ledkov
d5a8116428
Add support for generic preinstalled images. LP: #1923832
4 years ago
Thomas Bechtold
ac4a95b931
Add new ubuntu-oci project
...
This is a copy of the ubuntu-base project.
Currently ubuntu-base is used as a base for the docker/OCI container
images. The rootfs tarball that is created with ubuntu-base is
published under [0]. That tarball is used in the FROM statement of the
Dockerfile as base and then a couple of modifications are done inside
of the Dockerfile[1].
The ubuntu-oci project will include the changes that are currently
done in the Dockerfile. With that:
1) a Dockerfile using that tarball will be just a 2 line thing:
FROM scratch
ADD ubuntu-hirsute-core-cloudimg-amd64-root.tar.gz /
CMD ["/bin/bash"]
2) Ubuntu has the full control about the build process of the
docker/OCI container. No external sources (like [1]) need to be
modified anymore.
3) Ubuntu can publish containers without depending on the official
dockerhub containers[2]. Currently the containers for the AWS ECR
registry[3] use as a base[4] the official dockerhub containers. That's
no longer needed because a container just needs a Dockerfile described
in 1)
When the ubuntu-oci project has the modifications from [1] included,
we'll also update [1] to use the ubuntu-oci rootfs tarball as a base
and drop the modifications done at [1].
Note: Creating a new ubuntu-oci project instead of using ubuntu-base
will make sure that we don't break users who are currently using
ubuntu-base rootfs tarballs for doing their own thing.
[0] https://partner-images.canonical.com/core/
[1]
https://github.com/tianon/docker-brew-ubuntu-core/blob/master/update.sh
[2] https://hub.docker.com/_/ubuntu
[3] https://gallery.ecr.aws/ubuntu/ubuntu
[4]
https://launchpad.net/~ubuntu-docker-images/ubuntu-docker-images/+oci/ubuntu/+recipe/ubuntu-20.04
4 years ago
Łukasz 'sil2100' Zemczak
52f3b69331
Enable using ubuntu-server-raspi, clean up handling of raspi setup.
4 years ago
Łukasz 'sil2100' Zemczak
b9eb0aaee3
Drop imx6 support as it never really happened.
4 years ago
Łukasz 'sil2100' Zemczak
1d537bf78d
Temporarily hack in ubuntu-raspi-settings for raspi images (we should be using seeds tho).
4 years ago
Iain Lane
42409e7068
auto/config: Install pi-bluetooth for raspi images
...
These are in restricted, and so cannot be depended on by the
metapackages which are in main.
4 years ago
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