17534 Commits

Author SHA1 Message Date
Mathieu Tortuyaux
427b6b77b6
Merge pull request #2026 from flatcar/cacerts-3.101-main
Update ca-certificates in main from 3.100 to 3.101
2024-06-10 14:30:07 +02:00
Mathieu Tortuyaux
5f151a08bc
Merge pull request #1979 from JeWe37/python-sysext
sysext: Add python sysext
2024-06-10 14:26:52 +02:00
Mathieu Tortuyaux
f8e7a07034
coreos-base/coreos-init: bump init
this pulls the issuegen fix.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-06-10 14:07:12 +02:00
Flatcar Buildbot
c6a30d5959 app-misc/ca-certificates: Update from 3.100 to 3.101 2024-06-10 07:20:55 +00:00
Mathieu Tortuyaux
7915f23486
sys-apps/ignition: bump to 2.19.0
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-06-07 14:09:06 +02:00
Flatcar Buildbot
6e27c525c5 app-containers/containerd: Update from 1.7.17 to 1.7.18 2024-06-07 08:18:17 +00:00
Mathieu Tortuyaux
a91715a4eb
Merge pull request #2010 from alejandro-ripoll/main
OpenStack: Changed metadata hostname source order
2024-06-07 07:58:44 +02:00
Alejandro Ripoll
68cf358c8f OpenStack: Changed metadata hostname source order
Change `flatcar-openstack-hostname.service` to use afterburn `openstack` provider implemented on coreos/afterburn#462  instead of `openstack-metadata`.
BootEngine PR: flatcar/bootengine#96
2024-06-03 14:18:19 +02:00
Jendrik Weise
64c9ed5820 sysext: Add python sysext
Minimal sysext containing dev-lang/python and dev-python/pip.
Enabled ensurepip for python and added required packages from Gentoo.
2024-05-29 19:18:18 +02:00
Jeremi Piotrowski
7c0335326f coreos-overlay/fero-client: Keyword for arm64
fero-client is a dependency of the Flatcar SDK. Keyword it so that the Flatcar
SDK can be built for arm64. The keyword entry from the profile can be removed,
it wasn't used since the ebuild was upreved to -r1.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-05-29 16:12:37 +02:00
Jeremi Piotrowski
564c0fb62f coreos-overlay/profiles: Keyword ccid for arm64
ccid-1.5.4 is marked ~arm64 but is a depdendency of the Flatcar SDK. Keyword in
profile so that an arm64 SDK can be built.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-05-29 16:11:39 +02:00
Flatcar Buildbot
814790d93d sys-kernel/coreos-sources: Update from 6.6.31 to 6.6.32 2024-05-26 07:12:39 +00:00
Krzesimir Nowak
0c82cdcd14
Merge pull request #1732 from flatcar/krnowak/crypt
Migrate from glibc libcrypt to sys-libs/libxcrypt
2024-05-24 10:04:51 +02:00
Mathieu Tortuyaux
295bf97417
Merge pull request #1992 from flatcar/linux-6.6.31-main
Upgrade Linux Kernel for main from 6.6.30 to 6.6.31
2024-05-23 13:02:57 +02:00
Krzesimir Nowak
de399a3476 overlay stage1-hooks: Add hooks for libxcrypt migration
They are copying sys-libs/libxcrypt from new portage-stable and
updating package masks and USE flags in order to migrate from
glibc-provided libcrypt to libxcrypt-provided libcrypt.

The migration seems to be a bit complicated to do, because
bootstrapping a system using glibc with libxcrypt-provided libcrypt
using a build environment using glibc with glibc-provided libcrypt
results in some slot conflicts. Without the stage1 hooks the failure
happened in stage2. With the hooks, but without the seed SDK update,
the failure happened already in stage1.

