Commit Graph

28798 Commits

Author SHA1 Message Date
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
Jeremi Piotrowski
03d1f406cf
Merge pull request #2302 from flatcar/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2024-09-12 09:23:16 +02: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
Mathieu Tortuyaux
a89ecb711a
Merge pull request #2016 from daMupfel/disable-dhcp-rapid-commit-for-cloudsigma
changelog: disable DHCP RapidCommit for CloudSigma OEM
2024-09-10 09:30:06 +02:00
David Eichin
557175b3df disable DHCP rapidcommit for cloudsigma 2024-09-10 07:18:52 +02:00
David Eichin
bc3aadb1bd changelog: add entry 2024-09-10 07:17:58 +02:00
flatcar-ci
512bc23af8 New version: main-4088.0.0-nightly-20240909-2100 2024-09-09 21:00:26 +00:00
Mathieu Tortuyaux
d9dcc75c36
Merge pull request #2142 from flatcar/tormath1/ci-hetzner
ci-automation: add hetzner testing
2024-09-09 09:46:53 +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
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
ce763ff862
ci-automation: add hetzner testing
No need for garbage collection since one temporary project is allocated with 1h of
lifespan for each run.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Co-authored-by: Julian Tölle <julian.toelle97@gmail.com>
2024-09-06 10:58:51 +02: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
b99e666f00
Merge pull request #2068 from flatcar/krnowak/merged-usr
Finish merged-usr process for generic images, move SDK over to it too
2024-09-05 15:26:13 +02:00
Krzesimir Nowak
f3f51ed2d8 changelog: Add an entry 2024-09-05 15:07: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
1dd9a2b34b
Merge pull request #2285 from flatcar/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2024-09-05 14:53:37 +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
0009a0d3d0
Merge pull request #2205 from flatcar/krnowak/pkgcheck
Add dev-util/pkgcheck to SDK
2024-09-04 16:45:30 +02:00
Mathieu Tortuyaux
9905d72e59
Merge pull request #2276 from flatcar/tormath1/build_sysext
build_sysext: override FLATCAR_VERSION only for non-official builds
2024-09-04 16:09:37 +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
Mathieu Tortuyaux
5a8ecab5ed
build_sysext: override FLATCAR_VERSION only for non-official builds
Without this, official builds are failing:
```
This is a dev rebuild of an official release tag: No BUILD ID set in '/mnt/host/source/.repo/manifests/version.txt'.  Will use base squasfs BUILD ID for version check.
Repo root FLATCAR_VERSION is '4081.0.0', squashfs build ID is '2024-09-03-2245'
Setting FLATCAR_VERSION to '4081.0.0+2024-09-03-2245'
Base squashfs version: 4081.0.0
SDK board packages version: 4081.0.0+2024-09-03-2245
Version mismatch between board flatcar release and SDK container flatcar release.
```

The "base squashfs version" is the actual version for official release builds.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-09-04 15:24:44 +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
Krzesimir Nowak
788535918b .github: Add new packages to automation 2024-09-04 14:44:38 +02:00
Krzesimir Nowak
930f068a20 eclass/tree-sitter-grammar: Add from Gentoo
It's from Gentoo commit cd426afc7f32ac84206f4156fc8ed0d20bd79246.
2024-09-04 14:44:38 +02:00
Krzesimir Nowak
d62b91efc5 dev-libs/tree-sitter: Add from Gentoo
It's from Gentoo commit 79431052dbb681133cb401ceea571c622ebb925d.
2024-09-04 14:44:38 +02:00
Krzesimir Nowak
9b8467d8a7 dev-python/tree-sitter: Add from Gentoo
It's from Gentoo commit 7b7fb48115669de91e0e5b0abea5524aa945cd51.
2024-09-04 14:44:38 +02:00
Krzesimir Nowak
eedf19556a dev-python/chardet: Add from Gentoo
It's from Gentoo commit 2b39a8d7500f05c364de764662755cdd58a9918a.
2024-09-04 14:44:38 +02:00
Krzesimir Nowak
fd89962fbd dev-libs/tree-sitter-bash: Add from Gentoo
It's from Gentoo commit 5a6bf87099bc8fb106d17f77fad7b9aef5036325.
2024-09-04 14:44:38 +02:00
Krzesimir Nowak
76b0c4d310 sys-apps/pkgcore: Add from Gentoo
It's from Gentoo commit 0534a4d8d9c7ee83e868051fe33db8d0e88d9ab7.
2024-09-04 14:44:38 +02:00