Commit Graph

70 Commits

Author SHA1 Message Date
Kai Lueke
f57a928b4a coreos-base/common-oem-files: Enable flatcar.autologin for OpenStack
So far the console in OpenStack (or Brightbox which shares the image)
was not usable well until one issues a reboot to add the autologin in
the GRUB menu.
Add it by default so that one doesn't need this reboot trick.
2024-04-11 16:48:31 +09:00
Kai Lueke
834d32efa8 build_library/grub.cfg: Enable TPM module by default
For binding a secret to the OS we need TPM PCRs that measure the kernel
and boot configuration (UEFI). Used for:
https://github.com/flatcar/flatcar-website/pull/317
2024-04-09 22:17:18 +09:00
Kai Lueke
de4eb8f755 Set up symlinks for same image artifacts to remove qemu/qemu_uefi_secure
The qemu and qemu_uefi_secure images have the same contents as the
qemu_uefi image which wastes space on the release server. A similar
case is the PXE vmlinuz which is the same as the regular one, too.

Set up symlinks for same images, and also detect this when compressing
to set up symlinks there as well. To reduce complexity, the qemu and
qemu_uefi_secure images are not supported anymore and the Jenkins or
GitHub CI will skip over them if specified. Users that build their own
images need to adapt, though.
2024-04-09 15:09:29 +02:00
Adrian Vladu
7d4917d67c image_to_vm: add support for hyper-v vhdx format
Add support for Gen 2 Hyper-V VMs.

`./image_to_vm` tool has now a new supported format: `hyperv_vhdx`,
that produces .vhdx dynamic disks.

How to use:

```bash
 ./image_to_vm.sh --from ../build/images/amd64-usr/developer-latest/ --format hyperv_vhdx
```

See: https://github.com/flatcar/Flatcar/issues/1009

Uses PR: https://github.com/flatcar/bootengine/pull/92

Signed-off-by: Adrian Vladu <avladu@cloudbasesolutions.com>
2024-04-09 10:52:06 +03:00
Kai Lueke
7379db37e8 vm_image_util.sh: Bump default VM memory to 2 GB
While Flatcar itself runs fine with 1 GB, many workloads do not and
having to debug this is time consuming when one forgets to bump the VM
memory, e.g., in the Qemu script.
Default to 2 GB as known-good setting for things like Kubernetes or
setting up LUKS devices.
2024-04-04 12:55:37 +09:00
Kai Lueke
6d01140927 app-emulation/actool,acbuild: Remove actool and acbuild
Both actool and acbuild upstream are deprecated and probably not in
use anymore.
Remove actool from the image and acbuild from the SDK.
2024-04-03 16:18:56 +09:00
Jeremi Piotrowski
dd9e0303c4
Merge pull request #1792 from flatcar/jepio/clock
NTP/PTP by default on Azure/AWS/GCP
2024-03-28 12:14:27 +01:00
Jeremi Piotrowski
d93f0807b0 changelog: Add entry for PTP/NTP changes
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-28 12:13:48 +01:00
Kai Lueke
44086829b0 sys-kernel/bootengine: Install libcryptsetup-token-systemd-tpm2 plugin
This pulls in https://github.com/flatcar/bootengine/pull/93
to support systemd-cryptenroll for the rootfs with TPMs.
2024-03-28 16:55:19 +09:00
Henrik Schmidt
1bd8373430 Changelog: sys-kernel/coreos-modules: Enable CONFIG_IGC=y 2024-03-26 00:45:51 +09:00
Jeremi Piotrowski
7b937f2ddb
Merge pull request #1770 from flatcar/jepio/amd-pstate
sys-kernel/coreos-modules: Enable CONFIG_X86_AMD_PSTATE=y
2024-03-19 16:38:54 +01:00
Jeremi Piotrowski
8417eda473 changelog: Add entry for X86_AMD_PSTATE
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-19 16:38:19 +01:00
Jeremi Piotrowski
b790241057
Merge pull request #1771 from flatcar/multipathd-disable-rt
sys-fs/multipath-tools: Disable realtime scheduling for multipathd
2024-03-19 15:41:07 +01:00
Jeremi Piotrowski
71ffac206b changelog: Add entry for multipath realtime change
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-19 14:37:04 +00:00
Simon Campion
2a5917deb9 changelog: add entry for disk encryption 2024-03-14 12:09:16 +01:00
Kai Lüke
e5867917ec
Merge pull request #1742 from flatcar/jepio/zfs-sysext
Build ZFS sysext with each release
2024-03-13 23:24:30 +01:00
Jeremi Piotrowski
3aa9cd21ac changelog: Add entry for zfs sysext
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-13 23:23:44 +01:00
Adrian Vladu
89cca15171
Merge pull request #1734 from flatcar/ader1990/decrease_initrd_size_v1
initrd_size_decrease: remove mlxsw_spectrum/mlxsw_core kernel modules
2024-03-12 19:36:29 +02:00
Adrian Vladu
3da9f859be initrd_size_decrease: remove mlxsw_spectrum/mlxsw_core kernel modules
This commit is part of the effort to decrease the initrd size:
Partially-Fixes: https://github.com/flatcar/Flatcar/issues/1381

