Getting ready to move out of heavy alpha development. Created ci/cd
Some checks failed
Build apt-ostree Package / Build apt-ostree Package (push) Failing after 2m12s
Test apt-ostree Build / Test apt-ostree Build (with existing libostree) (push) Failing after 2m36s

This commit is contained in:
robojerk 2025-07-22 04:43:43 +00:00
parent ceaa66fb07
commit 75f5d2fc05
56 changed files with 1122 additions and 3133 deletions

32
debian/rules vendored Normal file
View file

@ -0,0 +1,32 @@
#!/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
export CARGO_HOME = $(CURDIR)/debian/cargo
export CARGO_TARGET_DIR = $(CURDIR)/debian/cargo/target
override_dh_auto_build:
# Build apt-ostree with cargo - ensure rustup environment is available
export PATH=$(HOME)/.cargo/bin:$$PATH
cargo build --release
dh_auto_build
override_dh_auto_install:
# Install the apt-ostree binary to the correct location
install -D -m 755 debian/cargo/target/release/apt-ostree debian/apt-ostree/usr/bin/apt-ostree
# Create any additional directories or files needed
mkdir -p debian/apt-ostree/usr/share/doc/apt-ostree
# Skip dh_auto_install since we've handled installation manually
override_dh_auto_clean:
# Clean cargo build artifacts
rm -rf debian/cargo
dh_auto_clean
%:
dh $@