Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
142 commits
Select commit Hold shift + click to select a range
384dd1c
app-admin/eselect: Sync with Gentoo
Mar 23, 2026
05f0d29
app-arch/libarchive: Sync with Gentoo
Mar 23, 2026
8f6d4a8
app-containers/containerd: Sync with Gentoo
Mar 23, 2026
f5571b0
app-containers/docker-cli: Sync with Gentoo
Mar 23, 2026
8b13cfa
app-containers/incus: Sync with Gentoo
Mar 23, 2026
c25dcdb
app-containers/lxc: Sync with Gentoo
Mar 23, 2026
ecbe0b0
app-containers/runc: Sync with Gentoo
Mar 23, 2026
3aab1bf
app-crypt/p11-kit: Sync with Gentoo
Mar 23, 2026
d05275b
app-crypt/sbsigntools: Sync with Gentoo
Mar 23, 2026
990ef7c
app-editors/nano: Sync with Gentoo
Mar 23, 2026
e5f1daa
app-editors/vim: Sync with Gentoo
Mar 23, 2026
1bca9db
app-misc/jq: Sync with Gentoo
Mar 23, 2026
32ace48
app-misc/pax-utils: Sync with Gentoo
Mar 23, 2026
67ac85e
app-shells/bash: Sync with Gentoo
Mar 23, 2026
1137605
dev-build/autoconf: Sync with Gentoo
Mar 23, 2026
026b079
dev-build/autoconf-wrapper: Sync with Gentoo
Mar 23, 2026
7f02da6
dev-build/meson: Sync with Gentoo
Mar 23, 2026
e01fa45
dev-db/sqlite: Sync with Gentoo
Mar 23, 2026
0ccdfe0
dev-debug/gdb: Sync with Gentoo
Mar 23, 2026
01d5998
dev-debug/strace: Sync with Gentoo
Mar 23, 2026
ad2fe17
dev-lang/go: Sync with Gentoo
Mar 23, 2026
3683655
dev-lang/go-bootstrap: Sync with Gentoo
Mar 23, 2026
b9938e7
dev-lang/perl: Sync with Gentoo
Mar 23, 2026
8391172
dev-lang/python: Sync with Gentoo
Mar 23, 2026
b8b6e92
dev-lang/rust: Sync with Gentoo
Mar 23, 2026
088aba6
dev-lang/rust-bin: Sync with Gentoo
Mar 23, 2026
7591fec
dev-lang/rust-common: Sync with Gentoo
Mar 23, 2026
1a78356
dev-libs/cowsql: Sync with Gentoo
Mar 23, 2026
bf30b22
dev-libs/elfutils: Sync with Gentoo
Mar 23, 2026
42f2927
dev-libs/expat: Sync with Gentoo
Mar 23, 2026
c5cb78c
dev-libs/libpcre2: Sync with Gentoo
Mar 23, 2026
8c43fac
dev-libs/libsodium: Sync with Gentoo
Mar 23, 2026
d64a0ef
dev-libs/libtasn1: Sync with Gentoo
Mar 23, 2026
212bec7
dev-libs/libuv: Sync with Gentoo
Mar 23, 2026
e0a7189
dev-libs/libxml2: Sync with Gentoo
Mar 23, 2026
3911936
dev-libs/libxslt: Sync with Gentoo
Mar 23, 2026
4332233
dev-libs/mpc: Sync with Gentoo
Mar 23, 2026
073ceff
dev-libs/nspr: Sync with Gentoo
Mar 23, 2026
3997392
dev-libs/openssl: Sync with Gentoo
Mar 23, 2026
9b85575
dev-libs/tree-sitter: Sync with Gentoo
Mar 23, 2026
0e48a00
dev-libs/userspace-rcu: Sync with Gentoo
Mar 23, 2026
248830e
dev-libs/xmlsec: Sync with Gentoo
Mar 23, 2026
6ad5689
dev-python/charset-normalizer: Sync with Gentoo
Mar 23, 2026
677bdf2
dev-python/ensurepip-setuptools: Sync with Gentoo
Mar 23, 2026
327e031
dev-python/jaraco-context: Sync with Gentoo
Mar 23, 2026
12c37c5
dev-python/setuptools: Sync with Gentoo
Mar 23, 2026
f301aad
dev-python/setuptools-scm: Sync with Gentoo
Mar 23, 2026
26caac2
dev-util/bpftool: Sync with Gentoo
Mar 23, 2026
1ceafd8
dev-util/debugedit: Sync with Gentoo
Mar 23, 2026
e0bd85b
dev-util/maturin: Sync with Gentoo
Mar 23, 2026
e79435f
dev-util/patchutils: Sync with Gentoo
Mar 23, 2026
7fdbd48
eclass/autotools: Sync with Gentoo
Mar 23, 2026
e1d52f1
eclass/cargo: Sync with Gentoo
Mar 23, 2026
02ba6e3
eclass/cmake: Sync with Gentoo
Mar 23, 2026
796e16e
eclass/distutils-r1: Sync with Gentoo
Mar 23, 2026
7b896ef
eclass/flag-o-matic: Sync with Gentoo
Mar 23, 2026
c6b9ebc
eclass/git-r3: Sync with Gentoo
Mar 23, 2026
bd2da10
eclass/go-env: Sync with Gentoo
Mar 23, 2026
a7edc9f
eclass/go-module: Sync with Gentoo
Mar 23, 2026
db50870
eclass/linux-mod-r1: Sync with Gentoo
Mar 23, 2026
80f7d2d
eclass/mercurial: Sync with Gentoo
Mar 23, 2026
194dcb4
eclass/meson: Sync with Gentoo
Mar 23, 2026
12187f0
eclass/python-utils-r1: Sync with Gentoo
Mar 23, 2026
39b241e
eclass/readme.gentoo-r1: Sync with Gentoo
Mar 23, 2026
fa0fab2
eclass/rpm: Sync with Gentoo
Mar 23, 2026
0a9cb7c
eclass/rust: Sync with Gentoo
Mar 23, 2026
7321a7a
eclass/sysroot: Sync with Gentoo
Mar 23, 2026
b29d151
eclass/tmpfiles: Sync with Gentoo
Mar 23, 2026
6224691
eclass/toolchain-funcs: Sync with Gentoo
Mar 23, 2026
b196c82
eclass/toolchain: Sync with Gentoo
Mar 23, 2026
c73c85c
eclass/unpacker: Sync with Gentoo
Mar 23, 2026
7e1fa6c
media-libs/libpng: Sync with Gentoo
Mar 23, 2026
18c34d4
net-dns/c-ares: Sync with Gentoo
Mar 23, 2026
8d7f47e
net-dns/dnsmasq: Sync with Gentoo
Mar 23, 2026
395121c
net-fs/nfs-utils: Sync with Gentoo
Mar 23, 2026
70bf8ef
net-fs/samba: Sync with Gentoo
Mar 23, 2026
e8f040d
net-libs/gnutls: Sync with Gentoo
Mar 23, 2026
1c59a3d
net-libs/libpcap: Sync with Gentoo
Mar 23, 2026
fa4e3e5
net-misc/curl: Sync with Gentoo
Mar 23, 2026
54fc0f7
net-misc/rsync: Sync with Gentoo
Mar 23, 2026
fcb63c9
net-misc/socat: Sync with Gentoo
Mar 23, 2026
6e85753
net-misc/whois: Sync with Gentoo
Mar 23, 2026
4403634
net-nds/openldap: Sync with Gentoo
Mar 23, 2026
d5dcc8d
profiles: Sync with Gentoo
Mar 23, 2026
b59490c
sys-apps/coreutils: Sync with Gentoo
Mar 23, 2026
e41377b
sys-apps/iucode_tool: Sync with Gentoo
Mar 23, 2026
2847a3f
sys-apps/kexec-tools: Sync with Gentoo
Mar 23, 2026
4f7ec06
sys-apps/less: Sync with Gentoo
Mar 23, 2026
6ac7729
sys-apps/man-pages: Sync with Gentoo
Mar 23, 2026
1642c51
sys-apps/pcsc-lite: Sync with Gentoo
Mar 23, 2026
1a5c2c9
sys-apps/portage: Sync with Gentoo
Mar 23, 2026
6e7c947
sys-apps/pv: Sync with Gentoo
Mar 23, 2026
ce1c529
sys-apps/shadow: Sync with Gentoo
Mar 23, 2026
c831c3f
sys-apps/systemd: Sync with Gentoo
Mar 23, 2026
fc1e3a5
sys-apps/util-linux: Sync with Gentoo
Mar 23, 2026
c0c6b14
sys-boot/grub: Sync with Gentoo
Mar 23, 2026
83d005f
sys-devel/binutils: Sync with Gentoo
Mar 23, 2026
1fe5a77
sys-devel/crossdev: Sync with Gentoo
Mar 23, 2026
8de257b
sys-devel/gcc: Sync with Gentoo
Mar 23, 2026
5f96450
sys-devel/m4: Sync with Gentoo
Mar 23, 2026
31791e2
sys-fs/btrfs-progs: Sync with Gentoo
Mar 23, 2026
ca7c9e9
sys-fs/cryptsetup: Sync with Gentoo
Mar 23, 2026
0965822
sys-fs/fuse-common: Sync with Gentoo
Mar 23, 2026
113cd31
sys-fs/lvm2: Sync with Gentoo
Mar 23, 2026
a310b7d
sys-fs/lxcfs: Sync with Gentoo
Mar 23, 2026
97918c0
sys-fs/mdadm: Sync with Gentoo
Mar 23, 2026
4af11b0
sys-fs/multipath-tools: Sync with Gentoo
Mar 23, 2026
04c44a9
sys-fs/xfsprogs: Sync with Gentoo
Mar 23, 2026
7fc0264
sys-fs/zfs: Sync with Gentoo
Mar 23, 2026
54c05e9
sys-fs/zfs-kmod: Sync with Gentoo
Mar 23, 2026
11984b3
sys-kernel/dracut: Sync with Gentoo
Mar 23, 2026
4d58726
sys-libs/binutils-libs: Sync with Gentoo
Mar 23, 2026
e83238a
sys-libs/glibc: Sync with Gentoo
Mar 23, 2026
bb53c7f
sys-libs/libcap: Sync with Gentoo
Mar 23, 2026
65d9374
sys-libs/pam: Sync with Gentoo
Mar 23, 2026
d2d7956
sys-libs/tdb: Sync with Gentoo
Mar 23, 2026
b23934e
sys-libs/tevent: Sync with Gentoo
Mar 23, 2026
c1a4e2e
sys-libs/zlib: Sync with Gentoo
Mar 23, 2026
873ce51
sys-process/procps: Sync with Gentoo
Mar 23, 2026
229281b
sys-process/psmisc: Sync with Gentoo
Mar 23, 2026
c17c250
virtual/ldb: Sync with Gentoo
Mar 23, 2026
efd5de2
virtual/service-manager: Sync with Gentoo
Mar 23, 2026
db28a80
virtual/tmpfiles: Sync with Gentoo
Mar 23, 2026
8837a1b
x11-drivers/nvidia-drivers: Sync with Gentoo
Mar 23, 2026
0154b8d
net-libs/ngtcp2: Add from Gentoo
krnowak Mar 23, 2026
8e49c69
.github: Add net-libs/ngtcp2 to automation
krnowak Mar 23, 2026
c653af3
overlay profiles: Drop accept keywords for app-crypt/p11-kit
krnowak Mar 26, 2026
fefbd10
overlay profiles: Drop accept keywords for net-libs/gnutls
krnowak Mar 26, 2026
c3868ec
overlay profiles: Drop accept keywords for net-misc/rsync
krnowak Mar 26, 2026
ed94959
overlay profiles: Drop accept keywords for sys-apps/iucode_tool
krnowak Mar 27, 2026
0a7bba0
overlay coreos/user-patches: Regenerate patches for sys-apps/systemd
krnowak Apr 1, 2026
7e8be05
overlay coreos/config: Drop support URL override for sys-apps/systemd
krnowak Apr 1, 2026
96bcfdd
overlay profiles: Drop accept keywords for sys-devel/binutils
krnowak Apr 1, 2026
8d77c03
overlay coreos/config: Amend disabling real-time scheduling in sys-fs…
krnowak Apr 1, 2026
3784d26
overlay profiles: Drop accept keywords for sys-libs/binutils-libs
krnowak Apr 2, 2026
42ecc79
overlay coreos/user-patches: Add a patch for cri-tools
krnowak Apr 13, 2026
591ac84
overlay app-emulation/amazon-ssm-agent: Port to Gentoo go eclasses, f…
krnowak Apr 13, 2026
2ade072
overlay eclass/coreos-go-depend: Bump go to 1.25
krnowak Apr 13, 2026
1954cd5
overlay sys-kernel/bootengine: Pull changes for systemd 259
krnowak Apr 27, 2026
db94c66
sys-devel/crossdev: Backport change in SRC_URI
krnowak Apr 30, 2026
dee79f5
sys-apps/ignition: Patch to address partitioning race conditions
chewi May 11, 2026
cb42ed9
changelog: Add entries
krnowak Apr 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/workflows/portage-stable-packages-list
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,7 @@ net-libs/libpsl
net-libs/libslirp
net-libs/libtirpc
net-libs/nghttp2
net-libs/ngtcp2
net-libs/rpcsvc-proto

