Skip to content

Commit 3bff399

Browse files
authored
Merge pull request #3495 from flatcar/buildbot/weekly-portage-stable-package-updates-2025-11-17
Weekly portage-stable package updates 2025-11-17
2 parents c1c79e6 + bb5bbf9 commit 3bff399

File tree

615 files changed

+9422
-13444
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

615 files changed

+9422
-13444
lines changed

.github/workflows/portage-stable-packages-list

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ acct-group/portage
2929
acct-group/render
3030
acct-group/root
3131
acct-group/sgx
32+
acct-group/shadow
3233
acct-group/sshd
3334
acct-group/systemd-coredump
3435
acct-group/systemd-journal
@@ -246,6 +247,7 @@ dev-libs/gmp
246247
dev-libs/gobject-introspection-common
247248
dev-libs/inih
248249
dev-libs/jansson
250+
dev-libs/jose
249251
dev-libs/json-c
250252
dev-libs/jsoncpp
251253
dev-libs/libaio

build_library/build_image_util.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -728,6 +728,17 @@ EOF
728728
sudo setfiles -Dv -r "${root_fs_dir}" "${root_fs_dir}"/etc/selinux/mcs/contexts/files/file_contexts "${root_fs_dir}"/etc
729729
fi
730730

731+
# Temporary hack: set group ownership of /etc/{g,}shadow to the
732+
# shadow group, that way unix_chkpwd, chage and expiry can act on
733+
# those files.
734+
#
735+
# This permissions setting should likely be done in some ebuild, but
736+
# currently files in /usr/share/baselayout are installed by the
737+
# baselayout package, we don't want to add more deps to it.
738+
sudo chgrp \
739+
--reference="${root_fs_dir}/usr/bin/chage" \
740+
"${root_fs_dir}"/{etc,usr/share/baselayout}/{g,}shadow
741+
731742
# Backup the /etc contents to /usr/share/flatcar/etc to serve as
732743
# source for creating missing files. Make sure that the preexisting
733744
# /usr/share/flatcar/etc does not have any meaningful (non-empty)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- `/etc/shadow`, `/etc/gshadow` are now owned by the `shadow` group, `/usr/bin/unix_chkpwd`, `/usr/bin/chage` and `/usr/bin/expiry` are now also owned by the `shadow` group with a sticky bit enabled.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
- SDK: meson ([1.9.1](https://mesonbuild.com/Release-notes-for-1-9-0.html) (includes [1.8.0](https://mesonbuild.com/Release-notes-for-1-8-0.html)))
2+
- SDK: nasm ([3.01](https://www.nasm.us/docs/3.01/nasmac.html) (includes [3.00](https://www.nasm.us/docs/3.00/nasmac.html)))
3+
- base, dev: hwdata ([0.400](https://github.com/vcrhonek/hwdata/releases/tag/v0.400))
4+
- base, dev: intel-microcode ([20251111_p20251112](https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/releases/tag/microcode-20251111))
5+
- base, dev: jose ([14](https://github.com/latchset/jose/releases/tag/v14) (includes [13](https://github.com/latchset/jose/releases/tag/v13)))
6+
- base, dev: less ([685](https://greenwoodsoftware.com/less/news.685.html))
7+
- base, dev: libgpg-error ([1.56](https://github.com/gpg/libgpg-error/releases/tag/libgpg-error-1.56))
8+
- base, dev: openssl ([3.5.4](https://github.com/openssl/openssl/releases/tag/openssl-3.5.4) (includes [3.5.3](https://github.com/openssl/openssl/releases/tag/openssl-3.5.3), [3.5.2](https://github.com/openssl/openssl/releases/tag/openssl-3.5.2), [3.5.1](https://github.com/openssl/openssl/releases/tag/openssl-3.5.1), [3.5.0](https://github.com/openssl/openssl/releases/tag/openssl-3.5.0)))
9+
- base, dev: thin-provisioning-tools ([1.3.0](https://raw.githubusercontent.com/device-mapper-utils/thin-provisioning-tools/refs/tags/v1.3.0/CHANGES) (includes [1.2.2](https://raw.githubusercontent.com/device-mapper-utils/thin-provisioning-tools/refs/tags/v1.2.2/CHANGES), [1.2.1](https://raw.githubusercontent.com/device-mapper-utils/thin-provisioning-tools/refs/tags/v1.2.1/CHANGES), [1.2.0](https://raw.githubusercontent.com/device-mapper-utils/thin-provisioning-tools/refs/tags/v1.2.0/CHANGES), [1.1.0](https://raw.githubusercontent.com/device-mapper-utils/thin-provisioning-tools/refs/tags/v1.1.0/CHANGES), [1.0.14](https://raw.githubusercontent.com/device-mapper-utils/thin-provisioning-tools/refs/tags/v1.0.14/CHANGES), [1.0.13](https://raw.githubusercontent.com/device-mapper-utils/thin-provisioning-tools/refs/tags/v1.0.13/CHANGES), [1.0.12](https://raw.githubusercontent.com/device-mapper-utils/thin-provisioning-tools/refs/tags/v1.0.12/CHANGES), [1.0.11](https://raw.githubusercontent.com/device-mapper-utils/thin-provisioning-tools/refs/tags/v1.0.11/CHANGES)))
10+
- sysext-podman: aardvark-dns ([1.15.0](https://github.com/containers/aardvark-dns/releases/tag/v1.15.0))
11+
- sysext-python: platformdirs ([4.5.0](https://github.com/tox-dev/platformdirs/releases/tag/4.5.0))
12+
- sysext-python: resolvelib ([1.2.1](https://raw.githubusercontent.com/sarugaku/resolvelib/refs/tags/1.2.1/CHANGELOG.rst))
13+
- sysext-python: rich ([14.2.0](https://github.com/Textualize/rich/releases/tag/v14.2.0))
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# This is to disable building thin_migrate tool.
2+
export ECARGO_EXTRA_ARGS=--no-default-features
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
From c5fbb32be0509e4368268a79e7aacc6b5e34d28e Mon Sep 17 00:00:00 2001
2+
From: Krzesimir Nowak <[email protected]>
3+
Date: Thu, 20 Nov 2025 13:16:09 +0100
4+
Subject: [PATCH 1/2] [build] Simplify installation of symlinks and manpages
5+
6+
Signed-off-by: Krzesimir Nowak <[email protected]>
7+
---
8+
Makefile | 52 ++++++++--------------------------------------------
9+
1 file changed, 8 insertions(+), 44 deletions(-)
10+
11+
diff --git a/Makefile b/Makefile
12+
index b04937aa..44c99c99 100644
13+
--- a/Makefile
14+
+++ b/Makefile
15+
@@ -55,55 +55,19 @@ TOOLS:=\
16+
era_invalidate \
17+
era_restore
18+
19+
+# This must be two empty lines to get a newline.
20+
+define NEWLINE
21+
+
22+
+
23+
+endef
24+
+
25+
MANPAGES:=$(patsubst %,man8/%.8,$(TOOLS))
26+
27+
install: $(MANPAGES)
28+
$(INSTALL_DIR) $(BINDIR)
29+
$(INSTALL_PROGRAM) $(PDATA_TOOLS) $(BINDIR)
30+
- ln -s -f pdata_tools $(BINDIR)/cache_check
31+
- ln -s -f pdata_tools $(BINDIR)/cache_dump
32+
- ln -s -f pdata_tools $(BINDIR)/cache_metadata_size
33+
- ln -s -f pdata_tools $(BINDIR)/cache_repair
34+
- ln -s -f pdata_tools $(BINDIR)/cache_restore
35+
- ln -s -f pdata_tools $(BINDIR)/cache_writeback
36+
- ln -s -f pdata_tools $(BINDIR)/thin_check
37+
- ln -s -f pdata_tools $(BINDIR)/thin_delta
38+
- ln -s -f pdata_tools $(BINDIR)/thin_dump
39+
- ln -s -f pdata_tools $(BINDIR)/thin_ls
40+
- ln -s -f pdata_tools $(BINDIR)/thin_repair
41+
- ln -s -f pdata_tools $(BINDIR)/thin_restore
42+
- ln -s -f pdata_tools $(BINDIR)/thin_rmap
43+
- ln -s -f pdata_tools $(BINDIR)/thin_metadata_size
44+
- ln -s -f pdata_tools $(BINDIR)/thin_metadata_pack
45+
- ln -s -f pdata_tools $(BINDIR)/thin_metadata_unpack
46+
- ln -s -f pdata_tools $(BINDIR)/thin_migrate
47+
- ln -s -f pdata_tools $(BINDIR)/thin_trim
48+
- ln -s -f pdata_tools $(BINDIR)/era_check
49+
- ln -s -f pdata_tools $(BINDIR)/era_dump
50+
- ln -s -f pdata_tools $(BINDIR)/era_invalidate
51+
- ln -s -f pdata_tools $(BINDIR)/era_restore
52+
+ $(foreach tool, $(TOOLS), ln -s -f pdata_tools $(BINDIR)/$(tool); $(NEWLINE))
53+
$(INSTALL_DIR) $(MANPATH)/man8
54+
- $(INSTALL_DATA) man8/cache_check.8 $(MANPATH)/man8
55+
- $(INSTALL_DATA) man8/cache_dump.8 $(MANPATH)/man8
56+
- $(INSTALL_DATA) man8/cache_metadata_size.8 $(MANPATH)/man8
57+
- $(INSTALL_DATA) man8/cache_repair.8 $(MANPATH)/man8
58+
- $(INSTALL_DATA) man8/cache_restore.8 $(MANPATH)/man8
59+
- $(INSTALL_DATA) man8/cache_writeback.8 $(MANPATH)/man8
60+
- $(INSTALL_DATA) man8/thin_check.8 $(MANPATH)/man8
61+
- $(INSTALL_DATA) man8/thin_delta.8 $(MANPATH)/man8
62+
- $(INSTALL_DATA) man8/thin_dump.8 $(MANPATH)/man8
63+
- $(INSTALL_DATA) man8/thin_ls.8 $(MANPATH)/man8
64+
- $(INSTALL_DATA) man8/thin_repair.8 $(MANPATH)/man8
65+
- $(INSTALL_DATA) man8/thin_restore.8 $(MANPATH)/man8
66+
- $(INSTALL_DATA) man8/thin_rmap.8 $(MANPATH)/man8
67+
- $(INSTALL_DATA) man8/thin_metadata_size.8 $(MANPATH)/man8
68+
- $(INSTALL_DATA) man8/thin_metadata_pack.8 $(MANPATH)/man8
69+
- $(INSTALL_DATA) man8/thin_metadata_unpack.8 $(MANPATH)/man8
70+
- $(INSTALL_DATA) man8/thin_migrate.8 $(MANPATH)/man8
71+
- $(INSTALL_DATA) man8/era_check.8 $(MANPATH)/man8
72+
- $(INSTALL_DATA) man8/era_dump.8 $(MANPATH)/man8
73+
- $(INSTALL_DATA) man8/era_restore.8 $(MANPATH)/man8
74+
- $(INSTALL_DATA) man8/era_invalidate.8 $(MANPATH)/man8
75+
- $(INSTALL_DATA) man8/thin_trim.8 $(MANPATH)/man8
76+
+ $(foreach tool, $(TOOLS), $(INSTALL_DATA) man8/$(tool).8 $(MANPATH)/man8; $(NEWLINE))
77+
78+
.PHONY: install
79+
--
80+
2.51.2
81+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
From 74215dade7bbddbfc0a46e1903fc289a56df3915 Mon Sep 17 00:00:00 2001
2+
From: Krzesimir Nowak <[email protected]>
3+
Date: Thu, 20 Nov 2025 13:17:36 +0100
4+
Subject: [PATCH 2/2] [all] Make thin_migrate tool optional
5+
6+
The tool pulls in, indirectly through the devicemapper crate, a
7+
dependency on libclang. Make it possible to skip the tool to avoid the
8+
dependency, but keep it enabled by default.
9+
10+
Signed-off-by: Krzesimir Nowak <[email protected]>
11+
---
12+
Cargo.toml | 4 +++-
13+
Makefile | 20 ++++++++++++++++++--
14+
src/bin/pdata_tools.rs | 1 +
15+
src/commands/mod.rs | 1 +
16+
src/thin/mod.rs | 1 +
17+
5 files changed, 24 insertions(+), 3 deletions(-)
18+
19+
diff --git a/Cargo.toml b/Cargo.toml
20+
index 8594c6ba..155285a8 100644
21+
--- a/Cargo.toml
22+
+++ b/Cargo.toml
23+
@@ -18,7 +18,7 @@ clap = { version = "4.5", default-features = false, features = [
24+
] }
25+
crc32c = "0.6"
26+
data-encoding = "2.9"
27+
-devicemapper = "0.34"
28+
+devicemapper ={ version = "0.34", optional = true }
29+
exitcode = "1.1.2"
30+
fixedbitset = "0.5"
31+
flate2 = "1.1"
32+
@@ -51,9 +51,11 @@ tempfile = "3.23"
33+
thinp = { path = ".", features = ["devtools"] }
34+
35+
[features]
36+
+default = ["thin_migrate"]
37+
devtools = ["ratatui", "termion"]
38+
io_uring = ["dep:io-uring"]
39+
no_cleanup = []
40+
+thin_migrate = ["dep:devicemapper"]
41+
42+
[profile.release]
43+
debug = true
44+
diff --git a/Makefile b/Makefile
45+
index 44c99c99..a2dd51a4 100644
46+
--- a/Makefile
47+
+++ b/Makefile
48+
@@ -2,9 +2,10 @@ V=@
49+
50+
PDATA_TOOLS:=\
51+
target/release/pdata_tools
52+
+CARGO_FLAGS:=$(if $(DISABLE_THIN_MIGRATE),--no-default-features)
53+
54+
$(PDATA_TOOLS):
55+
- $(V) cargo build --release
56+
+ $(V) cargo build --release $(CARGO_FLAGS)
57+
58+
PREFIX:=/usr
59+
BINDIR:=$(DESTDIR)$(PREFIX)/sbin
60+
@@ -31,6 +32,21 @@ clean:
61+
cargo clean
62+
$(RM) man8/*.8
63+
64+
+HAS_PDATA_TOOLS_BINARY:=$(shell if [ -f $(PDATA_TOOLS) ]; then echo 1; fi)
65+
+ifneq ($(HAS_PDATA_TOOLS_BINARY),)
66+
+
67+
+HAS_THIN_MIGRATE:=$(shell grep -qF thin_migrate.rs $(PDATA_TOOLS).d && echo 1)
68+
+
69+
+ifneq ($(DISABLE_THIN_MIGRATE),)
70+
+$(warning DISABLE_THIN_MIGRATE variable is ignored, the pdata_tools binary exists and it has $(if $(HAS_THIN_MIGRATE),,no )thin_migrate tool built in)
71+
+endif
72+
+
73+
+else
74+
+
75+
+HAS_THIN_MIGRATE:=$(if $(DISABLE_THIN_MIGRATE),,1)
76+
+
77+
+endif
78+
+
79+
TOOLS:=\
80+
cache_check \
81+
cache_dump \
82+
@@ -42,13 +58,13 @@ TOOLS:=\
83+
thin_delta \
84+
thin_dump \
85+
thin_ls \
86+
+ $(if $(HAS_THIN_MIGRATE),thin_migrate) \
87+
thin_repair \
88+
thin_restore \
89+
thin_rmap \
90+
thin_metadata_size \
91+
thin_metadata_pack \
92+
thin_metadata_unpack \
93+
- thin_migrate \
94+
thin_trim \
95+
era_check \
96+
era_dump \
97+
diff --git a/src/bin/pdata_tools.rs b/src/bin/pdata_tools.rs
98+
index c288fe03..67ef0d7d 100644
99+
--- a/src/bin/pdata_tools.rs
100+
+++ b/src/bin/pdata_tools.rs
101+
@@ -29,6 +29,7 @@ fn register_commands<'a>() -> Vec<Box<dyn Command<'a>>> {
102+
Box::new(thin_metadata_pack::ThinMetadataPackCommand),
103+
Box::new(thin_metadata_size::ThinMetadataSizeCommand),
104+
Box::new(thin_metadata_unpack::ThinMetadataUnpackCommand),
105+
+ #[cfg(feature = "thin_migrate")]
106+
Box::new(thin_migrate::ThinMigrateCommand),
107+
Box::new(thin_repair::ThinRepairCommand),
108+
Box::new(thin_restore::ThinRestoreCommand),
109+
diff --git a/src/commands/mod.rs b/src/commands/mod.rs
110+
index 5eeb66ab..72481eba 100644
111+
--- a/src/commands/mod.rs
112+
+++ b/src/commands/mod.rs
113+
@@ -17,6 +17,7 @@ pub mod thin_ls;
114+
pub mod thin_metadata_pack;
115+
pub mod thin_metadata_size;
116+
pub mod thin_metadata_unpack;
117+
+#[cfg(feature = "thin_migrate")]
118+
pub mod thin_migrate;
119+
pub mod thin_repair;
120+
pub mod thin_restore;
121+
diff --git a/src/thin/mod.rs b/src/thin/mod.rs
122+
index 1ef0e1be..eeed031e 100644
123+
--- a/src/thin/mod.rs
124+
+++ b/src/thin/mod.rs
125+
@@ -10,6 +10,7 @@ pub mod ls;
126+
pub mod metadata;
127+
pub mod metadata_repair;
128+
pub mod metadata_size;
129+
+#[cfg(feature = "thin_migrate")]
130+
pub mod migrate;
131+
pub mod repair;
132+
pub mod restore;
133+
--
134+
2.51.2
135+
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
The patches make the thin_migrate tool optional, as this seems to be
2+
the thing that pulls in devicemapper crate, which in order requires
3+
bindgen crate, which in turn depends on libclang. Since thin_migrate
4+
tools was never a part of Flatcar yet, we can skip building it for
5+
now. If users will need the tool, we can think about adding it at a
6+
cost of building clang in SDK builds.
7+
8+
The patches were filed to upstream:
9+
10+
https://github.com/device-mapper-utils/thin-provisioning-tools/pull/1
11+
12+
If they get accepted, we can try convincing Gentoo to add
13+
"USE=+migrate" to the ebuild and hide the clang dependency behind the
14+
flag. On Flatcar side we could then disable it.
15+
16+
Until that happens, these patches should be accompanied by a hook
17+
function that will do "export ECARGO_EXTRA_ARGS=--no-default-features"
18+
and "export MAKEOPTS=THIN_MIGRATE_EXCLUDE=x".

sdk_container/src/third_party/coreos-overlay/dev-libs/jose/Manifest

Lines changed: 0 additions & 2 deletions
This file was deleted.

sdk_container/src/third_party/coreos-overlay/dev-libs/jose/jose-11-r1.ebuild

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)