Commit Graph

28179 Commits

Author SHA1 Message Date
Kai Lüke
afa363df7b
Merge pull request #1816 from flatcar/kai/remove-xz-5.6
app-arch/xz-utils: Sync with Gentoo (revert to known-good)
2024-04-02 16:03:43 +02:00
Kai Lueke
29dae1e506 app-arch/xz-utils: Sync with Gentoo (revert to known-good)
The 5.6 release contained a backdoor for SSH. The 5.6 release wasn't
used in Flatcar and so far it seems that the backdoor wouldn't even be
compiled for Gentoo. However, we so far don't know whether the other
patches are malicious.

Revert to 5.4.2 as last known-good release (like Gentoo did).
Note that the Flatcar main branch had a copy of the 5.6 ebuild but was
not using it. Flatcar Alpha was on 5.4.6-r1, so before the backdoor but
the malicious contributor did other changes of unclear impact part of
this release. Similarly, Beta is on 5.4.5 and Stable is on 5.4.3. These
should get downgraded, too.
2024-04-02 16:03:16 +02:00
Jeremi Piotrowski
03d4a5a2b1
Merge pull request #1819 from flatcar/jepio/remove-stale-licenses
coreos-overlay/licenses: Remove unused proprietary licenses
2024-04-02 12:46:14 +01:00
Flatcar Buildbot
a60b812a57 dev-lang/rust: Update from 1.77.0 to 1.77.1 2024-04-02 13:19:59 +02:00
Jeremi Piotrowski
5e205d5789 coreos-overlay/licenses: Remove unused proprietary licenses
These come from ChromeOS, we don't ship and never shipped anything under those
licenses with Flatcar.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-04-02 11:32:39 +02:00
flatcar-ci
cdf7d67389 New version: main-3927.0.0-nightly-20240401-2100 2024-04-01 21:00:27 +00:00
flatcar-ci
a5336c651a New version: main-3923.0.0-nightly-20240328-2100 2024-03-28 21:00:27 +00:00
Mathieu Tortuyaux
4eae95e960
Merge pull request #1811 from flatcar/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2024-03-28 18:38:09 +01:00
Flatcar Buildbot
cd143dbc62 Update mantle container image to latest HEAD 2024-03-28 14:23:07 +00:00
Jeremi Piotrowski
e4f3eb3f09
Merge pull request #1780 from flatcar/jepio/portage-coreos-cargo
Allow injecting coreos-cargo.eclass into portage-stable ebuilds
2024-03-28 15:22:47 +01:00
Jeremi Piotrowski
b34894e37e coreos: Add coreos-cargo hook for sys-block/thin-provisioning-tools
We currently ship an amd64 binary of thin-provisioning-tools on arm64.
To fix this add a hook that hijacks src_unpack and calls the
cross-compilation friendly implementation. We also need to fixup the
src_install implementation since it looks for the produced binary in the
default cargo location.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-28 12:58:53 +01:00
Jeremi Piotrowski
44bb4367b4 coreos: Add coreos-cargo hook for sys-apps/zram-generator
The hook hijacks src_unpack and calls the cross-compilation friendly
implementation.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-28 12:58:53 +01:00
Jeremi Piotrowski
0dbf112cf5 coreos-cargo.eclass: Introduce variable to skip inherit
Gentoo's cargo based ebuilds don't cross-compile well, so we need a way
to inject coreos-cargo.eclass into them. Otherwise we'd need to fork the
ebuilds into coreos-overlay and maintain them ourselves.

