Commit Graph

19121 Commits

Author SHA1 Message Date
Flatcar Buildbot
5fb6c4e048
sys-kernel/coreos-sources: Update from 6.6.51 to 6.6.52 2024-09-19 13:46:27 +02:00
flatcar-ci
8c5cd5bcfd New version: main-4097.0.0-nightly-20240918-2100 2024-09-18 21:00:24 +00:00
Flatcar Buildbot
cffbf33b13 Update mantle container image to latest HEAD 2024-09-17 21:00:44 +00:00
flatcar-ci
ad32cbd71a New version: main-4096.0.0-nightly-20240917-2100 2024-09-17 21:00:27 +00:00
Jeremi Piotrowski
a23e5bbed2
Merge pull request #2299 from flatcar/jepio+sayan/sboot-lockdown
secure boot: lockdown, grub fallback, CI
2024-09-17 13:55:49 +02:00
James Le Cuirot
ea395fe5c9
Merge pull request #2318 from flatcar/chewi/grub-2.12
sys-boot/grub: Move to portage-stable, bump to 2.12
2024-09-17 10:31:03 +01:00
Jeremi Piotrowski
580c181df8 sys-kernel/coreos-modules: Enable lockdown when booted with secure boot
This is a requirement of the shim signing process.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-09-17 11:01:06 +02:00
Jeremi Piotrowski
8393a4cf4b sys-kernel/coreos-sources: Add secure-boot-lockdown patches
Shim signing for secure boot requires enforcing lockdown. There are three ways
we can do this:

1. setting CONFIG_LOCK_DOWN_KERNEL_FORCE_INTEGRITY=y. This unconditionally
   prevents loading unsigned kernel modules.
2. setting lockdown=integrity on the kernel cmdline from a signed Grub
   configuration. This would be OK, but Grub is not updated in the field right
   now, so we'd be stuck.
3. incorporate the secure-boot-lockdown patches that other major distros are using.

We're going to go with 3, because this only enforces lockdown when secure boot
is actually enabled and lets us change approach later on.

