deb: cross-compilation, ephemeral contexts, local builds #1

Merged
vhaudiquet merged 41 commits from experimental-cross into main 2025-12-25 17:10:47 +00:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit a5536064ee - Show all commits

View File

@@ -35,7 +35,7 @@ jobs:
- name: Install runtime system dependencies
run: |
sudo apt-get update
sudo apt-get install -y pristine-tar sbuild mmdebstrap util-linux dpkg-dev
sudo apt-get install -y git pristine-tar sbuild mmdebstrap util-linux dpkg-dev
- name: Setup subuid/subgid
run: |
usermod --add-subuids 100000-200000 --add-subgids 100000-200000 ${USER:-root}

View File

@@ -15,6 +15,7 @@ pub fn build(
let mut cmd = ctx.command("sbuild");
cmd.current_dir(format!("{}/{}", build_root, package));
cmd.arg("--chroot-mode=unshare");
cmd.arg("--no-clean-source");
if cross {
cmd.arg(format!("--host={}", arch));