The way we can do this is by sourcing the eclass from cros hooks and
overriding src_unpack to call the eclass implementation. Inheriting an
eclass is not allowed from hooks. Since we can't call any of the
inherits a variable is introduced to skip them and EXPORT_FUNCTIONS.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-28 12:56:37 +01:00
Jeremi Piotrowski
dd9e0303c4
Merge pull request #1792 from flatcar/jepio/clock
NTP/PTP by default on Azure/AWS/GCP
2024-03-28 12:14:27 +01:00
Jeremi Piotrowski
d93f0807b0 changelog: Add entry for PTP/NTP changes
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-28 12:13:48 +01:00
Jeremi Piotrowski
db12d276c7 .github: Add chrony to package sync list
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-28 12:08:54 +01:00
Kai Lüke
c40f0ebf5a
Merge pull request #1807 from flatcar/kai/systemd-cryptsetup
sys-kernel/bootengine: Install libcryptsetup-token-systemd-tpm2 plugin
2024-03-28 11:13:45 +01:00
Kai Lueke
44086829b0 sys-kernel/bootengine: Install libcryptsetup-token-systemd-tpm2 plugin
This pulls in https://github.com/flatcar/bootengine/pull/93
to support systemd-cryptenroll for the rootfs with TPMs.
2024-03-28 16:55:19 +09:00
Krzesimir Nowak
7574abb093
Merge pull request #1805 from flatcar/krnowak/tpm-tang-cleanups
Cleanups
2024-03-28 08:44:38 +01:00
Krzesimir Nowak
cacfe9f17c .github: Put newly added packages under automation 2024-03-28 08:44:16 +01:00
Krzesimir Nowak
3bad970c6c sys-auth: Removed botched package
It was supposed to be sys-auth/polkit, but we already have in overlay.
Maybe needs an update or rework to move it to portage-stable.
2024-03-28 08:44:16 +01:00
Krzesimir Nowak
033fddbd0c sys-apps/keyutils: Drop duplicated package
We already have sys-apps/keyutils in overlay. Possibly it would need
an update or maybe a rework to move it back to portage-stable.
2024-03-28 08:44:16 +01:00
Krzesimir Nowak
07f5c3fa69 overlay dev-libs/luksmeta: Move from portage-stable
This package in not in Gentoo, only GURU, so move it to overlay.
Portage-stable should be only for Gentoo packages.
2024-03-28 08:44:16 +01:00
Krzesimir Nowak
af6dd94483 overlay dev-libs/jose: Move from portage-stable
This package in not in Gentoo, only GURU, so move it to overlay.
Portage-stable should be only for Gentoo packages.
2024-03-28 08:44:16 +01:00
flatcar-ci
b9d1ea64fb New version: main-3922.0.0-nightly-20240327-2100 2024-03-27 21:00:24 +00:00
Gabriel
7db8df4ea4
Merge pull request #1790 from flatcar/gabriel-samfira/bump-coreos-cloudinit
Update coreos-cloudinit to latest main branch
2024-03-27 19:59:02 +02:00
Gabriel
d47a052ebf Update changelog/bugfixes/2024-03-25-disable-user-configdrive-on-openstack.md
Co-authored-by: Kai Lüke <pothos@users.noreply.github.com>
2024-03-27 17:05:46 +02:00
Gabriel Adrian Samfira
041662aaa9 Update coreos-cloudinit to latest main branch
This change updates coreos-cloudinit to the latest flatcar-master commit.

