Skip to content

Commit b86be3d

Browse files
committed
packaging/rpm: Be sure we pull in chcon (and util-linux)
We execute it, and Anaconda was somehow omitting this. Also pull in util-linux-core because we also depend on that. #1383 (comment) Signed-off-by: Colin Walters <[email protected]>
1 parent 0da9609 commit b86be3d

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ exclude-crate-paths = [ { name = "libz-sys", exclude = "src/zlib" },
8989
# This is an made up key for external binary dependencies.
9090
# setpriv is a proxy for util-linux, and systemctl is a proxy for systemd.
9191
[workspace.metadata.binary-dependencies]
92-
bins = ["skopeo", "podman", "ostree", "zstd", "setpriv", "systemctl"]
92+
bins = ["skopeo", "podman", "ostree", "zstd", "setpriv", "systemctl", "chcon"]
9393

9494
[workspace.lints.rust]
9595
# Require an extra opt-in for unsafe

contrib/packaging/bootc.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,13 @@ BuildRequires: skopeo ostree
4747

4848
# Backing storage tooling https://github.com/containers/composefs/issues/125
4949
Requires: composefs
50-
# For OS updates
50+
# Keep this list in sync with workspace.metadata.binary-dependencies until we sync
51+
# it automatically
5152
Requires: ostree
5253
Requires: skopeo
5354
Requires: podman
55+
Requires: util-linux-core
56+
Requires: /usr/bin/chcon
5457
# For bootloader updates
5558
Recommends: bootupd
5659

0 commit comments

Comments
 (0)