19039 Commits

Author SHA1 Message Date
Flatcar Buildbot
ee925c5372 app-arch/cpio: Sync with Gentoo
It's from Gentoo commit 0e727a3a16bc2abfd39386f10821d3e5ce89c45a.
2024-10-01 12:36:32 +02:00
Flatcar Buildbot
936ee24751 app-arch/bzip2: Sync with Gentoo
It's from Gentoo commit 0e727a3a16bc2abfd39386f10821d3e5ce89c45a.
2024-10-01 12:36:32 +02:00
Flatcar Buildbot
2d5584c80a app-alternatives/yacc: Sync with Gentoo
It's from Gentoo commit 0e727a3a16bc2abfd39386f10821d3e5ce89c45a.
2024-10-01 12:36:32 +02:00
Flatcar Buildbot
bb5566b851 app-alternatives/tar: Sync with Gentoo
It's from Gentoo commit 0e727a3a16bc2abfd39386f10821d3e5ce89c45a.
2024-10-01 12:36:32 +02:00
Flatcar Buildbot
fd72279ee0 app-alternatives/sh: Sync with Gentoo
It's from Gentoo commit 0e727a3a16bc2abfd39386f10821d3e5ce89c45a.
2024-10-01 12:36:32 +02:00
Flatcar Buildbot
b31e69dfaf app-alternatives/ninja: Sync with Gentoo
It's from Gentoo commit 0e727a3a16bc2abfd39386f10821d3e5ce89c45a.
2024-10-01 12:36:32 +02:00
Flatcar Buildbot
6903be6183 app-alternatives/lex: Sync with Gentoo
It's from Gentoo commit 0e727a3a16bc2abfd39386f10821d3e5ce89c45a.
2024-10-01 12:36:32 +02:00
Flatcar Buildbot
ffb2640c99 app-alternatives/gzip: Sync with Gentoo
It's from Gentoo commit 0e727a3a16bc2abfd39386f10821d3e5ce89c45a.
2024-10-01 12:36:32 +02:00
Flatcar Buildbot
3efda79667 app-alternatives/cpio: Sync with Gentoo
It's from Gentoo commit 0e727a3a16bc2abfd39386f10821d3e5ce89c45a.
2024-10-01 12:36:32 +02:00
Flatcar Buildbot
c37a633ac6 app-alternatives/bzip2: Sync with Gentoo
It's from Gentoo commit 0e727a3a16bc2abfd39386f10821d3e5ce89c45a.
2024-10-01 12:36:31 +02:00
Flatcar Buildbot
a037d7c6fc app-alternatives/bc: Sync with Gentoo
It's from Gentoo commit 0e727a3a16bc2abfd39386f10821d3e5ce89c45a.
2024-10-01 12:36:31 +02:00
Flatcar Buildbot
fe7194b75e app-alternatives/awk: Sync with Gentoo
It's from Gentoo commit 0e727a3a16bc2abfd39386f10821d3e5ce89c45a.
2024-10-01 12:36:31 +02:00
Flatcar Buildbot
87c6679eba app-admin/perl-cleaner: Sync with Gentoo
It's from Gentoo commit 0e727a3a16bc2abfd39386f10821d3e5ce89c45a.
2024-10-01 12:36:31 +02:00
Flatcar Buildbot
dc3e37e5c6 app-admin/eselect: Sync with Gentoo
It's from Gentoo commit 0e727a3a16bc2abfd39386f10821d3e5ce89c45a.
2024-10-01 12:36:31 +02:00
Flatcar Buildbot
9c3cc8a0ff portage-stable/metadata: Monthly GLSA metadata updates 2024-10-01 07:22:24 +00:00
Flatcar Buildbot
98d6d7bec7 app-misc/ca-certificates: Update from 3.104 to 3.105 2024-09-30 07:09:35 +00:00
James Le Cuirot
d34ab03f21
Merge pull request #2333 from flatcar/chewi/grub-version
sys-boot/grub: Adjust version string to include flatcar1 suffix
2024-09-26 12:17:49 +01:00
Mathieu Tortuyaux
3306b82576
Merge pull request #2338 from flatcar/tormath1/afterburn
coreos-base/afterburn: bump to 5.7.0
2024-09-20 10:00:02 +02:00
Flatcar Buildbot
5fb6c4e048
sys-kernel/coreos-sources: Update from 6.6.51 to 6.6.52 2024-09-19 13:46:27 +02:00
Mathieu Tortuyaux
28955f9fb8
coreos-base/afterburn: bump to 5.7.0
This mainly pulls:
* Already upstreamed Hetzner patches
* Proxmox support

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-09-19 10:05:19 +02:00
James Le Cuirot
59953b79b6
sys-boot/grub: Adjust version string to include flatcar1 suffix
We will bump this every time we or Gentoo change patches that modify
parts of GRUB that are installed to the boot partition. We will reset
the version back to 1 when the upstream GRUB version changes.

Without this, we are bound by Gentoo's PVR string, which we cannot
change when we need to make changes to our own patches. The shim review
wants to know the full version number of our GRUB build, and it would
look bad to make such changes without changing the version.

This suffix is also applied to the Flatcar entry in the SBAT, which is
especially important for the shim review.

The published binary package will still be labelled with the Gentoo PVR,
but that seems less important given that end users cannot update
individual packages on Flatcar installations.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2024-09-17 15:49:01 +01: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
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
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
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
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
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 Buildbot
02642c2260 sys-kernel/coreos-sources: Update from 6.6.48 to 6.6.50 2024-09-08 07:13:02 +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
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
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