This change disables user-configdrive.service on OpenStack,
as coreos-cloudinit.service already runs on OpenStack when the system is
not configured via ignition.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2024-03-27 17:05:46 +02:00
Dongsu Park
21a7da41fc
Merge pull request #1797 from flatcar/vmware-12.4.0-main
Upgrade open-vm-tools in main from 12.3.5 to 12.4.0
2024-03-27 14:21:38 +01:00
Dongsu Park
502596592c
Merge pull request #1793 from flatcar/rust-1.77.0-main
Upgrade dev-lang/rust and virtual/rust in main from 1.76.0 to 1.77.0
2024-03-27 14:15:17 +01:00
Kai Lueke
f04ba66ef1 sys-kernel/bootengine: Use right merge commit ID
Somehow I used the mantle merge commit ID and not bootengine.
2024-03-27 19:52:03 +09:00
simoncampion
a5364e0a08
sys-kernel/bootengine: Bump commit for root unlocking service (#1787)
Co-authored-by: Simon Campion <simon1000010@gmail.com>
2024-03-27 10:28:53 +01:00
Flatcar Buildbot
7da15461c7 Update mantle container image to latest HEAD 2024-03-27 10:24:20 +01:00
Kai Lueke
0fa005d482 profiles: Enable TPM2 support in systemd
We could use systemd-cryptenroll and cryptsetup with a TPM device but
so far the support was not compiled in.
Enable the use flags for TPM2 support in systemd.
2024-03-27 10:20:38 +01:00
Dongsu Park
99c4e7f640 dev-lang/rust: fix build failure of patch 119445
Adjust the patch 119445 for Rust 1.77.0, to fix build failure started
to happen with >= 1.77.0
2024-03-27 10:07:27 +01:00
Flatcar Buildbot
9c1e19f2a6 dev-lang/rust: Update from 1.76.0 to 1.77.0 2024-03-27 10:07:27 +01:00
Jeremi Piotrowski
27065b06d3
Merge pull request #1796 from flatcar/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2024-03-27 09:50:36 +01:00
Flatcar Buildbot
25c05d92e2 app-emulation/open-vm-tools: Update from 12.3.5 to 12.4.0 2024-03-27 07:07:00 +00:00
Flatcar Buildbot
54975e6cad Update mantle container image to latest HEAD 2024-03-26 21:00:44 +00:00
flatcar-ci
829de89c8a New version: main-3921.0.0-nightly-20240326-2100 2024-03-26 21:00:26 +00:00
Jeremi Piotrowski
feb6a36a14 coreos-base/oem-gce: Enable ntpd by default
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-26 15:09:18 +01:00
Jeremi Piotrowski
cfc6d00a8a coreos-base/oem-ami: Enable ntpd by default
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-26 15:09:01 +01:00
Jeremi Piotrowski
e35e22ea27 coreos-base/misc-files: Add AWS/GPC time sync service to default ntp.conf
The goal is to enable ntpd by default on AWS/GCP with using the cloud provided
ntp endpoint.  Enabling ntpd.service is the easy part. Enabling the correct ntp
server is trickier. I would love to ship an OEM specific ntp.conf, but this
might interfere with user modifications to either ntpd.service or ntp.conf.

The safest way to implement this is to add the AWS/GCP time sync address
(which are link-local address) to the default ntp.conf. This will work
on AWS/GCP where ntpd will be enabled by default, and if a user on another
platform enables ntpd they will simply have a non-responsive source in
their server list - which is not a problem for ntpd.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-26 15:08:07 +01:00
Jeremi Piotrowski
d99606f1e9 coreos-base/coreos-init: Bump commit for /dev/ptp_hyperv systemd unit rule
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-26 15:08:07 +01:00
Jeremi Piotrowski
81ca149511 coreos-base/oem-azure: Bump ebuild revision
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-26 15:08:07 +01:00
Kai Lüke
e5930f785f
Merge pull request #1785 from daMupfel/dont-remove-snapshot-on-gc-after-lease-expiration
changelog: upgrade toolbox to latest version
2024-03-26 17:31:15 +09:00
David Eichin
e5179b2e78 changelog: upgrade toolbox to latest version
This version fixes that mounted snapshots with ctr are being gc'ed which
breaks the toolbox.
2024-03-26 08:25:57 +01:00
flatcar-ci
53bc4e9ed7 New version: main-3920.0.0-nightly-20240325-2100 2024-03-25 21:00:29 +00:00
Jeremi Piotrowski
f1188f4be6 coreos-base/oem-azure: Add dropin to add chrony dependency on /dev/ptp_hyperv
Inspired by https://github.com/microsoft/azurelinux/pull/6234, requires
a udev rule to be shipped with the OS, since udev rules in sysexts don't
quite work.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-25 17:07:25 +00:00
Jeremi Piotrowski
9d065d1cf5 coreos-base/oem-azure: Add chrony to sysext
Along with configuration, tmpfiles setup and service dependencies. The
files are added through normal ebuild mechanisms. The config file is
based on what Ubuntu ships on Azure.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-25 17:07:25 +00:00