Updating the seed SDK to use libxcrypt seems to do the trick. The
update of the seed SDK will happen only when transition happens - if
the seed SDK is already using libxcrypt, these hooks are noops.
2024-05-23 11:19:30 +02:00
Krzesimir Nowak
5b64defa98 overlay profiles: Migrate from glibc crypt to libxcrypt
It's long overdue and glibc 2.39 will drop crypt stuff altogether. Or
so I heard. Whatever happens, the crypt library in glibc is deprecated
for a long time already.
2024-05-23 11:19:30 +02:00
Krzesimir Nowak
0c8a60e78a sys-libs/libxcrypt: Add from Gentoo
It's from Gentoo commit 5719c8e719b916e754090c74aaed74634a28ad9b.
2024-05-23 11:18:48 +02:00
Dongsu Park
ba12d45e16
Merge pull request #1981 from flatcar/rust-1.78.0-main
Upgrade dev-lang/rust and virtual/rust in main from 1.77.2 to 1.78.0
2024-05-22 17:52:24 +02:00
Flatcar Buildbot
b5c85fee12 sys-kernel/coreos-sources: Update from 6.6.30 to 6.6.31 2024-05-18 07:11:58 +00:00
Dongsu Park
1c4b67fb21
Merge pull request #1970 from flatcar/linux-6.6.30-main
Upgrade Linux Kernel for main from 6.6.28 to 6.6.30
2024-05-17 16:14:33 +02:00
Dongsu Park
6aebb2b70c
Merge pull request #1990 from flatcar/dongsu/glibc-2.38-r13
sys-libs/glibc: update to 2.38-r13
2024-05-17 16:09:02 +02:00
Flatcar Buildbot
53d6706380 app-containers/containerd: Update from 1.7.16 to 1.7.17 2024-05-17 08:17:33 +00:00
Thilo Fromm
9bb51f86e9 sys-libs/glibc: Apply Flatcar modifications
- take care of nscd.conf via tmpfiles, add files/nscd-conf.tmpfiles.
  - comment out 'dostrip -x' to force the OS image binaries to be stripped
  - remove everything glibc wants to put under /etc since we use
    baselayout to provide that

Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2024-05-16 11:14:17 +02:00
Dongsu Park
f1a8cc4c7b sys-libs/glibc: Sync with Gentoo
It's from Gentoo commit 1df9b3482f2e199390ecbe04a76f5397e450218f.
2024-05-16 11:14:14 +02:00
Flatcar Buildbot
f11bd27baa sys-kernel/coreos-firmware: Update from 20240410 to 20240513 2024-05-16 07:10:19 +00:00
Dongsu Park
1311cbfc1b overlay dev-lang/rust: adjust ignore broken non-applicable tests patch
Adjust ignore-broken-and-non-applicable-tests.patch to make it appliable
to 1.78.0
2024-05-14 17:08:39 +02:00
Dongsu Park
bd23d89d44
Merge pull request #1987 from flatcar/cacerts-3.100-main
Update ca-certificates in main from 3.99 to 3.100
2024-05-14 12:24:26 +02:00
Dongsu Park
08f9ec0f6d overlay sys-kernel/coreos-sources: adjust revert-pahole-flags patch
Adjust z0002-revert-pahole-flags.patch to make it appliable with Kernel
6.6.30 or newer, because upstream Kernel changed init/Kconfig.

See also
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.30&id=37ca196aa4d8aa5529f44d776051b3c249f764ba.
2024-05-13 15:21:07 +02:00
Dongsu Park
bdc6de365f
Merge pull request #1966 from flatcar/buildbot/monthly-glsa-metadata-updates-2024-05-01
Monthly GLSA metadata 2024-05-01
2024-05-13 13:31:54 +02:00
Flatcar Buildbot
40b8c2b4d0 app-misc/ca-certificates: Update from 3.99 to 3.100 2024-05-13 07:20:39 +00:00
Flatcar Buildbot
1c3f15ab2a dev-lang/rust: Update from 1.77.2 to 1.78.0 2024-05-07 07:34:30 +00:00
Kai Lüke
f06ebd3692
Merge pull request #1978 from flatcar/kai/azure-hostname
app-emulation/wa-linux-agent: Use networkctl to propagate hostname
2024-05-03 23:12:40 +09:00
Jendrik Weise
cd849d6849 sysext: Add podman sysext
Enabled user session dbus in base image to support podman rootless mode.
Extension images can now be created from multiple packages by seperating
them with a comma. The podman sysext includes app-containers/podman and
net-misc/passt.
It can be enabled by adding podman to /etc/flatcar/enabled-sysext.conf.
Potential TODO: gpgme had to be added as BDEPEND to podman ebuild.
2024-05-03 22:59:36 +09:00
Kai Lueke
6d6ffc025e app-emulation/wa-linux-agent: Use networkctl to propagate hostname
The if-up-down to trigger the DHCP request causes problems. It's better
to directly ask systemd-networkd to issue the request. It seems that
one needs to use "reconfigure" instead of "forcerenew", so I went with
only that instead of somehow trying to see if "forcerenew" has an
effect.
2024-05-03 20:44:51 +09:00
Kai Lueke
08d60880ff Revert "app-emulation/wa-linux-agent: Disable interface restarting"
This reverts commit 9556c7f94b932ded3658738d616c2f666a364ba8
because waagent looks for internal hostname changes and wants to
propagate them to the Azure VM properties by issuing a new DHCP request.
2024-05-03 20:37:34 +09:00
Flatcar Buildbot
5ce9e14fec sys-kernel/coreos-sources: Update from 6.6.28 to 6.6.30 2024-05-03 07:12:18 +00:00
Flatcar Buildbot
158314047b portage-stable/metadata: Monthly GLSA metadata updates 2024-05-01 07:18:57 +00:00
Adrian Vladu
6efe345d89 image: add kubevirt image build
As Ignition supports KubeVirt, add a custom oem for it and also the
required parts to be able to build an image in .qcow2 format that
is already using internal .qcow2 gzip compression.

