Commit Graph

17502 Commits

Author SHA1 Message Date
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
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
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 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
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
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
Jeremi Piotrowski
3c0283f74a sys-apps/systemd: Add hook to ensure timesyncd starts after sysexts
Sysexts can includes services that have a Conflicts=systemd-timesyncd
entry. To ensure that this takes effect, start timesyncd after the
ensure-sysext.service.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-25 17:07:25 +00:00
Jeremi Piotrowski
c5efeec607 coreos-devel/board-packages: Add chrony to RDEPENDS
Add chrony to RDEPENDS so that it is built for the board sysroot and can
be included into a sysext.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-25 17:07:25 +00:00
Jeremi Piotrowski
2814c32bbf profiles: Disable readline support for chrony by default
We don't care too much for readline support and this avoids pulling
libedit into a sysext that wants to ship chrony.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-25 17:07:25 +00:00
Jeremi Piotrowski
2a33badb2a sys-kernel/coreos-modules: Switch PTP support to modules
PTP_1588_CLOCK defaults to =y, make it =m explicitly. Switch
PTP_1588_CLOCK_KVM to module as well, so tath it doesn't load on non-KVM
platforms. Enable PTP_1588_CLOCK_VMW so that PTP timesync to the host is
available there as well.

We don't need PTP support to be compiled into the kernel, it is not
essential for system boot.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-25 17:07:25 +00:00
Jeremi Piotrowski
ca9dc79616 Import net-misc/chrony ebuild from Gentoo
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-25 17:07:25 +00:00
Jeremi Piotrowski
c1261a6581 sys-kernel/coreos-modules: Sort config symbols
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-25 17:07:25 +00:00
Henrik Schmidt
44952365d7 sys-kernel/coreos-modules: Enable CONFIG_IGC=y
This adds the Intel IGC driver for 2.5G NICs (I225/I226).

Fedora CoreOS comes with those drivers as well:
```
core@localhost:~$ cat /etc/os-release | grep PRETTY_NAME
PRETTY_NAME="Fedora CoreOS 39.20240225.3.0"
core@localhost:~$ lsmod | grep igc
igc                   192512  0
```
2024-03-26 00:45:51 +09:00
Jeremi Piotrowski
bf0ea52067
Merge pull request #1772 from george-angel/zram-generator
Adding a new zram-generator package
2024-03-25 13:52:46 +01:00
George Angel
7028f6e771
Update sdk_container/src/third_party/portage-stable/changelog/changes/2024-03-21-zram-generator.md
Co-authored-by: Mathieu Tortuyaux <mathieu.tortuyaux@gmail.com>
2024-03-25 20:56:13 +10:00
flatcar-ci
6ebffa7a4f New version: main-3916.0.0-nightly-20240321-2100 2024-03-21 21:00:27 +00:00
Krzesimir Nowak
48510361cb overlay profiles: Drop accept keywords for sys-libs/binutils-libs 2024-03-21 17:44:52 +01:00
Krzesimir Nowak
f0c27d4d5d overlay profiles: Drop accept keywords for sys-devel/binutils 2024-03-21 17:44:52 +01:00
Krzesimir Nowak
932af8d20e overlay profiles: Update accept keywords for net-misc/curl 2024-03-21 17:44:52 +01:00
Krzesimir Nowak
0d5da87d30 overlay profiles: Update accept keywords for sys-libs/readline 2024-03-21 17:44:52 +01:00
Krzesimir Nowak
8733a0b022 overlay profiles: Update accept keywords for app-shells/bash 2024-03-21 17:44:52 +01:00
Krzesimir Nowak
73a822cd78 overlay profiles: Add accept keywords for dev-util/pahole 2024-03-21 17:44:52 +01:00
Krzesimir Nowak
a01892490d overlay profiles: Update accept keywords for dev-util/bpftool 2024-03-21 17:44:52 +01:00
Krzesimir Nowak
8f59426697 dev-libs/libtracefs: Add from Gentoo
It's from Gentoo commit 4cd120f70359b4902014eba8321f94642229c0f1.
2024-03-21 17:44:52 +01:00
Krzesimir Nowak
6ce7db0ba6 dev-libs/libtraceevent: Add from Gentoo
It's from Gentoo commit b8138ab0597bf8a92a86b838c139cf46cda874bd.
2024-03-21 17:44:52 +01:00
Krzesimir Nowak
dd017bb0ad overlay profiles: Disable LLVM in dev-util/bpftool 2024-03-21 17:44:52 +01:00