File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,13 @@ CARGO_FEATURES ?= $(shell . /usr/lib/os-release; if echo "$$ID_LIKE" |grep -qF r
1313all :
1414 cargo build --release --features " $( CARGO_FEATURES) "
1515
16+ STORAGE_RELATIVE_PATH ?= $(shell realpath -m --relative-to=$(prefix ) /lib/bootc/storage /sysroot/ostree/bootc/storage)
1617install :
1718 install -D -m 0755 -t $(DESTDIR )$(prefix ) /bin target/release/bootc
1819 install -D -m 0755 -t $(DESTDIR )$(prefix ) /bin target/release/system-reinstall-bootc
1920 install -d -m 0755 $(DESTDIR )$(prefix ) /lib/bootc/bound-images.d
2021 install -d -m 0755 $(DESTDIR )$(prefix ) /lib/bootc/kargs.d
21- ln -s /sysroot/ostree/bootc/storage $(DESTDIR )$(prefix ) /lib/bootc/storage
22+ ln -s $( STORAGE_RELATIVE_PATH ) $(DESTDIR )$(prefix ) /lib/bootc/storage
2223 install -D -m 0755 crates/cli/bootc-generator-stub $(DESTDIR )$(prefix ) /lib/systemd/system-generators/bootc-systemd-generator
2324 install -d $(DESTDIR )$(prefix ) /lib/bootc/install
2425 # Support installing pre-generated man pages shipped in source tarball, to avoid
You can’t perform that action at this time.
0 commit comments