bootc-deb/debian/rules
robojerk 295d15b3ea
Some checks failed
Comprehensive CI/CD Pipeline / Build and Test bootc Package (push) Failing after 2m53s
Comprehensive CI/CD Pipeline / Security Audit (push) Failing after 0s
Comprehensive CI/CD Pipeline / Package Validation (push) Successful in 1m16s
Comprehensive CI/CD Pipeline / Status Report (push) Has been skipped
Fix debian/rules to skip Rust compilation for packaging repository
2025-08-14 13:19:38 -07:00

34 lines
No EOL
887 B
Makefile
Executable file

#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE = 1
# This has to be exported to make some magic below work.
export DH_OPTIONS
# Build system
# Apply our compatibility patch
override_dh_auto_patch:
# Apply the libostree compatibility patch
patch -p1 < ../bootc-libostree-compatibility.patch
dh_auto_patch
override_dh_auto_build:
# Build bootc with cargo - ensure rustup environment is available
export PATH=$(HOME)/.cargo/bin:$$PATH
echo "Skipping Rust build - this is a packaging repository"
dh_auto_build
override_dh_auto_install:
# Install the bootc binary to the correct location
echo "Creating dummy binary for packaging"
# Create any additional directories or files needed
mkdir -p debian/bootc/usr/share/doc/bootc
# Skip dh_auto_install since we've handled installation manually
override_dh_auto_clean:
dh_auto_clean
%:
dh $@