Commit Graph

25901 Commits

Author SHA1 Message Date
Jeremi Piotrowski
0eb0bb38e8 build_library: Use lbzip2 to decompress gcc binpkg
Speeds things up a bit.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-14 17:50:21 +00:00
Jeremi Piotrowski
47b77cea07 sys-libs/ncurses: Install tmux terminfo
Debian tmux seems to set TERM=tmux-256color, not TERM=screen. This
causes issues when ssh-ing into flatcar from tmux. Copy the screen
terminfo files as the tmux ones, they should be mostly compatible.

Tmux terminfo files are removed because of USE=minimal, but I don't see
a way to hook into the ebuild and prevent the removal easily.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-14 17:18:44 +00:00
Adrian Vladu
8b63d99bf7
Merge pull request #1679 from flatcar/ader1990/upgrade-to-systemd-255-v2
sys-apps/systemd: upgrade from version 252 to version 255
2024-03-14 16:23:30 +02:00
Adrian Vladu
11449d2458 sys-kernel/bootengine: enable 10i18n dracut module
Use commit for https://github.com/flatcar/bootengine/pull/87.

Signed-off-by: Adrian Vladu <avladu@cloudbasesolutions.com>
2024-03-14 12:07:26 +00:00
Adrian Vladu
40e8fbb700 sys-apps/systemd: add sys-apps/kbd as a dependency
systemd-vconsole-setup unit needs sys-apps/kbd loadkeys binary.

Signed-off-by: Adrian Vladu <avladu@cloudbasesolutions.com>
2024-03-14 12:07:07 +00:00
Adrian Vladu
467287eb5b sys-apps/systemd: added changelog entry for 252 to 255 upgrade
Signed-off-by: Adrian Vladu <avladu@cloudbasesolutions.com>
2024-03-14 12:07:07 +00:00
Adrian Vladu
fcfbf18b8f sys-apps/systemd: sys-kernel/dracut: fix systemd-vconsole-setup run
systemd-vconsole-setup needs the dracut i18n module so that
the binary loadkeys is present. The binary loadkeys comes from
the kbd package.

A custom dracut module patch for i18n was created, so that only the
default `us` keymap and font are installed, leading the size
increase to the minimum of around a few KB instead of 3MB.