These patches are sourced from Debian:
https://sources.debian.org/src/linux/6.6.13-1~bpo12%2B1/debian/patches/features/all/lockdown/.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-09-17 11:01:06 +02:00
Mathieu Tortuyaux
00bd0915ce
Merge pull request #2324 from flatcar/linux-6.6.51-main
Upgrade Linux Kernel for main from 6.6.50 to 6.6.51
2024-09-17 09:55:13 +02:00
flatcar-ci
2b10aa94a1 New version: main-4095.0.0-nightly-20240916-2100 2024-09-16 21:00:25 +00:00
Flatcar Buildbot
bc5e1fce44 sys-kernel/coreos-sources: Update from 6.6.50 to 6.6.51 2024-09-16 14:40:58 +00:00
Mathieu Tortuyaux
7234433f87
Merge pull request #2308 from flatcar/tormath1/ignition
sys-kernel/bootengine: pull ignition changes
2024-09-16 14:20:57 +02:00
Mathieu Tortuyaux
c7d080bfb6
Merge pull request #2310 from flatcar/firmware-20240909-main
Upgrade Linux Firmware in main from 20240811 to 20240909
2024-09-16 14:17:43 +02:00
Mathieu Tortuyaux
46d44d3b16
sys-kernel/bootengine: pull ignition changes
this pulls Ignition reordering to fix Equinix Metal issues.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-09-16 09:39:09 +02:00
Flatcar Buildbot
b7bd8570e5 Update mantle container image to latest HEAD 2024-09-14 01:56:57 +00:00
flatcar-ci
4eea8c4a3d New version: main-4092.0.0-nightly-20240913-2100 2024-09-14 01:56:41 +00:00
flatcar-ci
78210dcd9a New version: main-4092.0.0-nightly-20240913-2100-INTERMEDIATE 2024-09-13 21:00:27 +00:00
Thilo Fromm
775cbf6b3e
board-packages: add hyperv hv-daemons (#2319)
This change adds the Azure and HyperV OEM "hv-daemons" to board-packages
so build_packages.sh will actually build these. This un-breaks a build
issue with the Azure and HyperV images.

Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
2024-09-13 15:32:34 +02:00
Mathieu Tortuyaux
664e4271f9
Merge pull request #2311 from flatcar/tormath1/etcd
app-admin/etcd-wrapper: bump etcd version
2024-09-13 09:24:53 +02:00
Mathieu Tortuyaux
100a449a42
app-admin/etcd-wrapper: bump etcd version
required for Kubernetes 1.31 external etcd

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-09-13 09:24:27 +02:00
flatcar-ci
95aade7c4b New version: main-4091.0.0-nightly-20240912-2100 2024-09-12 21:00:27 +00:00
Thilo Fromm
32c40fa1cb
oem-azure: add hyperv daemons (#2309)
* oem-azure: add hyperv daemons

This change adds hyperv daemons hv_fcopy, hv_kvp, and hv_vss to the
Azure and HyperV OEM sysexts. hv_kvp specifically is needed to submit OS version
information to the Azure hypervisor.

The daemons, tough userspace programs, are built from the kernel sources
as they are included in the Linux kernel.

As the ebuild is (somewhat)  kernel specific, it should be updated when the kernel
is updated. Respective additions have been made to the kernel update GitHub actions
automation.

Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
Co-authored-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-09-12 16:37:25 +02:00
James Le Cuirot
9d2026b40e
sys-boot/grub: Move to portage-stable, bump to 2.12
We can now use Gentoo's upstream ebuild, save for a few small overrides
in a separate env file.

This bumps GRUB from 2.06 to 2.12, The existing two Flatcar patches have
been rebased.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2024-09-12 11:55:22 +01:00
Flatcar Buildbot
eb779f0b80 sys-kernel/coreos-firmware: Update from 20240811 to 20240909 2024-09-12 07:13:34 +00:00
Flatcar Buildbot
53efe424a8 Update mantle container image to latest HEAD 2024-09-11 21:00:43 +00:00
flatcar-ci
0d122ee40f New version: main-4090.0.0-nightly-20240911-2100 2024-09-11 21:00:26 +00:00
Krzesimir Nowak
b031f0bc93
Merge pull request #2274 from flatcar/buildbot/weekly-portage-stable-package-updates-2024-09-02
Weekly portage-stable package updates 2024-09-02
2024-09-11 11:15:03 +02:00
flatcar-ci
34a7fbe054 New version: main-4089.0.0-nightly-20240910-2100 2024-09-10 21:00:29 +00:00
Mathieu Tortuyaux
c89130691c
Merge pull request #2296 from flatcar/linux-6.6.50-main
Upgrade Linux Kernel for main from 6.6.48 to 6.6.50
2024-09-10 13:43:33 +02:00
David Eichin
557175b3df disable DHCP rapidcommit for cloudsigma 2024-09-10 07:18:52 +02:00
flatcar-ci
512bc23af8 New version: main-4088.0.0-nightly-20240909-2100 2024-09-09 21:00:26 +00:00
Flatcar Buildbot
02642c2260 sys-kernel/coreos-sources: Update from 6.6.48 to 6.6.50 2024-09-08 07:13:02 +00:00
flatcar-ci
7b130b23f1 New version: main-4085.0.0-nightly-20240906-2100 2024-09-07 01:58:17 +00:00
flatcar-ci
187851a0b1 New version: main-4085.0.0-nightly-20240906-2100-INTERMEDIATE 2024-09-06 21:00:27 +00:00
Mathieu Tortuyaux
abeddbd41b
Merge pull request #2288 from flatcar/tormath1/kernel-indentation
eclass/coreos-kernel: add -Werror=misleading-indentation
2024-09-06 10:28:38 +02:00
flatcar-ci
77db0fec63 New version: main-4084.0.0-nightly-20240905-2100 2024-09-05 21:00:25 +00:00
Mathieu Tortuyaux
565daaba2c
eclass/coreos-kernel: add -Werror=misleading-indentation
To ensure that tested patches are correctly indented.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-09-05 16:57:23 +02:00
Krzesimir Nowak
e893cc89bd overlay coreos/config: Drop split-usr workarounds for sys-apps/kmod 2024-09-05 14:55:31 +02:00
Krzesimir Nowak
c134baccee overlay app-admin/sudo: Keep /etc/sudoers.d directory
It seems to be randomly kept or removed during installation, and we
need the directory when creating the SDK container.
2024-09-05 14:55:31 +02:00
Krzesimir Nowak
c8500797ea overlay profiles: Some cleanups
Mask split-usr globally, not only for generic images. Move some SDK
only USE flags to SDK target profile (cros_host, expat). Drop
duplicated disabling of cups USE flag.
2024-09-05 14:55:31 +02:00
Krzesimir Nowak
c1c162e523 coreos profiles: Drop unused symlink-usr USE flag 2024-09-05 14:55:31 +02:00
Krzesimir Nowak
b0ab201807 overlay sys-kernel/coreos-modules: Drop a mention of symlink-usr 2024-09-05 14:55:31 +02:00
Krzesimir Nowak
83341df9df overlay coreos-base/update_engine: Drop symlink-usr USE flag
It's gone, assuming its enabled.
2024-09-05 14:55:31 +02:00
Krzesimir Nowak
35325ae5c6 overlay sys-apps/baselayout: Refactor and complete merged-usr process
The initial goals of this commit were:

- drop symlink-usr USE flag and keep the code paths where symlink-usr
was evaluated to true,

- make sbin a symlink to its bin counterpart, effectively doing the
merged-sbin process too

- unify filesystem layouts of the SDK and generic images.

But over the course, more changes have accumulated:

- use EAPI 8,

- drop the check_sym function - it never worked due to typos
  (real_path and real_value versus read_path and read_value),

- do the SDK-specific or generic-image-specific customizations in the
  src_prepare phase,

- follow the changes made in the baselayout repository:

  - remove unnecessary tmpfiles.d conf files instead of fiddling with
    sed to edit them:

    - in the baselayout repo, the conf files were split to make it
      possible,

  - use tmpfiles.d to create core home directory:

    - used to be done differently for generic images and for SDKs,

  - use dumb-tmpfiles-proc.sh instead of systemd's tmpfile processor:

    - this removes the need to install valid passwd and group files
      into /etc before,

    - also it seems to be fixing some issues with installing files for
      users and groups that weren't there anyway,

  - drop generating of baselayout-usr in src_compile, and creating
    debug directories in pkg_preinst, these are handled by the
    Makefile now

    - this made inheriting systemd and tmpfiles eclasses unnecessary

- install files in the src_install phase and install the directory
  structure in the pkg_preinst phase:

  - empty directories created in src_install are not guaranteed to be
    preserved, and indeed at some point /usr/local/bin was not
    installed on the final rootfs,

- currently installed /etc/passwd and /etc/group are now empty

- drop DEPEND variable entirely - systemd isn't really needed, I don't
  know what was the point of depending on libidn2, and the rest were
  conflicts with some old versions of packages.
2024-09-05 14:55:31 +02:00
Flatcar Buildbot
1c547f8ba4 Update mantle container image to latest HEAD 2024-09-05 12:35:44 +00:00
flatcar-ci
a2598effed New version: main-4083.0.0-nightly-20240904-2100 2024-09-04 21:00:26 +00:00
Krzesimir Nowak
e99bbf87a8
overlay coreos/config: Use newins with stdin for pkgcheck.conf
Co-authored-by: James Le Cuirot <jlecuirot@microsoft.com>
2024-09-04 16:09:16 +02:00
Krzesimir Nowak
fa404f874e overlay coreos/config: Add a default config for dev-util/pkgcheck 2024-09-04 15:58:33 +02:00
Krzesimir Nowak
2d1c959b8f overlay coreos/user-patches: Add a patch for sys-apps/pkgcore 2024-09-04 14:44:38 +02:00
Krzesimir Nowak
cebbe8f683 overlay coreos-devel/sdk-depends: Add dev-util/pkgcheck 2024-09-04 14:44:38 +02:00