750 Commits

Author SHA1 Message Date
CloudBuilder
24daa1af63 Imported 2.747
No change rebuild
2021-12-14 15:25:44 +00:00
Sebastien Bacher
808220c868 Enable universe sources on the desktop canary 2021-10-05 17:16:22 +02:00
Brian Murray
85fb768f4f Properly check ARCH when setting the intel-iot model. 2021-09-29 16:34:51 -07:00
Michael Hudson-Doyle
f5bdeaf4fb Merge branch 'language-support-in-catalogs' into ubuntu/master 2021-09-27 11:09:39 +13:00
Michael Hudson-Doyle
391439d44c Record information about locale support (in particular, whether to install langpacks and which languages have pre-baked squashfses). 2021-09-27 11:06:01 +13:00
Dan Bungert
a96d56a110 desktop: install-sources.yaml type fsimage-layered 2021-09-24 15:25:40 -06:00
Steve Langasek
9e6b983728 Merge remote-tracking branch 'toabctl/keep-debian-native-package-changelogs' into ubuntu/master 2021-09-20 09:39:17 -07:00
Thomas Bechtold
2b2f67c7fb Keep changelogs in minimized builds for native deb pkgs
Debian changelog.Debian.* files are already keept for minimized
builds. But those changelogs are from non-native .deb packages (see
man dh_installchangelogs). Native .deb packages name their changelog
just changelog.* . So keep them in a minimized build, too.

LP: #1943114
2021-09-20 13:43:27 +02:00
Michael Hudson-Doyle
8f8fc220c7 Generate source catalogs for the desktop canary build. 2021-09-14 21:28:50 +12:00
Michael Hudson-Doyle
fe38bd02c1 Change the per language layers in the desktop canary build to have more regular names (and make their implementation better documented and hopefully more comprehensible). 2021-08-27 11:52:08 +12:00
Michael Hudson-Doyle
17279822d5 Get source catalog translations from subiquity git, as brz is in universe. 2021-08-20 10:32:13 +12:00
Michael Hudson-Doyle
cda8c920dd create source catalogs for live server install sources 2021-08-17 16:07:07 +12:00
Brian Murray
44384357ad add missing for intel-iot 2021-08-04 08:51:01 -07:00
Michael Hudson-Doyle
116a51a080 bootstrap the minimal variant for the minimal server layer 2021-08-03 16:36:02 +12:00
Michael Hudson-Doyle
5fda0bb2aa apply dpkg minimizations to minimal layer, and undo them for full layer 2021-08-03 16:36:02 +12:00
Michael Hudson-Doyle
d11c71a686 add a minimal server layer under the full server layer 2021-08-03 16:36:00 +12:00
Sebastien Bacher
5ba545f2b6 Tweaks to the canary packages
Install cloud-init on the live and target, remove ubiquity
2021-07-27 10:49:03 +02:00
Sebastien Bacher
cdbb5598ad Remove lupin-casper from the canary image
The description states it was for wubi which we aren't using anymore
2021-07-27 10:48:48 +02:00
Brian Murray
dbab97caa9 switch amd64 to the arch variable 2021-07-26 11:45:00 -07:00
Brian Murray
c09110cfa8 add support for intel-iot models 2021-07-16 11:03:41 -07:00
Brian Murray
f2c1300f71 rename iotg iot so the names are consistent with the models 2021-07-16 10:14:00 -07:00
Michael Hudson-Doyle
bb0bba1793 address review comments 2021-07-08 11:50:22 +12:00
Michael Hudson-Doyle
f563b310d3 update auto/config for move of live-server to layers 2021-07-07 19:31:53 +12:00
Michael Hudson-Doyle
fb8af1fd80 add a way to prevent a layer (and descendants) from being made into a sqashfs
for the live server build, i want to make a layer to install the kernel
into but do not want the layer itself to be published.