Signed-off-by: Adrian Vladu <avladu@cloudbasesolutions.com>
2024-03-12 16:51:35 +00:00
Mathieu Tortuyaux
fab18fdb42
changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-03-05 13:51:07 +01:00
Sayan Chowdhury
0fc380cf21 sys-boot/shim: Add the changelog for shim upgrade, and secureboot
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2024-02-26 15:46:12 +01:00
Mathieu Tortuyaux
ea3d0cf1c4
changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-02-23 14:33:29 +01:00
Kai Lueke
e16da83984 coreos-base/coreos-init: Add flatcar-update flag to skip OEM payloads
This pulls in https://github.com/flatcar/init/pull/114 to
support a flag to skip providing OEM payloads, with the goal of easing
downgrades to non-sysext-OEM releases or, when backported to LTS with
the default behavior switched, to opt-in to OEM payloads for airgapped
updates that can't use the fallback download.
2024-02-01 19:27:38 +01:00
Krzesimir Nowak
9faab4387e changelog: Add an entry 2023-12-06 14:03:10 +01:00
Mathieu Tortuyaux
d92b9c0ed5
changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2023-12-04 18:16:19 +01:00
Thilo Fromm
d13f4f3aef changelog: improved messaging for torcx removal and docker 24 upgrade
During the release of Alpha-3794.0.0 we further improved changelog
messages for the docker 24 upgrade and the torcx removal. This PR
updates the respective changelog entries in the repository.

