Commit Graph

64 Commits

Author SHA1 Message Date
James Le Cuirot
7b3aac22d4
sys-firmware/intel-microcode: Fix inclusion of microcode in the initrd
The microcode was accidentally dropped from Flatcar a while back because
Gentoo started telling Dracut to not include it when USE=-initramfs.
Flatcar disabled that flag because the microcode is installed to /boot.
This is only done under the board root though, not in the final image,
so there's no harm in enabling it.

That Dracut setting also affected the AMD microcode, which is part of
coreos-firmware, so this fixes that too.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-04-23 13:51:11 +01:00
James Le Cuirot
3ab16bd843
build_library: Fix path handling in QEMU launcher script
I couldn't take it anymore! The launcher script could not handle paths
outside the script's own directory, and it was driving me crazy. Now
only the default values are relative to the script's directory. Given
paths are relative to the current directory and absolute paths work as
you would expect.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-04-07 10:13:09 +01:00
James Le Cuirot
70ca73a3c2
coreos-base/update-ssh-keys: Bump for improved docs with better Clap use
Closes: https://github.com/flatcar/Flatcar/issues/1554
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-03-25 14:47:53 +00:00
Jeremi Piotrowski
e313934fea changelog: Add entries for nvidia.service changes
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2025-03-14 10:51:35 +01:00
Dongsu Park
7e69d4cb42
Merge pull request #2697 from flatcar/dongsu/wa-linux-agent-main
overlay wa-linux-agent: apply patch to fix ssh public key override issue (main)
2025-03-03 13:04:13 +01:00
Dongsu Park
23984d1bdf changelog: add changelog for bugfix in wa-linux-agent with ignition 2025-03-03 12:25:16 +01:00
James Le Cuirot
dafce25482
sys-kernel/bootengine: Bump to address Ignition mount issue on PXE
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-02-28 14:01:13 +00:00
James Le Cuirot
632af7453f
Merge pull request #2668 from flatcar/disable-hybrid-flag
Fix non conforming partition table
2025-02-25 14:00:51 +00:00
Jeremi Piotrowski
37cf10e965 changelog: Add entry for update-ca-certificates bugfix
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2025-02-18 11:01:50 +01:00
Gabriel Adrian Samfira
fb396e642f
Fix non conforming partition table
This change removes the legacy_boot flag from the EFI system partition.
We already have a BIOS boot partition which should offer compatibility with
legacy bios systems.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-02-14 19:24:47 +02:00
Jan Bronicki
0f0fa2ff7a fix: Dynamically create netdev arguments to correctly include commas
docs: Add entrance to the changelog about the fix

Update changelog/changes/2025-01-15-qemu-startup-script-comma-fix.md

