Force binary package building in CI workflow
Some checks failed
Build ostree packages from sid to trixie / build (push) Has been cancelled

- Add --build=any,all flag to dpkg-buildpackage to force binary package creation
- Install additional build tools (build-essential, fakeroot, devscripts)
- This should ensure .deb files are actually created instead of just source packages
This commit is contained in:
robojerk 2025-09-06 09:52:12 -07:00
parent f75745e90c
commit 93151efdec

View file

@ -108,6 +108,10 @@ jobs:
echo 'Installing build dependencies...'
mk-build-deps -i -t 'apt-get -y' debian/control || echo 'Build deps installation failed, continuing...'
# Ensure we have all necessary build tools
echo 'Installing additional build tools...'
apt-get update && apt-get install -y build-essential fakeroot devscripts || echo 'Additional tools installation failed'
# Check source package structure
echo 'Checking source package structure...'
ls -la
@ -134,7 +138,8 @@ jobs:
dpkg -l | grep libsystemd-dev || echo "libsystemd-dev not found"
echo 'Running dpkg-buildpackage with verbose output...'
if dpkg-buildpackage -us -uc -b -v; then
echo 'Forcing binary package build...'
if dpkg-buildpackage -us -uc -b -v --build=any,all; then
echo 'Build successful!'
else
echo 'Build failed! Checking for any partial packages...'