See release announcement here:
https://hackmd.io/nG2pd4iKQ9GTazucHH5U9Q?view#New-Alpha-Release-379400

Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
2023-11-21 15:16:32 +01:00
Kai Lueke
87ff566aae Use OpenStack image for Brightbox
The special Brightbox image uses the OpenStack userdata in Ignition but
lacked Afterburn usage. It actually works to use the OpenStack image and
directly which also enables Afterburn, thus we can drop the special
image.
Don't build a special image for Brightbox but recommend to use OpenStack
images directly. A symlink is added to help with the download of
hardcoded user scripts.
2023-11-15 13:33:55 +01:00
Thilo Fromm
63aabb9962 chagelog: update docker btrfs backwards compatibility 2023-10-30 18:06:45 +01:00
Thilo Fromm
f2a4b4a11e partage stable docker 24: addressed PR feedback
Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
2023-10-30 17:21:26 +01:00
Thilo Fromm
f71ccfa1cc changelog: move Docker 24 btrfs driver notice to "changes".
Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
2023-10-30 17:21:26 +01:00
Thilo Fromm
83d94a25a1 changelog: added docker 24, cri-tools 1.27, and switch to upstream
Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
2023-10-30 17:21:26 +01:00
Thilo Fromm
22582dca7c changelog: add torcx removal, sysext migration
Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
2023-10-23 16:05:45 +02:00
Thilo Fromm
6512ef04ca overlay coreos-base/update_engine: remove torcx sanity check
Include PR https://github.com/flatcar/update_engine/pull/30 to un-break
updates when torcx was removed in favour of sysext.

Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
2023-10-23 16:05:45 +02:00
Thilo Fromm
919d368688 mantle-container: bump image ref to support torcx removal
This change bumps the image ref of the mantle container to
ghcr.io/flatcar/mantle:git-20a2f8ffee8c8a1a042b1da99f0f59312110f285.
This version includes 2 PRs (https://github.com/flatcar/mantle/pull/465
and https://github.com/flatcar/mantle/pull/466) which add support for
sysext docker / torcx removal in the OS image.

Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
2023-10-23 16:05:45 +02:00
Kai Lueke
9651e2e754 coreos-base/misc-files: Make Kubernetes work by default through symlink
In the past user had to customize Kubernetes or use a bind mount to make
writing the default /usr/libexec/kubernetes/ path work. With
systemd-sysext on by default the bind mount doesn't work anymore because
it can get lost. A newer workaround is to use a systemd-sysext image
that creates a symlink in /usr/libexec/... to redirect to somewhere
under /var/.
Instead of relying on workarounds, make Kubernetes work by default on
Flatcar by having the symlink be part of the generic image. The target
folder will be created through a tmpfiles rule.
2023-10-09 18:46:24 +02:00
Thilo Fromm
6f38b9ad69 Prefix: add stabilisation TODOs, changelog entry
Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
2023-09-29 15:22:45 +02:00
Krzesimir Nowak
cabc3c0798 changelog: Add entries 2023-09-29 13:47:34 +02:00
Dongsu Park
b220a3868d
Merge pull request #1189 from flatcar/dongsu/qcow2-compression-changelog
changelog: add changelog for qcow2 inline compression
2023-09-27 09:36:53 +02:00
Mathieu Tortuyaux
50e6da3ef2
changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2023-09-26 13:34:09 +02:00
Dongsu Park
4c7eaff8a6 changelog: add changelog for qcow2 inline compression
Add missing changelog of https://github.com/flatcar/scripts/pull/1132.
See also https://github.com/flatcar/Flatcar/issues/1135.
2023-09-26 09:29:50 +02:00
Krzesimir Nowak
ffe2d0e177
changelog: Update an entry
Co-authored-by: Kai Lüke <pothos@users.noreply.github.com>
2023-09-25 14:50:45 +02:00
Krzesimir Nowak
1ccd915bbf
changelog: Update an entry
Co-authored-by: Kai Lüke <pothos@users.noreply.github.com>
2023-09-25 14:45:31 +02:00
Krzesimir Nowak
9f4232398d changelog: Add entries 2023-09-20 10:08:47 +02:00
Jeremi Piotrowski
c9e99b37a8 changelog: Add entry for mana vf support
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2023-09-15 11:00:02 +02:00
Kai Lueke
995ae2cdbc Support OEM systemd-sysext images and Flatcar extensions
The vendor tools on the OEM partition weren't updated. We now want to
ship them as systemd-sysext images which we can easily update. This
change extends the Flatcar A/B update mechanism to cover the OEM
systemd-sysext images. The same mechanism is also able to support
"official" Flatcar extensions, e.g., a ZFS extension.
2023-09-08 14:50:43 +02:00
Samkit Shah
9249f68f84 Changes to nvidia.service to allow ordering on the subsequent services
When changed to oneshot, the subsequent services wiill actually wait for the nvidia.service to finish, i.e. wait for drivers to be installed. The subsequent services can be configured to wait for nvidia.service. This needs to be coupled with
RemainAfterExit=yes to ensure it doesn't get kicked-off automatically again.
Solves : https://github.com/flatcar/Flatcar/issues/1136
2023-08-08 11:52:08 -04:00
Krzesimir Nowak
f9ed3888e2 changelog: Add an entry 2023-07-05 16:05:27 +02:00
Flatcar Buildbot
f484fbf13e changelog: Add an entry 2023-06-29 17:40:06 +02:00
Jeremi Piotrowski
eae39e4a90 changelog: Add entry for ext4 inode size change
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2023-06-22 09:53:35 +02:00
Sayan Chowdhury
9a091bea3b
changelog: Add the changelog for the nvidia-drivers migration
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
Co-authored-by: Kai Lüke <pothos@users.noreply.github.com>
2023-06-16 18:24:44 +05:30