the implementation is a bit clunky but it works.
2021-07-01 11:16:10 +12:00
Michael Hudson-Doyle
75165aeb34 replace call to Echo_warning with plan echo as former is not defined at this point 2021-07-01 11:16:10 +12:00
Brian Murray
ad3e755974 rename iotg to intel-iotg so its slightly more descriptive 2021-06-30 15:43:47 -07:00
Brian Murray
066422894b also support building an ubuntu-cpc amd64 iotg image 2021-06-23 11:09:19 -07:00
Brian Murray
d8b24aaae6 add iotg as a subarch of amd64 w/ image-intel kernel 2021-06-23 09:12:44 -07:00
Łukasz 'sil2100' Zemczak
83852ca96b Revert previous change, use ubuntu-server-raspi task name. 2021-06-15 09:45:40 +02:00
Łukasz 'sil2100' Zemczak
d2cfa41ec2 Use the server-raspi task name instead of ubuntu-server-raspi 2021-06-09 11:30:38 +02:00
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
2021-06-08 15:20:41 +02:00
Sebastien Bacher
740c960575 The u-boot-tools package was typoed
Should fix the ubuntu-preinstalled impish build
2021-05-19 16:05:15 +02:00
Michael Hudson-Doyle
5c3bb6896c Remove all references to the "base" project, which has not been built since 16.04 release day. 2021-05-13 05:24:48 +12:00
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. 2021-05-11 17:12:20 -07:00
Dimitri John Ledkov
f58b0693f6
Merge branch 'raspi-server-seed' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master 2021-05-05 12:01:37 +01:00
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>
2021-04-30 17:54:00 +01:00
Dimitri John Ledkov
dc2a472871
magic-proxy: replace http.client with urllib calls
Initialize passwords from sources.list.
Use urllib everywhere.
This way authentication is added to all the required requests.
And incoming headers, are passed to the outgoing requests.
And all the response headers, are passed to the original client.
And all the TCP & HTTP errors are passed back to the client.
Thus should avoiding hanging requests upon failure.
Also rewrite the URI when requesting things.
This allows to use private-ppa.buildd outside of launchpad.

Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
2021-04-30 17:50:28 +01:00
Dimitri John Ledkov
1cd8fe14b7
Change iptables calls, to query rules and quickly check that connectivity works after transparent proxy has been installed. LP: #1917920 2021-04-30 17:48:09 +01:00
Dimitri John Ledkov
20f76e7cf8
Merge branch 'preinstalled' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2021-04-30 17:46:20 +01:00
Michael Hudson-Doyle
749bdeac44 Merge branch 'ubuntu/master' into new-ubuntu-oci 2021-04-30 11:46:16 +12:00
Dimitri John Ledkov
d5a8116428
Add support for generic preinstalled images. LP: #1923832 2021-04-26 11:04:37 +01:00
Thomas Bechtold
a81972a58b
add configure_oci function and use it in ubuntu-oci
With that, the Dockerfile modifications[0] currently done externally
are done now here. That means that the created rootfs tarball can be
directly used within a Dockerfile to create a container from scratch:

FROM scratch
ADD livecd.ubuntu-oci.rootfs.tar.gz /
CMD ["/bin/bash"]

[0]
https://github.com/tianon/docker-brew-ubuntu-core/blob/master/update.sh
2021-04-22 08:48:00 +02:00
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
2021-04-22 07:39:15 +02:00
Łukasz 'sil2100' Zemczak
52f3b69331 Enable using ubuntu-server-raspi, clean up handling of raspi setup. 2021-04-20 11:15:44 +02:00
Łukasz 'sil2100' Zemczak
b9eb0aaee3 Drop imx6 support as it never really happened. 2021-04-20 10:54:50 +02:00
Łukasz 'sil2100' Zemczak
1d537bf78d Temporarily hack in ubuntu-raspi-settings for raspi images (we should be using seeds tho). 2021-04-19 21:49:43 +02:00
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.
2021-01-04 10:25:09 +00:00
Sebastien Bacher
ed8ee60c98 Desktop is using the hwe kernel, do the same on canary 2020-12-03 20:29:59 +01:00
Łukasz 'sil2100' Zemczak
c2733a55f7 Still hardcode UC20 amd64 image size, but to the same value as for UC16 and UC18. 2020-12-03 12:18:57 +01:00
Dimitri John Ledkov
2f84bc9a84
config: on hirsute build UC22 images 2020-12-02 11:05:18 +00:00