From 766f89f0f2e9031619b0fd34a0d941825bae6373 Mon Sep 17 00:00:00 2001 From: Roman Lebedev Date: Sun, 5 Oct 2025 21:54:33 +0300 Subject: [PATCH] Deb PPA: use vendor-filterer --- .github/workflows/deb-src.yml | 9 +++++++++ debian/gbp.conf | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deb-src.yml b/.github/workflows/deb-src.yml index 55b34bf9..1ba66cbd 100644 --- a/.github/workflows/deb-src.yml +++ b/.github/workflows/deb-src.yml @@ -108,10 +108,12 @@ jobs: curl \ debian-keyring \ devscripts \ + gcc \ git \ git-buildpackage \ gnupg \ iproute2 \ + libc6-dev \ mmdebstrap \ sbuild \ tar \ @@ -210,6 +212,13 @@ jobs: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \ sh -s -- --default-toolchain ${{ env.RUST_VERSION }} --profile minimal -y . "$HOME/.cargo/env" + - name: Install cargo-vendor-filterer + timeout-minutes: 1 + shell: sudo podman exec --interactive --tty container eatmydata sh "{0}" + run: | + set -xe + . "$HOME/.cargo/env" + cargo install --locked cargo-vendor-filterer - name: Fetch our git repository timeout-minutes: 1 uses: actions/checkout@v4 diff --git a/debian/gbp.conf b/debian/gbp.conf index 30d3213d..33731865 100644 --- a/debian/gbp.conf +++ b/debian/gbp.conf @@ -4,7 +4,7 @@ upstream-tag = v%(version)s ignore-branch = True cleaner = export-dir = ../bcachefs-tools-deb-export-dir -postexport = cargo vendor +postexport = cargo vendor-filterer compression = xz compression-level = 9