Skip to content

Commit fe962b9

Browse files
authored
Merge pull request #1391 from cgwalters/dep-chcon
packaging/rpm: Be sure we pull in chcon (and util-linux)
2 parents 79cc6b4 + b86be3d commit fe962b9

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

cli/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[package]
22
name = "bootc"
3-
version = "0.1.9"
3+
# This is a stub, the real version is from the lib crate
4+
version = "0.0.0"
45
edition = "2021"
56
license = "MIT OR Apache-2.0"
67
repository = "https://github.com/bootc-dev/bootc"

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)