1
0
mirror of https://github.com/containers/bootc.git synced 2026-02-05 15:45:53 +01:00

Merge pull request #1391 from cgwalters/dep-chcon

packaging/rpm: Be sure we pull in chcon (and util-linux)
This commit is contained in:
Colin Walters
2025-06-30 17:52:06 -04:00
committed by GitHub
4 changed files with 8 additions and 4 deletions

2
Cargo.lock generated
View File

@@ -173,7 +173,7 @@ dependencies = [
[[package]]
name = "bootc"
version = "0.1.9"
version = "0.0.0"
dependencies = [
"anstream",
"anyhow",

View File

@@ -89,7 +89,7 @@ exclude-crate-paths = [ { name = "libz-sys", exclude = "src/zlib" },
# This is an made up key for external binary dependencies.
# setpriv is a proxy for util-linux, and systemctl is a proxy for systemd.
[workspace.metadata.binary-dependencies]
bins = ["skopeo", "podman", "ostree", "zstd", "setpriv", "systemctl"]
bins = ["skopeo", "podman", "ostree", "zstd", "setpriv", "systemctl", "chcon"]
[workspace.lints.rust]
# Require an extra opt-in for unsafe

View File

@@ -1,6 +1,7 @@
[package]
name = "bootc"
version = "0.1.9"
# This is a stub, the real version is from the lib crate
version = "0.0.0"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/bootc-dev/bootc"

View File

@@ -47,10 +47,13 @@ BuildRequires: skopeo ostree
# Backing storage tooling https://github.com/containers/composefs/issues/125
Requires: composefs
# For OS updates
# Keep this list in sync with workspace.metadata.binary-dependencies until we sync
# it automatically
Requires: ostree
Requires: skopeo
Requires: podman
Requires: util-linux-core
Requires: /usr/bin/chcon
# For bootloader updates
Recommends: bootupd