20804 Commits

Author SHA1 Message Date
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
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
Krzesimir Nowak
0c7c773380 dev-util/pkgcheck: Add from Gentoo
It's from Gentoo commit 28c84fdb12e224eb39caff2a9e3f5979ebbeb6a0.
2024-09-04 14:44:38 +02:00
Krzesimir Nowak
61b0004c31
Merge pull request #2275 from flatcar/krnowak/selinux-policykit-user-patch-symlink
overlay coreos/user-patches: Add a symlink for selinux-policykit
2024-09-04 07:07:20 +02:00
flatcar-ci
da16bcb265 New version: main-4082.0.0-nightly-20240903-2100 2024-09-03 21:00:29 +00:00
Krzesimir Nowak
f9d68df8dc
Merge pull request #2204 from flatcar/krnowak/add-buildx
Add app-containers/docker-buildx
2024-09-03 15:07:50 +02:00
Krzesimir Nowak
f7251c9a95 overlay coreos/user-patches: Add a symlink for selinux-policykit
So the rules built for this module are consistent with rules built for
other modules.
2024-09-03 15:04:23 +02:00
James Le Cuirot
2fc3b2df62
Merge pull request #2261 from flatcar/chewi/open-iscsi
sys-block/open-iscsi: Migrate coreos-stable to portage-stable, 2.1.10
2024-09-03 13:41:05 +01:00
Krzesimir Nowak
f0de07f94d overlay profiles: Add accept keywords for net-libs/libpcap 2024-09-03 14:26:51 +02:00
Krzesimir Nowak
7d718cb3c4 overlay profiles: Drop accept keywords for dev-python/cython 2024-09-03 12:48:06 +02:00
Krzesimir Nowak
4f5152ec07 overlay profiles: Drop accept keywords for dev-lang/python 2024-09-03 12:48:05 +02:00
Krzesimir Nowak
4f928fcd84 overlay profiles: Add accept keywords for dev-build/cmake 2024-09-03 12:48:05 +02:00
Krzesimir Nowak
d4082cbf5b overlay profiles: Drop accept keywords for app-crypt/mit-krb5 2024-09-03 12:48:05 +02:00