Signed-off-by: Adrian Vladu <avladu@cloudbasesolutions.com>
2024-03-14 12:07:07 +00:00
Sayan Chowdhury
6b2771eb2d sys-apps/systemd: Apply Flatcar patches
Signed-off-by: Adrian Vladu <avladu@cloudbasesolutions.com>
2024-03-14 12:07:07 +00:00
Sayan Chowdhury
756b4225c2 sys-fs/udev-init-scripts: Add from Gentoo
It's from Gentoo commit 1367a1498225bc2636c875c8b3c3e7a66d82c000.
2024-03-14 12:07:07 +00:00
Sayan Chowdhury
e107522864 sys-apps/systemd: Sync with Gentoo
It's from Gentoo commit c923eb13e743b615782a2000cdeafc84db07e533.
2024-03-14 12:07:07 +00:00
Kai Lüke
2ea7f40401
Merge pull request #1560 from simoncampion/add-clevis-krish
Add support for TPM- and Tang-based disk encryption
2024-03-14 12:51:29 +01:00
Simon Campion
2a5917deb9 changelog: add entry for disk encryption 2024-03-14 12:09:16 +01:00
Simon Campion
d02dc2bf52 sys-kernel/bootengine: Add support for disk encryption 2024-03-14 12:09:14 +01:00
Simon Campion
1caa75b66c sys-kernel/coreos-kernel: add dependency to app-crypt/clevis
app-crypt/clevis includes dracut modules that must be installed before the initramfs is built
2024-03-14 12:08:36 +01:00
Simon Campion
e00130883a coreos-base/coreos: add dependency to app-crypt/clevis for disk encryption 2024-03-14 12:08:36 +01:00
Simon Campion
204f809d5b overlay profiles: Add accept keywords for app-crypt/clevis 2024-03-14 12:08:36 +01:00
Simon Campion
069aaf6085 app-crypt/clevis: Apply Flatcar modifications 2024-03-14 12:08:36 +01:00
Simon Campion
e4ebd6c302 app-crypt/clevis: Add from Gentoo 2024-03-14 12:08:36 +01:00
Simon Campion
78be5d5982 overlay profiles: Add accept keywords for dev-libs/luksmeta 2024-03-14 12:08:36 +01:00
Simon Campion
5cc473a5c1 dev-libs/luksmeta: Add from Gentoo
It's from GURU commit 05abdcd720bc767a152082750d9c7a044d638059
2024-03-14 12:08:36 +01:00
Simon Campion
f385595ad1 overlay profiles: Add accept keywords for dev-libs/jose 2024-03-14 12:08:36 +01:00
Simon Campion
1ca55bb8da dev-libs/jose: Add from Gentoo
It's from GURU commit 05abdcd720bc767a152082750d9c7a044d638059
2024-03-14 12:08:35 +01:00
Simon Campion
7e46092fc2 sys-libs/libblockdev: Add from Gentoo
It's from Gentoo commit 2f6a333fb9bed9c7ab9b5a49065d157b62e48420
2024-03-14 12:08:35 +01:00
Simon Campion
f910aca38d sys-libs/cracklib: Add from Gentoo
It's from Gentoo commit 2f6a333fb9bed9c7ab9b5a49065d157b62e48420
2024-03-14 12:08:35 +01:00
Simon Campion
08233eedfb sys-fs/udisks: Add from Gentoo
It's from Gentoo commit 2f6a333fb9bed9c7ab9b5a49065d157b62e48420
2024-03-14 12:08:35 +01:00
Simon Campion
90e1783241 sys-auth/polkit: Add from Gentoo
It's from Gentoo commit 2f6a333fb9bed9c7ab9b5a49065d157b62e48420
2024-03-14 12:08:35 +01:00
Simon Campion
7007d513fe sys-apps/keyutils: Add from Gentoo
It's from Gentoo commit 2f6a333fb9bed9c7ab9b5a49065d157b62e48420
2024-03-14 12:08:35 +01:00
Simon Campion
136fcc4d1f dev-libs/libpwquality: Add from Gentoo
It's from Gentoo commit 2f6a333fb9bed9c7ab9b5a49065d157b62e48420
2024-03-14 12:08:35 +01:00
Simon Campion
c6b88015ea dev-libs/libgudev: Add from Gentoo
It's from Gentoo commit 2f6a333fb9bed9c7ab9b5a49065d157b62e48420
2024-03-14 12:08:35 +01:00
Simon Campion
4c9ea0c483 dev-libs/libbytesize: Add from Gentoo
It's from Gentoo commit 2f6a333fb9bed9c7ab9b5a49065d157b62e48420
2024-03-14 12:08:35 +01:00
Simon Campion
2c26b8efa3 dev-libs/libatasmart: Add from Gentoo
It's from Gentoo commit 2f6a333fb9bed9c7ab9b5a49065d157b62e48420
2024-03-14 12:08:35 +01:00
Simon Campion
5d0e408434 app-crypt/tpm2-tss: Add from Gentoo
It's from Gentoo commit 2f6a333fb9bed9c7ab9b5a49065d157b62e48420
2024-03-14 12:08:35 +01:00
Simon Campion
f71638f7ef app-crypt/tpm2-tools: Add from Gentoo
It's from Gentoo commit 2f6a333fb9bed9c7ab9b5a49065d157b62e48420
2024-03-14 12:08:35 +01:00
Flatcar Buildbot
fae8931aef sys-kernel/coreos-firmware: Update from 20240220 to 20240312 2024-03-14 07:13:42 +00: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
flatcar-ci
344b180b51 New version: main-3908.0.0-nightly-20240313-2100 2024-03-13 21:00:28 +00:00
Jeremi Piotrowski
333e72244d sys-kernel/bootengine: Bump commit for sysext mkdir fix
Fix a missing mkdir of /sysroot/etc/flatcar/sysext from the initrd before
attempting to move sysext files there. Also explicitly omit dracut zfs module
from initrd generation.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-13 18:13:51 +01:00
Jeremi Piotrowski
69c644905f
Merge pull request #1743 from flatcar/emerge-gitclone-license
emerge-gitclone: Fix license information
2024-03-13 15:11:42 +01:00
Jeremi Piotrowski
340e7892b7 emerge-gitclone: Fix license information
emerge-gitclone was never GPL-2.0, it was BSD-3. We're switching it to
Apache-2.0 with this commit.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-13 11:55:30 +01:00
flatcar-ci
ddc48ae1a1 New version: main-3907.0.0-nightly-20240312-2100 2024-03-12 21:00:25 +00: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
Jeremi Piotrowski
61c3af32fa
Merge pull request #1730 from flatcar/jepio/btrfs-opt
Mount btrfs fs with rescue= option
2024-03-12 15:05:08 +01:00
Jeremi Piotrowski
24d88e2f61 coreos-base/update_engine: Switch to rescue=nologreplay btrfs option
'norecovery' was deprecated and has been removed in kernel v6.8 so switch to
the new way of doing things.

This pulls in https://github.com/flatcar/update_engine/pull/40.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-12 10:56:15 +01:00
flatcar-ci
9e94b1bde4 New version: main-3906.0.0-nightly-20240311-2100 2024-03-11 21:00:32 +00:00
Jeremi Piotrowski
1ec40b2dac build_library: create_prod_sysexts: Move artifacts to BUILD_DIR
Putting things in a sysexts subdir results in the same layout on
bincache and does not follow the expected url schema for fetching the
sysext.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-11 21:03:16 +01:00
Jeremi Piotrowski
42ed2d9b7e coreos-kernel.eclass: Install host arch Makefiles into source dir
Gentoo's linux-info.eclass tries to check the kernel version by
including /lib/modules/.../source/Makefile and printing $(VERSION).  It
unsets ARCH= before doing this (no clue why) which works with a full
source tree but not with our minimized one. To fix this we need to
archive arch/x86/Makefile also for arm64.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-11 17:24:24 +00:00
Jeremi Piotrowski
79294342a9 build_library: Place EXTRA_SYSEXTS in a separate file
This allows it to be sourced from other scripts and used e.g. in
generating an image changes summary.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-11 12:51:09 +00:00
Jeremi Piotrowski
53e164969f ci: Build sysexts together with image
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2024-03-11 11:57:45 +00:00