ci: cap_sys_admin
Some checks failed
CI / build (pull_request) Failing after 8s

This commit is contained in:
2025-12-25 13:27:17 +01:00
parent 10f343f92f
commit 812cba2a3c
3 changed files with 5 additions and 3 deletions

View File

@@ -149,7 +149,6 @@ pub fn setup_environment(
env: &mut HashMap<String, String>,
arch: &str,
) -> Result<(), Box<dyn Error>> {
log::debug!("Running 'dpkg-architecture -a{}'", arch);
let dpkg_architecture = String::from_utf8(
context::current()
.command("dpkg-architecture")
@@ -157,7 +156,6 @@ pub fn setup_environment(
.output()?
.stdout,
)?;
log::debug!("dpkg-architecture done");
let env_var_regex = regex::Regex::new(r"(?<key>.*)=(?<value>.*)").unwrap();
for l in dpkg_architecture.lines() {
let capture = env_var_regex.captures(l).unwrap();