Fixes: https://github.com/flatcar/Flatcar/issues/1358

Signed-off-by: Adrian Vladu <avladu@cloudbasesolutions.com>
2024-04-30 09:19:16 +03:00
Flatcar Buildbot
3a7330f697 app-containers/containerd: Update from 1.7.15 to 1.7.16 2024-04-26 08:16:43 +00:00
Krzesimir Nowak
ed642d106b
Merge pull request #1949 from flatcar/buildbot/weekly-portage-stable-package-updates-2024-04-22
Weekly portage-stable package updates 2024-04-22
2024-04-25 17:16:42 +02:00
Jeremi Piotrowski
0d40f3cba6
Merge pull request #1950 from flatcar/jepio/azure-fixes
Update Azure patch.
Add azure-nvme-utils for nvme symlinks.
Disable interface restart during waagent init on Azure.
2024-04-25 15:34:26 +02:00
Jeremi Piotrowski
c7363daab5 app-admin/azure-nvme-utils: Add to coreos
This is a new package that is being developed to handle providing
symlinks for nvme disks (os,data,temporary) on newer Azure instances.
It needs to be part of the OS, and not oem-azure, because it carries
udev rules.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-04-24 16:03:31 +00:00
Jeremi Piotrowski
9556c7f94b app-emulation/wa-linux-agent: Disable interface restarting
Flatcar prepares /etc/hostname from the initrd through afterburn. After
switching root, systemd-networkd fetches a dhcp lease with the correct
hostname already. This publishes the hostname to the vnet DNS server as
well. When WALinuxAgent starts, it tries to do the same steps: configure
the hostname, bounce the link to force dhcp lease renewal. This has
caused issues in the past with multi-nic configurations but also with
networked services that are trying to use the network (etcd/flanneld).

The link bouncing by WALinuxAgent is not necessary because of Flatcars
boot design, so return without bouncing the link. Tested that DNS from
other VMs in the same vnet works.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-04-24 16:03:31 +00:00
Jeremi Piotrowski
f9a1e23a92 app-emulation/wa-linux-agent: Update Flatcar patch
When CoreosCommonUtil was factored out, we missed updating the class
name in a call to super(). This results in an error when executing
`/usr/sbin/waagent -force -deprovision+user`. Fix the class name.

Create a compatibility symlink at the old config file location
(/usr/share/oem/waagent.conf) to handle the case of enabling
auto-updates on the agent. The upstream version of the agent does not
have our downstream patch so doesn't know about the updated config file
location. We should upstream our changes.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-04-24 16:03:31 +00:00
Flatcar Buildbot
e62221d757 sys-kernel/coreos-sources: Update from 6.6.21 to 6.6.28 2024-04-24 15:05:13 +02:00
Dongsu Park
8e46d15150
Merge pull request #1951 from flatcar/dongsu/zfs-kernel-version
coreos/config zfs-kmod: fix Kernel version issue for build_sysext
2024-04-24 15:03:00 +02:00
Krzesimir Nowak
3fc61ba177
Merge pull request #1753 from flatcar/krnowak/systemd-sysext
overlay sys-apps/systemd: Sync with Gentoo, bump to v255.4 and add patches for mutable overlays functionality
2024-04-24 14:04:56 +02:00
Dongsu Park
17b1b63d76 config sys-fs/zfs-kmod: fix Kernel version issue of zfs-kmod
In case of sysext of zfs-kmod, pkg_setup() calls linux-info_get_any_version()
of eclass/linux-info.eclass with MERGE_TYPE=binary and
LINUX_INFO_BINARY_RESET=0. That results in KV_FULL and KV_OUT_DIR being
unset, which is not what we want. So set LINUX_INFO_BINARY_RESET=1 to
avoid such side effect.

Without setting them, build_sysext complains like below, i.e. it tries to find
System.map of a wrong Kernel version 6.6.21, when it should find a newer
version like 6.6.23. That results in subsequent zfs CI tests failing due to
missing files like System.map and module deps.

```
System.map for kernel 6.6.21-flatcar was not found, may be due to the
built kernel sources no longer being available and lacking the fallback:
```

Suggested-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-04-24 13:59:07 +02:00
Krzesimir Nowak
36001a9f74 overlay profiles: Add accept keywords for dev-libs/expat 2024-04-23 17:52:33 +02:00
Krzesimir Nowak
7560f9390a overlay profiles: Add accept keywords for sys-firmware/intel-microcode 2024-04-23 17:52:33 +02:00