3002 Commits

Author SHA1 Message Date
Dimitri John Ledkov
b194e57eff
Merge branch 'usr-merge' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2021-05-05 11:38:55 +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
56d64dbf31
Merge branch 'magic-proxy-fixes' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2021-04-30 17:51:46 +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
Dimitri John Ledkov
143e72abdc
Merge branch 'fix-grub-images' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2021-04-30 17:39:45 +01:00
Michael Hudson-Doyle
f54cb7094f releasing package livecd-rootfs version 2.720 2.720 2021-04-30 11:48:56 +12:00
Michael Hudson-Doyle
b3b1a5f5ed Merge branch 'new-ubuntu-oci' into ubuntu/master 2021-04-30 11:48:16 +12:00
Michael Hudson-Doyle
b1c7f9f63b add changelog entry for addition of ubuntu-oci project 2021-04-30 11:48:00 +12: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
Dimitri John Ledkov
41fd537bc2
999-cpc-fixes: enable more code on grub2 armhf & arm64
armhf & arm64 images use grub. And despite disk-image &
disk-image-uefi installing all the grubs, some of the configuration is
done in the 999-cpc-fixes. Specifically removal of "quiet splash" is
done there, but not active on armhf & arm64. This results in arm
images to boot with "quiet splash".

Enable running the later portions of 999-cpc-fixes on armhf & arm64.

Drop duplicate call to update-grub, as update-grub2 is simply a
symlink to update-grub.

Add a guard around the call to reconfigure grub-pc, to only do that
when it is installed.

This makes armhf & arm64 uefi images consistent with amd64 uefi
images.

LP: #1925780
2021-04-23 12:47:18 +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
05023332bc releasing package livecd-rootfs version 2.719 2.719 2021-04-19 23:57:39 +02:00
Łukasz 'sil2100' Zemczak
37e3826d69 Changelog 2021-04-19 22:57:59 +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
Michael Hudson-Doyle
fbdf8bf063 releasing package livecd-rootfs version 2.718 2.718 2021-03-30 10:57:49 +13:00
Michael Hudson-Doyle
e28938b482 Do not have cloud-init set the installer user's password to something random during boot, as cloud-init now hides the value it was set to much better. Instead, subiquity will reset the password itself. 2021-03-24 14:09:12 +13:00
Dimitri John Ledkov
f700f07d59
releasing package livecd-rootfs version 2.717 2.717 2021-03-11 17:08:58 +00:00
Dimitri John Ledkov
4428dbbf8f
riscv64: generalise slightly how preinstalled server images are built, to allow using subarch to pick u-boot binaries to install. 2021-03-11 17:08:15 +00:00
Michael Hudson-Doyle
4514901328 releasing package livecd-rootfs version 2.716 2.716 2021-03-11 10:50:11 +13:00
Michael Hudson-Doyle
d5bc59f2fb Use the correct config keys in suppressing cloud-init output during boot of live server ISO. 2021-03-10 12:03:56 +13:00
Robert C Jennings
49c01ef0a0
releasing package livecd-rootfs version 2.715 2.715 2021-03-02 11:59:59 -06:00
Gauthier Jolly
76330897dc ubuntu-cpc: make /etc/fstab consistent with other ubuntu images
Modify the mount options in fstab to make the Cloud images consistent
with the default we have elsewhere.

LP: #1902103
LP: #1881006
2021-03-02 14:21:36 +00:00
Michael Hudson-Doyle
8725445e01 releasing package livecd-rootfs version 2.714 2.714 2021-02-26 09:58:07 +13:00
Michael Hudson-Doyle
974bb5bfd1 Merge branch 'quieter-live-server-boot' into ubuntu/master 2021-02-25 15:26:23 +13:00
Łukasz 'sil2100' Zemczak
bf4be0a585 releasing package livecd-rootfs version 2.713 2.713 2021-02-24 12:58:35 +01:00
Łukasz 'sil2100' Zemczak
1b0212a76c Use the full name of the 'boot' flag in parted calls 2021-02-24 12:58:08 +01:00
Robert C Jennings
81fe9de42f
releasing package livecd-rootfs version 2.712 2.712 2021-02-23 14:33:04 -06:00
Michael Hudson-Doyle
8ab15a145d set new cloud-init option to suppress final bit of output during boot 2021-02-23 11:06:19 +13:00
Michael Hudson-Doyle
52c8985454 Suppress cloud-init output during boot of live server ISO. 2021-02-18 13:08:09 +13:00
Cody Shepherd
265ef9797b
Update changelog 2021-02-12 13:59:51 -08:00
Cody Shepherd
4acd2e3085
Install lxd-agent-loader in bootable buildd image to improve user
experience with lxd vms
2021-02-12 13:24:54 -08:00
Cody Shepherd
5de661e137
Set grub configs to hide boot menu and enable output on ttyS0 2021-02-10 10:11:22 -08:00
Dimitri John Ledkov
87454604ec
releasing package livecd-rootfs version 2.711 2.711 2021-02-05 12:48:57 +00:00
Dimitri John Ledkov
82aca610dc
Merge remote-tracking branch 'xnox/fix-misisng-systemd-detect-virt' into ubuntu/master 2021-02-05 12:48:18 +00:00
Dimitri John Ledkov
72f2647eb0
Merge remote-tracking branch 'xnox/fsck-all-the-things' into ubuntu/master 2021-02-05 12:47:53 +00:00
Dimitri John Ledkov
096a00f404
functions: stop removing systemd-detect-virt unconditionally in undivert_grub
One can call divert_grub; replace_kernel; undivert_grub. And
replace_kernel will call into force_boot_without_initramfs, which
under certain conditions can call divert_grub &
undivert_grub. Resulting in undivert_grub called twice in a row.

When undivert_grub is called twice in a row it wipes
systemd-detect-virt binary from disk, as the rm call is unguarded to
check that there is something to divert if systemd package is
installed. And if the systemd package is not installed, it does not
check that systemd-detect-virt file is in-fact what divert_grub has
created.

Add a guard to check that systemd-detect-virt is the placeholder one,
before removing it.

LP: #1902260
2021-02-03 14:45:54 +00:00
Dimitri John Ledkov
33b7272a23
Perform fsck on all rootfs.
LP: #1912835
2021-02-01 14:45:42 +00:00
Dimitri John Ledkov
d699d8db19
releasing package livecd-rootfs version 2.710 2.710 2021-01-28 10:43:37 +00:00
Dimitri John Ledkov
0e2208121e
Merge branch 'fix-esp' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2021-01-28 10:43:13 +00:00
Dimitri John Ledkov
53b28d5f58
esp: perform fsck.
LP: #1912835
2021-01-22 19:16:47 +00:00
Dimitri John Ledkov
7c760864fd
esp: install grub in ubuntu bootloader id path, instead of removable.
Do not use removable uefi bootloader path in the cloud-images by
default, as that prevents upgrades of the bootloader.

LP: #1912830
2021-01-22 19:09:25 +00:00
Iain Lane
126ed87783
Update & finalise changelog 2.709 2021-01-04 10:38:25 +00: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
1a979b1528 Desktop is using the hwe kernel, do the same on canary 2020-12-15 16:51:32 +01:00
Dimitri John Ledkov
890f24c0e1
releasing package livecd-rootfs version 2.708 2.708 2020-12-08 09:15:57 +00:00
Dimitri John Ledkov
6746d9fbd9
disk-image-uefi: fix riscv64 subarch user-data. 2020-12-08 09:15:09 +00:00