Commit Graph

26922 Commits

Author SHA1 Message Date
Adrian Vladu
d313533152
Merge pull request #1962 from flatcar/ader1990/add_kubevirt_image_support
image: add kubevirt image build
2024-04-30 10:43:21 +03: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-ci
00e7839540 New version: main-3955.0.0-nightly-20240429-2100 2024-04-29 21:00:27 +00:00
Kai Lüke
0141b6f156
Merge pull request #1952 from flatcar/kai/gc-release
Migrate release AMI gc to ci-automation
2024-04-29 14:03:24 +02:00
flatcar-ci
76649556b0 New version: main-3952.0.0-nightly-20240426-2100 2024-04-27 02:32:20 +00:00
flatcar-ci
3b22a30050 New version: main-3952.0.0-nightly-20240426-2100-INTERMEDIATE 2024-04-26 21:00:25 +00:00
Dongsu Park
2f0e9ca9cb
Merge pull request #1956 from flatcar/containerd-1.7.16-main
Upgrade Containerd in main from 1.7.15 to 1.7.16
2024-04-26 13:16:41 +02:00
Flatcar Buildbot
3a7330f697 app-containers/containerd: Update from 1.7.15 to 1.7.16 2024-04-26 08:16:43 +00:00
Mathieu Tortuyaux
59842e9ee7
Merge pull request #1953 from flatcar/tormath1/image-ext
vm_image_util: produce qcow2 images for Scaleway
2024-04-26 09:48:29 +02:00
Mathieu Tortuyaux
0a7819a5f0
changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-04-26 09:47:29 +02:00
Mathieu Tortuyaux
9dfcbe201b
ci-automation/vm: do not compress Scaleway images
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-04-26 09:47:29 +02:00
Mathieu Tortuyaux
9f02c8d262
vm_image_util: produce qcow2 images for Scaleway
For importing Scaleway images, extension needs to be '.qcow2'

See: https://www.scaleway.com/en/docs/compute/instances/how-to/snapshot-import-export-feature/
> Make sure that the QCOW / QCOW2 image file you want to import,
> uses the file extension .qcow or .qcow2 to avoid issues while importing the image.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-04-26 09:47:29 +02:00
Mathieu Tortuyaux
5c2a8cf8b9
vm_image_util: add IMAGE_DISK_EXTENSION variable
This variable allows to override the disk extension which is initially
based on the DISK_FORMAT.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-04-26 09:47:29 +02:00
flatcar-ci
038ec80ec0 New version: main-3951.0.0-nightly-20240425-2100 2024-04-25 21:00:28 +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
Krzesimir Nowak
eb19d6916f changelog: Add entries 2024-04-25 17:15:51 +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
9169dfd9f2
Merge pull request #1954 from flatcar/jepio/grub-cfg-tweaks
grub cfg tweaks
2024-04-25 12:21:17 +02:00
Jeremi Piotrowski
f53f1af51e grub_install: Add btrfs to core modules
The OEM partition is on a btrfs file system and grub has to be able to
read grub.cfg from there so it makes sense to include btrfs in core
modules. This avoids all other fs modules from being autoloaded during
boot.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-04-25 12:20:19 +02:00
Jeremi Piotrowski
e78a59cc65 grub_install: Use hd0,gpt1 as a hint when searching for root
In the context of load.cfg in the memdisk, root is set to memdisk, so
passing it as a hint to search is not helpful. While we don't know for
sure whether hd0 is the boot disk, it's a safe hint for most situations.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-04-25 12:20:19 +02:00
Dongsu Park
d669e08645
Merge pull request #1931 from flatcar/linux-6.6.28-main
Upgrade Linux Kernel for main from 6.6.21 to 6.6.28
2024-04-25 09:03:28 +02:00
flatcar-ci
5ec9031e9d New version: main-3950.0.0-nightly-20240424-2100 2024-04-24 21:00:27 +00:00
Jeremi Piotrowski
7a1a004700 changelog: Add entry for azure-nvme-utils 2024-04-24 16:03:31 +00: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
Kai Lueke
e0ac1b5af9 Migrate release AMI gc to ci-automation
The deletion of old release AMIs was still relying on the previous
Jenkins setup. Move this to the ci-automation folder.
2024-04-24 16:52:11 +09:00
Kai Lüke
5f177dfa20
Merge pull request #1948 from space55/main
Add CONFIG_PPS_CLIENT_GPIO=m
2024-04-24 04:21:06 +02:00
flatcar-ci
2dda585bae New version: main-3949.0.0-nightly-20240423-2100 2024-04-23 21:00:39 +00: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
Krzesimir Nowak
96e56031e4 overlay profiles: Drop accept keywords for sys-apps/util-linux 2024-04-23 17:52:33 +02:00
Krzesimir Nowak
6070b98955 overlay profiles: Update accept keywords for net-libs/gnutls 2024-04-23 17:52:33 +02:00
Krzesimir Nowak
2fe8060c8f overlay profiles: Add accept keywords for dev-python/lxml 2024-04-23 17:52:33 +02:00
Krzesimir Nowak
4218e83673 overlay profiles: Add accept keywords for dev-python/cython 2024-04-23 17:52:33 +02:00
Krzesimir Nowak
dafe499d56 overlay profiles: Drop accept keywords for app-misc/jq 2024-04-23 17:52:33 +02:00
Krzesimir Nowak
d1ff89cd0f overlay profiles: Add accept keywords for net-misc/curl 2024-04-23 17:52:33 +02:00
Krzesimir Nowak
cda76d580c overlay profiles: Add accept keywords for dev-lang/python 2024-04-23 17:52:33 +02:00
Flatcar Buildbot
a93ce615e1 x11-libs/pixman: Sync with Gentoo
It's from Gentoo commit 51eee7179d8992089f833cb6d1ef30559febecff.
2024-04-23 17:52:33 +02:00
Flatcar Buildbot
5c52c5d5b6 sys-libs/tevent: Sync with Gentoo
It's from Gentoo commit 8255a1d1e7df73e5f931f9939607f492488cc587.
2024-04-23 17:52:33 +02:00
Flatcar Buildbot
a5d0b2fa68 sys-libs/tdb: Sync with Gentoo
It's from Gentoo commit 921d30ebc3f239b4a0ea69f96ec02aeef00dcd37.
2024-04-23 17:52:33 +02:00
Flatcar Buildbot
4bbe75f582 sys-libs/talloc: Sync with Gentoo
It's from Gentoo commit 465cf8ab267a953f3e6f44c37c4cfb12fa653803.
2024-04-23 17:52:33 +02:00
Flatcar Buildbot
44b1cc5b4c sys-libs/ncurses: Sync with Gentoo
It's from Gentoo commit 7e63eaefbe738901aa916c1a60e8c6b7b0a40d08.
2024-04-23 17:52:33 +02:00
Flatcar Buildbot
0ac00d0b2a sys-libs/libseccomp: Sync with Gentoo
It's from Gentoo commit a65ce7b0b71668fb49b960d7259b36eba6ab34cc.
2024-04-23 17:52:33 +02:00
Flatcar Buildbot
c2b98caeaf sys-libs/libblockdev: Sync with Gentoo
It's from Gentoo commit 93e52f92e3ec669a9678a1c4a61329791c938fba.
2024-04-23 17:52:33 +02:00
Flatcar Buildbot
f34334e724 sys-libs/ldb: Sync with Gentoo
It's from Gentoo commit 3b72be859ea5380720ebf8303c0996a9fc6286bd.
2024-04-23 17:52:33 +02:00