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
13
13
all :
14
14
cargo build --release --features " $( CARGO_FEATURES) "
15
15
16
+ STORAGE_RELATIVE_PATH ?= $(shell realpath -m -s --relative-to="$(prefix ) /lib/bootc/storage" /sysroot/ostree/bootc/storage)
16
17
install :
17
18
install -D -m 0755 -t $(DESTDIR )$(prefix ) /bin target/release/bootc
18
19
install -D -m 0755 -t $(DESTDIR )$(prefix ) /bin target/release/system-reinstall-bootc
19
20
install -d -m 0755 $(DESTDIR )$(prefix ) /lib/bootc/bound-images.d
20
21
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"
22
23
install -D -m 0755 crates/cli/bootc-generator-stub $(DESTDIR )$(prefix ) /lib/systemd/system-generators/bootc-systemd-generator
23
24
install -d $(DESTDIR )$(prefix ) /lib/bootc/install
24
25
# Support installing pre-generated man pages shipped in source tarball, to avoid
You can’t perform that action at this time.
0 commit comments