Co-authored-by: Mathieu Tortuyaux <mathieu.tortuyaux@gmail.com>
2025-01-15 17:57:56 +01:00
Mathieu Tortuyaux
12634f49e8
changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-12-02 14:38:35 +01:00
Mathieu Tortuyaux
677bcdaa57
changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-09-16 09:51:38 +02:00
David Eichin
bc3aadb1bd changelog: add entry 2024-09-10 07:17:58 +02:00
Jeremi Piotrowski
412298cd39 changelog: Add entry for sysext file ownership bugfix
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-08-30 09:52:50 +02:00
James Le Cuirot
401a715b49
sys-kernel/bootengine: Bump to fix slow PXE/ISO boots with udev rule
See: https://github.com/flatcar/bootengine/pull/98
See: https://github.com/flatcar/Flatcar/issues/1514
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2024-08-22 13:36:29 +01:00
Jeremi Piotrowski
e2e0067bea changelog: Add entry for EM cloudinit fix
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-08-21 10:56:32 +02:00
James Le Cuirot
16563bb411
Fix the initrd option in the QEMU launcher script
It was -R, but this was already taken by the read-only pflash option, so
use -r instead.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2024-08-16 17:04:07 +01:00
Mathieu Tortuyaux
696f0168fd
changelog: add entries
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-07-23 12:01:30 +02:00
James Le Cuirot
355cfe0227
coreos-base/coreos-init: Bump to fix flatcar-install custom key issue (#2062)
Closes: https://github.com/flatcar/scripts/pull/1471
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2024-06-25 16:56:02 +01:00
Mathieu Tortuyaux
f48098f31b
changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-06-10 14:07:12 +02:00
Gabriel
d47a052ebf Update changelog/bugfixes/2024-03-25-disable-user-configdrive-on-openstack.md
Co-authored-by: Kai Lüke <pothos@users.noreply.github.com>
2024-03-27 17:05:46 +02:00
Gabriel Adrian Samfira
041662aaa9 Update coreos-cloudinit to latest main branch
This change updates coreos-cloudinit to the latest flatcar-master commit.

This change disables user-configdrive.service on OpenStack,
as coreos-cloudinit.service already runs on OpenStack when the system is
not configured via ignition.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2024-03-27 17:05:46 +02:00
David Eichin
e5179b2e78 changelog: upgrade toolbox to latest version
This version fixes that mounted snapshots with ctr are being gc'ed which
breaks the toolbox.
2024-03-26 08:25:57 +01:00
Kai Lüke
a2aa30f487
Merge pull request #1729 from flatcar/kai/sysext-merge-contents
build_sysext: Remove any opaque directory markers
2024-03-05 17:03:15 +01:00
Kai Lueke
5aecc0a802 build_sysext: Remove any opaque directory markers
The Flatcar extension images built with build_sysext created directories
in the overlay in a way that masked contents from other layers.
Instead of fixing the way we create directories, make use of
postprocessing to avoid any similar problems show up again in the
future.
2024-03-05 17:01:43 +01:00
Kai Lueke
b0ce20639b sys-kernel/bootengine: Restore support for custom PXE OEM contents
This pulls in https://github.com/flatcar/bootengine/pull/88
to restore looking at the documented /usr/share/oem path in a custom
PXE OEM initrd instead of /oem.
2024-03-05 16:35:03 +01:00
Adrian Vladu
70ad180b0c bootengine: fix kmod static node creation
Update the bootengine commit id to use the fix from:
https://github.com/flatcar/bootengine/pull/85

Fixes kubevirt vm creation by ensuring that /dev/vhost-net static node gets created
Fixes: https://github.com/flatcar/Flatcar/issues/1336

Signed-off-by: Adrian Vladu <avladu@cloudbasesolutions.com>
2024-02-14 10:38:37 +00:00
Kai Lueke
c0b2f1ce2f coreos-base/update_engine: Support updating old airgapped clients
This pulls in https://github.com/flatcar/update_engine/pull/38
with two workarounds to read out proxy env vars from the service unit
and to read out the XML response from the journal logs, because the XML
passing and the passing of proxy env vars is not present in old clients.
2024-02-12 17:13:34 +01:00
David Eichin
0cff10309b changelog: remove cloudsigma custom cloudinit service configuration
CloudSigma uses a serial port to transfer metadata into a running
instance. Because the service was overwritten with the configuration
"restart" it was possible that the previous instance got interrupted.
This left the serial connection in an non-deterministic state as the
next user would get output from the previous request. The service in
general was not needed as the cloud oem is already set to cloudsigma.
2024-02-08 15:18:04 +01:00
Kai Lueke
32737a23dc coreos-base/update_engine: Forward proxy env for postinstall script
This pulls in https://github.com/flatcar/update_engine/pull/37
to forward the proxy env vars for curl and ue-rs download_sysext
(Flatcar Stable currently uses curl, Alpha uses ue-rs).
2024-01-24 14:52:46 +01:00
Kai Lueke
d05773b8ee coreos-base/(ue-rs|update_engine): Control extracted OEM payload name
This pulls in https://github.com/flatcar/ue-rs/pull/49 and
https://github.com/flatcar/update_engine/pull/36 to fix the handling
of OEM update payloads in a Nebraska response with self-hosted packages.
Before this fix the processing failed and had to rely on the fallback
download from the release server.
2024-01-18 11:53:54 +01:00
Jeremi Piotrowski
625fe5c2c8
Merge pull request #1572 from flatcar/tormath1/ssm-agent
app-emulation/amazon-ssm-agent: use upstream makefile
2024-01-16 15:26:19 +01:00
Mathieu Tortuyaux
631a11fdf0
changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-01-16 11:28:17 +01:00
Jeremi Piotrowski
892a51e552 Add changelog for coreos-cloudinit bugfix
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-01-16 09:44:36 +01:00
Kai Lueke
fe164a8b0f coreos-base/update_engine: Only store Omaha response for update check
This pulls in
https://github.com/flatcar/update_engine/pull/33
to fix supplying extension update payloads with a custom base URL in
Nebraska.
2023-12-13 12:35:38 +01:00
Mathieu Tortuyaux
586fc12b5e
Merge pull request #1445 from flatcar/tormath1/gcp-oslogin
gcp: fixed OS Login enabling
2023-12-01 15:06:49 +01:00
Mathieu Tortuyaux
64ef372858
changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2023-12-01 10:58:32 +01:00
Kai Lüke
73af503a13
Merge pull request #1442 from flatcar/kai/overlay-whiteouts
build_image_util: Store path list for recreating tmpfiles rules
2023-11-30 11:58:31 +01:00
Kai Lueke
5590da400e build_image_util: Store path list for recreating tmpfiles rules
The removal of files in the overlay present in the lowerdir creates
whiteout entries that mask the lowerdir entries. For those files that
have a tmpfile rule for creation, a reboot would cause the file to be
created in the upperdir, meaning this file is not updated from the
lowerdir when it changes. In addition we have filtered out some tmpfile
rules that caused upcopies (symlinks and directories) which meant that
removing the /etc/resolv.conf symlink didn't bring it back after reboot.
To make files from the lowerdir show up if they have a tmpfile rule that
normally would recreate them we keep a list of whiteout entries that we
clean up on boot. This also prevents freezing files because
systemd-tmpfiles does not need to recreate them in the upperdir.
2023-11-30 11:57:27 +01:00
Kai Lueke
5a2c696e21 coreos-base/update_engine: Ensure /etc/extensions is mergable
This pulls in
https://github.com/flatcar/update_engine/pull/32
to make the Docker/containerd sysexts show up when updating from Beta
3760.1.0.
2023-11-29 12:59:00 +01:00
Kai Lueke
16a7e2a294 coreos-base/coreos-init: Make sshkeys.service more robust
This pulls in
https://github.com/flatcar/init/pull/112
to only run coreos-metadata-sshkeys@core.service when not masked and
also retry on failure.
2023-11-17 15:43:57 +01:00
Kai Lueke
3aa1adfa2a coreos-base/update_engine: Fix iterating over signatures
This pulls in
https://github.com/flatcar/update_engine/pull/31
to correctly skip over signature entries that cause errors which can be
the case for the dummy signatures.
2023-11-02 11:47:59 +01:00
Krzesimir Nowak
9bd49b722e
Merge pull request #1280 from dosomder/cloudsigma-set-tty-raw
overlay cloudsigma: Set tty to RAW
2023-10-19 10:55:56 +02:00
dosomder
cf20383edc
changelog: rephrase bugfix for cloudsigma cloudinit
Co-authored-by: Krzesimir Nowak <qdlacz@gmail.com>
2023-10-18 14:41:47 +02:00
Mathieu Tortuyaux
433e5b8f72
changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2023-10-17 10:52:56 +02:00
dosomder
c12965c7e8
changelog: add bugfix for cloudsigma cloudinit 2023-10-17 08:40:14 +02:00
Kai Lueke
aaecc8f8b6 update_engine/bootengine: Clean up incomplete move target
This pulls in https://github.com/flatcar/update_engine/pull/29 and
https://github.com/flatcar/bootengine/pull/76
to fix the problem of not being able to update from ≤ 3619.0.0 on Azure.
2023-10-16 12:58:20 +02:00
Jeremi Piotrowski
ab3a160f55 changelog: Add entry for RoutesToDNS default setting change
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2023-10-11 11:07:24 +02:00
Jeremi Piotrowski
d65aa94921 changelog: Add link to PR for EKS version support
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2023-10-05 09:55:55 +02:00