net-misc/bridge-utils
Expand Down
3 changes: 3 additions & 0 deletions changelog/security/2026-04-10-weekly-updates.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- go ([CVE-2025-61726](https://www.cve.org/CVERecord?id=CVE-2025-61726), [CVE-2025-61728](https://www.cve.org/CVERecord?id=CVE-2025-61728), [CVE-2025-61730](https://www.cve.org/CVERecord?id=CVE-2025-61730), [CVE-2025-61731](https://www.cve.org/CVERecord?id=CVE-2025-61731), [CVE-2025-68119](https://www.cve.org/CVERecord?id=CVE-2025-68119), [CVE-2025-68121](https://www.cve.org/CVERecord?id=CVE-2025-68121), [CVE-2025-61732](https://www.cve.org/CVERecord?id=CVE-2025-61732), [CVE-2026-25679](https://www.cve.org/CVERecord?id=CVE-2026-25679), [CVE-2026-27139](https://www.cve.org/CVERecord?id=CVE-2026-27139), [CVE-2026-27142](https://www.cve.org/CVERecord?id=CVE-2026-27142))
- expat ([CVE-2026-32776](https://www.cve.org/CVERecord?id=CVE-2026-32776), [CVE-2026-32777](https://www.cve.org/CVERecord?id=CVE-2026-32777), [CVE-2026-32778](https://www.cve.org/CVERecord?id=CVE-2026-32778))
- systemd ([CVE-2026-40223](https://www.cve.org/CVERecord?id=CVE-2026-40223), [CVE-2026-40226](https://www.cve.org/CVERecord?id=CVE-2026-40226))
18 changes: 18 additions & 0 deletions changelog/updates/2026-04-10-weekly-updates.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
- SDK: go ([1.25.8](https://go.dev/doc/devel/release#go1.25.8) (includes [1.25.7](https://go.dev/doc/devel/release#go1.25.7), [1.25.6](https://go.dev/doc/devel/release#go1.25.6)))
- base, dev: cryptsetup ([2.8.4](https://gitlab.com/cryptsetup/cryptsetup/-/raw/v2.8.4/docs/v2.8.4-ReleaseNotes))
- base, dev: expat ([2.7.5](https://github.com/libexpat/libexpat/blob/R_2_7_5/expat/Changes))
- base, dev: less ([692](https://greenwoodsoftware.com/less/news.692.html) (includes [691](https://greenwoodsoftware.com/less/news.691.html)))
- base, dev: lvm2 ([2.03.37](https://gitlab.com/lvmteam/lvm2/-/tags/v2_03_37) (includes [2.03.36](https://gitlab.com/lvmteam/lvm2/-/tags/v2_03_36), [2.03.35](https://gitlab.com/lvmteam/lvm2/-/tags/v2_03_35), [2.03.34](https://gitlab.com/lvmteam/lvm2/-/tags/v2_03_34), [2.03.33](https://gitlab.com/lvmteam/lvm2/-/tags/v2_03_33), [2.03.32](https://gitlab.com/lvmteam/lvm2/-/tags/v2_03_32), [2.03.31](https://gitlab.com/lvmteam/lvm2/-/tags/v2_03_31), [2.03.30](https://gitlab.com/lvmteam/lvm2/-/tags/v2_03_30), [2.03.29](https://gitlab.com/lvmteam/lvm2/-/tags/v2_03_29), [2.03.28](https://gitlab.com/lvmteam/lvm2/-/tags/v2_03_28), [2.03.27](https://gitlab.com/lvmteam/lvm2/-/tags/v2_03_27), [2.03.26](https://gitlab.com/lvmteam/lvm2/-/tags/v2_03_26), [2.03.25](https://gitlab.com/lvmteam/lvm2/-/tags/v2_03_25), [2.03.24](https://gitlab.com/lvmteam/lvm2/-/tags/v2_03_24), [2.03.23](https://gitlab.com/lvmteam/lvm2/-/tags/v2_03_23), [2.03.22](https://gitlab.com/lvmteam/lvm2/-/tags/v2_03_22)))
- base, dev: mdadm ([4.5](https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/tree/CHANGELOG.md?h=mdadm-4.5))
- base, dev: multipath-tools ([0.14.3](https://raw.githubusercontent.com/opensvc/multipath-tools/refs/tags/0.14.3/NEWS.md) (includes [0.14.2](https://raw.githubusercontent.com/opensvc/multipath-tools/refs/tags/0.14.2/NEWS.md), [0.14.1](https://raw.githubusercontent.com/opensvc/multipath-tools/refs/tags/0.14.1/NEWS.md), [0.14.0](https://raw.githubusercontent.com/opensvc/multipath-tools/refs/tags/0.14.0/NEWS.md), [0.13.0](https://raw.githubusercontent.com/opensvc/multipath-tools/refs/tags/0.13.0/NEWS.md), [0.12.0](https://raw.githubusercontent.com/opensvc/multipath-tools/refs/tags/0.12.0/NEWS.md), [0.11.0](https://raw.githubusercontent.com/opensvc/multipath-tools/refs/tags/0.11.0/NEWS.md), [0.10.0](https://raw.githubusercontent.com/opensvc/multipath-tools/refs/tags/0.10.0/NEWS.md), [0.9.9](https://raw.githubusercontent.com/opensvc/multipath-tools/refs/tags/0.9.9/NEWS.md)))
- base, dev: nfs-utils ([2.8.5](https://lwn.net/Articles/1056938/) (includes [2.8.4](https://lwn.net/Articles/1037951/), [2.8.3](https://lwn.net/Articles/1015990/), [2.8.2](https://lwn.net/Articles/1001669/), [2.8.1](https://lwn.net/Articles/994839/))
- base, dev: samba ([4.23.6](https://www.samba.org/samba/history/samba-4.23.6.html) (includes [4.23.5](https://www.samba.org/samba/history/samba-4.23.5.html), [4.23.4](https://www.samba.org/samba/history/samba-4.23.4.html), [4.23.3](https://www.samba.org/samba/history/samba-4.23.3.html), [4.23.2](https://www.samba.org/samba/history/samba-4.23.2.html), [4.23.1](https://www.samba.org/samba/history/samba-4.23.1.html), [4.23.0](https://www.samba.org/samba/history/samba-4.23.0.html)))
- base, dev: shadow ([4.19.3](https://github.com/shadow-maint/shadow/releases/tag/4.19.3) (includes [4.19.2](https://github.com/shadow-maint/shadow/releases/tag/4.19.2), [4.19.1](https://github.com/shadow-maint/shadow/releases/tag/4.19.1), [4.19.0](https://github.com/shadow-maint/shadow/releases/tag/4.19.0), [4.18.0](https://github.com/shadow-maint/shadow/releases/tag/4.18.0), [4.17.0](https://github.com/shadow-maint/shadow/releases/tag/4.17.0), [4.16.0](https://github.com/shadow-maint/shadow/releases/tag/4.16.0), [4.15.0](https://github.com/shadow-maint/shadow/releases/tag/4.15.0)))
- base, dev: socat ([1.8.1.1](https://repo.or.cz/socat.git/blob/refs/tags/tag-1.8.1.1:/CHANGES))
- base, dev: strace ([6.19](https://github.com/strace/strace/releases/tag/v6.19))
- base, dev: systemd ([259.4](https://raw.githubusercontent.com/systemd/systemd/refs/tags/v259.4/NEWS))
- base, dev: tdb ([1.4.14](https://gitlab.com/samba-team/samba/-/commit/823ed52d5c561d8598da251154571402a307b367))
- base, dev: tevent ([0.17.1](https://gitlab.com/samba-team/samba/-/commit/ebf4c4773733d2aae14c96f70681211ae40c1c18) (includes [0.17.0](https://gitlab.com/samba-team/samba/-/commit/2401f844c8beb7e856b79fb57f8e4c079b3fb0f0)))
- base, dev: userspace-rcu ([0.15.6](https://lwn.net/Articles/1055984/))
- dev: man-pages ([6.16](https://lwn.net/Articles/1044066/) (includes [6.15](https://sourceware.org/pipermail/libc-alpha/2025-July/168842.html), [6.14](https://lkml.org/lkml/2025/5/9/32), [6.13](https://lkml.org/lkml/2025/3/7/1714), [6.12](https://lkml.org/lkml/2025/2/24/432), [6.11](https://lwn.net/Articles/1009902/)))
- sysext-zfs: zfs ([2.3.6](https://github.com/openzfs/zfs/releases/tag/zfs-2.3.6) (includes [2.3.5](https://github.com/openzfs/zfs/releases/tag/zfs-2.3.5)))
Original file line number Diff line number Diff line change
@@ -1,31 +1,27 @@
# Distributed under the terms of the GNU General Public License v2

EAPI=7
EAPI=8

COREOS_GO_PACKAGE="${GITHUB_URI}"
inherit go-env go-module sysroot systemd

inherit coreos-go-depend golang-vcs-snapshot systemd

EGO_PN="github.com/aws/${PN}"
DESCRIPTION="AWS Systems Manager Agent"
HOMEPAGE="https://github.com/aws/amazon-ssm-agent"
SRC_URI="https://github.com/aws/amazon-ssm-agent/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="Apache-2.0"
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz ${EGO_VENDOR_URI}"
SLOT="0"
KEYWORDS="amd64 arm64"

S="${WORKDIR}/${PN}-${PV}/src/${EGO_PN}"

src_prepare() {
default
ln -s ${PWD}/vendor/src/* ${PWD}/vendor/
# Drop clearing of GOARCH and GOOS - it causes go run to
# create a binary for CBUILD, but then go run also invokes the
# binary using qemu-CHOST, because we use -exec flag when
# cross-compiling
sed -i -e 's/GOARCH= GOOS= go run/go run/' makefile || die
Comment on lines +17 to +21
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similarly, I don't think this will be an issue after resyncing go-env.eclass since we use a host-based environment variable rather than the global GOFLAGS.

}

src_compile() {
go_export

# set agent release version
BRAZIL_PACKAGE_VERSION=${PV} ${EGO} run ./agent/version/versiongenerator/version-gen.go
# build all the tools
if [[ "${ARCH}" == "arm64" ]]; then
emake build-arm64
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
flatcar_systemd_meson_args_array=(
# Point to our user mailing list.
-Dsupport-url='https://groups.google.com/forum/#!forum/flatcar-linux-user'

# Use our ntp servers.
-Dntp-servers="0.flatcar.pool.ntp.org 1.flatcar.pool.ntp.org 2.flatcar.pool.ntp.org 3.flatcar.pool.ntp.org"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ cros_post_src_install_add_dropin() {
mkdir -p "${D}$(systemd_get_systemunitdir)/multipathd.service.d"
cat <<EOF >"${D}$(systemd_get_systemunitdir)/multipathd.service.d/flatcar.conf"
[Service]
# Multipathd sets itself to sched_rr with highest priority.
# Cgroups2 doesn't support realtime processes outside the root cgroup,
# Set LimitRTPRIO to zero to tell multipathd to not even attempt
# enabling the real-time scheduling. We do this, because cgroups2
# doesn't support real-time processes outside the root cgroup -
# if any such process exists then cpu controller can't be enabled.
# This poses a bit of a dilemma.
# Block realtime control for the process, but give it highest non-rt priority.
RestrictRealtime=yes
Nice=-20
# Upstream unit already sets CPUWeight to 1000 to have a sufficient
# priority in case of normal scheduling.
LimitRTPRIO=0
EOF
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
From ab81f8e0860e2c47283415afd1713188b22127ea Mon Sep 17 00:00:00 2001
From: James Le Cuirot <jlecuirot@microsoft.com>
Date: Mon, 13 Apr 2026 11:20:12 +0100
Subject: [PATCH] Makefile: Don't explicitly pass GOFLAGS to go commands

go automatically checks GOFLAGS and filters unknown flags for you, e.g.
it will drop the go run -exec flag when doing go build. Explicitly
passing GOFLAGS breaks this filtering.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
---
Makefile | 3 ---
1 file changed, 3 deletions(-)

diff --git a/Makefile b/Makefile
index 3576643c03..cf7eb37d0e 100644
--- a/Makefile
+++ b/Makefile
@@ -100,7 +100,6 @@ critest: ## Build the critest binary.
$(CRITEST):
CGO_ENABLED=$(CGO_ENABLED) $(GO_TEST) -c -o $@ \
-ldflags '$(GO_LDFLAGS)' \
- $(GOFLAGS) \
$(PROJECT)/cmd/critest

.PHONY: crictl
@@ -110,7 +109,6 @@ crictl: ## Build the crictl binary.
$(CRICTL):
CGO_ENABLED=$(CGO_ENABLED) $(GO_BUILD) -o $@ \
-ldflags '$(GO_LDFLAGS)' \
- $(GOFLAGS) \
$(PROJECT)/cmd/crictl

.PHONY: clean
@@ -200,7 +198,6 @@ test-crictl: $(GINKGO) ## Run the crictl test suite.
# Run go test for templates_test.go and util_test.go
CGO_ENABLED=$(CGO_ENABLED) $(GO_TEST) \
-ldflags '$(GO_LDFLAGS)' \
- $(GOFLAGS) \
$(PROJECT)/cmd/crictl
$(GINKGO) $(TESTFLAGS) \
-r -p \
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The patch won't be needed with a fresh sync of go-env.eclass. The upstream patch is still valid, but I ended up applying an exec wrapper a different way for other reasons.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
`0000-Do-not-explicitly-pass-GOFLAGS.patch` patch is taken from
https://github.com/kubernetes-sigs/cri-tools/pull/2048/. Not currently
merged, so it needs to be checked if updating to cri-tools >1.35.0
(current release at the time of writing this message).
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 6055d8b50c4a39d3e5f4fa0cf017a3b04786c5ba Mon Sep 17 00:00:00 2001
From 3e713e019ab2e13e0d48bf30bab0ddaf3573458d Mon Sep 17 00:00:00 2001
From: David Michael <dm0@redhat.com>
Date: Tue, 16 Apr 2019 02:44:51 +0000
Subject: [PATCH 01/20] wait-online: set --any by default
Subject: [PATCH 01/14] wait-online: set --any by default

The systemd-networkd-wait-online command would normally continue
waiting after a network interface is usable if other interfaces are
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 5bff53a23228b10d93d342510f0ffd41185e3011 Mon Sep 17 00:00:00 2001
From d34fa493e6d69b97633e329d55413a549da8239d Mon Sep 17 00:00:00 2001
From: Alex Crawford <alex.crawford@coreos.com>
Date: Wed, 2 Mar 2016 10:46:33 -0800
Subject: [PATCH 02/20] needs-update: don't require strictly newer usr
Subject: [PATCH 02/14] needs-update: don't require strictly newer usr

Updates should be triggered whenever usr changes, not only when it is newer.
---
Expand All @@ -23,7 +23,7 @@ index d9d78262a1..761bbdecca 100644
This requires that updates to <filename>/usr/</filename> are always
followed by an update of the modification time of
diff --git a/src/shared/condition.c b/src/shared/condition.c
index b09eff1bfb..3a170b1820 100644
index 15e3ee9840..381378e77a 100644
--- a/src/shared/condition.c
+++ b/src/shared/condition.c
@@ -817,7 +817,7 @@ static int condition_test_needs_update(Condition *c, char **env) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From df56cf2ad0c6c84a22e9fca8893c610b82b78377 Mon Sep 17 00:00:00 2001
From 2cc519ebec4f01f76bcdcde61259ba23a810ea30 Mon Sep 17 00:00:00 2001
From: Adrian Vladu <avladu@cloudbasesolutions.com>
Date: Fri, 16 Feb 2024 11:22:08 +0000
Subject: [PATCH 03/20] core: use max for DefaultTasksMax
Subject: [PATCH 03/14] core: use max for DefaultTasksMax

Since systemd v228, systemd has a DefaultTasksMax which defaulted
to 512, later 15% of the system's maximum number of PIDs. This
Expand All @@ -21,7 +21,7 @@ Signed-off-by: Adrian Vladu <avladu@cloudbasesolutions.com>
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/man/systemd-system.conf.xml b/man/systemd-system.conf.xml
index cf5a3612f6..a0f9f8ba57 100644
index b7fe53dc9c..175fe67139 100644
--- a/man/systemd-system.conf.xml
+++ b/man/systemd-system.conf.xml
@@ -227,7 +227,7 @@
Expand All @@ -34,10 +34,10 @@ index cf5a3612f6..a0f9f8ba57 100644
Kernel has a default value for <varname>kernel.pid_max=</varname> and an algorithm of counting in case of more than 32 cores.
For example, with the default <varname>kernel.pid_max=</varname>, <varname>DefaultTasksMax=</varname> defaults to 4915,
diff --git a/src/core/manager.c b/src/core/manager.c
index 20a535f2f4..be1c352045 100644
index a5a51023c5..ef0ce9e31d 100644
--- a/src/core/manager.c
+++ b/src/core/manager.c
@@ -112,7 +112,7 @@
@@ -113,7 +113,7 @@
/* How many units and jobs to process of the bus queue before returning to the event loop. */
#define MANAGER_BUS_MESSAGE_BUDGET 100U

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 38ef166d85928d1f806bc48f3d29f45563d1abde Mon Sep 17 00:00:00 2001
From a8c18ecc95e15af2d669649115826430698dcc5d Mon Sep 17 00:00:00 2001
From: Matthew Garrett <mjg59@coreos.com>
Date: Tue, 20 Dec 2016 16:43:22 +0000
Subject: [PATCH 04/20] systemd: Disable SELinux permissions checks
Subject: [PATCH 04/14] systemd: Disable SELinux permissions checks

We don't care about the interaction between systemd and SELinux policy, so
let's just disable these checks rather than having to incorporate policy
Expand All @@ -12,7 +12,7 @@ to limit containers and not anything running directly on the host.
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/selinux-access.c b/src/core/selinux-access.c
index 8ccc31630d..34e9cebee8 100644
index 7457b3d456..82afe343dd 100644
--- a/src/core/selinux-access.c
+++ b/src/core/selinux-access.c
@@ -2,7 +2,7 @@
Expand All @@ -22,8 +22,8 @@ index 8ccc31630d..34e9cebee8 100644
-#if HAVE_SELINUX
+#if 0

#include <selinux/avc.h>
#include <selinux/selinux.h>
#include <unistd.h>

--
2.52.0

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 4e071bef0713099cfe2540a5576744c0e5c41723 Mon Sep 17 00:00:00 2001
From 33a603bb00fce6e4c3b4faf80157e8532932fb00 Mon Sep 17 00:00:00 2001
From: Sayan Chowdhury <schowdhury@microsoft.com>
Date: Fri, 16 Dec 2022 16:28:26 +0530
Subject: [PATCH 05/20] Revert "getty: Pass tty to use by agetty via stdin"
Subject: [PATCH 05/14] Revert "getty: Pass tty to use by agetty via stdin"

This reverts commit b4bf9007cbee7dc0b1356897344ae2a7890df84c.

Expand All @@ -17,17 +17,17 @@ Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
4 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/units/console-getty.service.in b/units/console-getty.service.in
index 967d8337ab..1f2d8b910f 100644
index 278048724f..5731e68d8f 100644
--- a/units/console-getty.service.in
+++ b/units/console-getty.service.in
@@ -20,12 +20,12 @@ Before=getty.target
ConditionPathExists=/dev/console

[Service]
-ExecStart=-/sbin/agetty --noreset --noclear --issue-file=/etc/issue:/etc/issue.d:/run/issue.d:/usr/lib/issue.d --keep-baud 115200,57600,38400,9600 - ${TERM}
-ExecStart=-{{AGETTY}} --noreset --noclear --issue-file=/etc/issue:/etc/issue.d:/run/issue.d:/usr/lib/issue.d --keep-baud 115200,57600,38400,9600 - ${TERM}
+# The '-o' option value tells agetty to replace 'login' arguments with '--' for
+# safety, and then the entered username.
+ExecStart=-/sbin/agetty -o '-- \\u' --noreset --noclear --keep-baud 115200,57600,38400,9600 console ${TERM}
+ExecStart=-{{AGETTY}} -o '-- \\u' --noreset --noclear --keep-baud 115200,57600,38400,9600 console ${TERM}
Type=idle
Restart=always
UtmpIdentifier=cons
Expand All @@ -37,17 +37,17 @@ index 967d8337ab..1f2d8b910f 100644
TTYReset=yes
TTYVHangup=yes
diff --git a/units/container-getty@.service.in b/units/container-getty@.service.in
index e0b27613df..5f27653d1f 100644
index 18e5a98a7f..568fcd1e53 100644
--- a/units/container-getty@.service.in
+++ b/units/container-getty@.service.in
@@ -25,13 +25,13 @@ Conflicts=rescue.service
Before=rescue.service

[Service]
-ExecStart=-/sbin/agetty --noreset --noclear --issue-file=/etc/issue:/etc/issue.d:/run/issue.d:/usr/lib/issue.d - ${TERM}
-ExecStart=-{{AGETTY}} --noreset --noclear --issue-file=/etc/issue:/etc/issue.d:/run/issue.d:/usr/lib/issue.d - ${TERM}
+# The '-o' option value tells agetty to replace 'login' arguments with '--' for
+# safety, and then the entered username.
+ExecStart=-/sbin/agetty -o '-- \\u' --noreset --noclear pts/%I ${TERM}
+ExecStart=-{{AGETTY}} -o '-- \\u' --noreset --noclear pts/%I ${TERM}
Type=idle
Restart=always
RestartSec=0
Expand All @@ -58,17 +58,17 @@ index e0b27613df..5f27653d1f 100644
TTYReset=yes
TTYVHangup=yes
diff --git a/units/getty@.service.in b/units/getty@.service.in
index 104c4acc96..1819627d1c 100644
index 15f1a572fd..a3285d956e 100644
--- a/units/getty@.service.in
+++ b/units/getty@.service.in
@@ -34,13 +34,13 @@ Before=rescue.service
ConditionPathExists=/dev/tty0

[Service]
-ExecStart=-/sbin/agetty --noreset --noclear --issue-file=/etc/issue:/etc/issue.d:/run/issue.d:/usr/lib/issue.d - ${TERM}
-ExecStart=-{{AGETTY}} --noreset --noclear --issue-file=/etc/issue:/etc/issue.d:/run/issue.d:/usr/lib/issue.d - ${TERM}
+# The '-o' option value tells agetty to replace 'login' arguments with '--' for
+# safety, and then the entered username.
+ExecStart=-/sbin/agetty -o '-- \\u' --noreset --noclear %I ${TERM}
+ExecStart=-{{AGETTY}} -o '-- \\u' --noreset --noclear %I ${TERM}
Type=idle
Restart=always
RestartSec=0
Expand All @@ -79,17 +79,17 @@ index 104c4acc96..1819627d1c 100644
TTYReset=yes
TTYVHangup=yes
diff --git a/units/serial-getty@.service.in b/units/serial-getty@.service.in
index 0134c83d48..ba4cbc0edb 100644
index 8b5a63d681..29ab8a0533 100644
--- a/units/serial-getty@.service.in
+++ b/units/serial-getty@.service.in
@@ -30,12 +30,12 @@ Conflicts=rescue.service
Before=rescue.service

[Service]
-ExecStart=-/sbin/agetty --noreset --noclear --issue-file=/etc/issue:/etc/issue.d:/run/issue.d:/usr/lib/issue.d --keep-baud 115200,57600,38400,9600 - ${TERM}
-ExecStart=-{{AGETTY}} --noreset --noclear --issue-file=/etc/issue:/etc/issue.d:/run/issue.d:/usr/lib/issue.d --keep-baud 115200,57600,38400,9600 - ${TERM}
+# The '-o' option value tells agetty to replace 'login' arguments with '--' for
+# safety, and then the entered username.
+ExecStart=-/sbin/agetty -o '-- \\u' --noreset --noclear --keep-baud 115200,57600,38400,9600 %I ${TERM}
+ExecStart=-{{AGETTY}} -o '-- \\u' --noreset --noclear --keep-baud 115200,57600,38400,9600 %I ${TERM}
Type=idle
Restart=always
UtmpIdentifier=%I
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From b097e139801009d722c33a9580bcda23a4a7a1e1 Mon Sep 17 00:00:00 2001
From 6c83b73ac087aaa1f08551c064cbac119ad92490 Mon Sep 17 00:00:00 2001
From: Adrian Vladu <avladu@cloudbasesolutions.com>
Date: Fri, 16 Feb 2024 11:29:04 +0000
Subject: [PATCH 06/20] units: Keep using old journal file format
Subject: [PATCH 06/14] units: Keep using old journal file format

Systemd 252 made an incompatible change in journal file format. Temporarily
force journald to use the old journal format to give logging containers more
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 0ba9b9356861f8012c0e7794d9c61ebf21a9c6d7 Mon Sep 17 00:00:00 2001
From 9d6db023c34d96b582e763da77c464629266f8e8 Mon Sep 17 00:00:00 2001
From: Krzesimir Nowak <knowak@microsoft.com>
Date: Wed, 22 Oct 2025 10:39:42 +0200
Subject: [PATCH 07/20] tmpfiles.d: Fix DNS issues with default k8s
Subject: [PATCH 07/14] tmpfiles.d: Fix DNS issues with default k8s
configuration

The Kubelet takes /etc/resolv.conf for, e.g., CoreDNS which has dnsPolicy
Expand Down
Loading