fixed rust path
Some checks failed
Build bootc Package / Build bootc Package (push) Failing after 5m5s
Test Build / Test bootc Build (with existing libostree) (push) Failing after 2m0s

This commit is contained in:
robojerk 2025-07-21 22:44:19 +00:00
parent 67ad7fa93d
commit b1b3fa1738

2
debian/rules vendored
View file

@ -9,7 +9,6 @@ export DH_OPTIONS
# Build system # Build system
export CARGO_HOME = $(CURDIR)/debian/cargo export CARGO_HOME = $(CURDIR)/debian/cargo
export CARGO_TARGET_DIR = $(CURDIR)/debian/cargo/target export CARGO_TARGET_DIR = $(CURDIR)/debian/cargo/target
export PATH = $(HOME)/.cargo/bin:$(PATH)
# Apply our compatibility patch # Apply our compatibility patch
override_dh_auto_patch: override_dh_auto_patch:
@ -19,6 +18,7 @@ override_dh_auto_patch:
override_dh_auto_build: override_dh_auto_build:
# Build bootc with cargo - ensure rustup environment is loaded # Build bootc with cargo - ensure rustup environment is loaded
export PATH=$(HOME)/.cargo/bin:$$PATH
rustup default stable rustup default stable
cargo build --release cargo build --release
dh_auto_build dh_auto_build