Commit a823725 1 parent 30783de commit a823725 Copy full SHA for a823725
File tree 3 files changed +5
-4
lines changed
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ CFLAGS += $(shell pkg-config --cflags ext2fs com_err) \
5
5
-fno-delete-null-pointer-checks -fno-strict-aliasing -Wall -Wextra \
6
6
-Werror=format-security -pedantic-errors -Wformat=2 -Wmaybe-uninitialized \
7
7
-Wshadow -g3
8
+ SBINDIR ?= /usr/sbin
8
9
9
10
all : genfs
10
11
@@ -14,8 +15,8 @@ genfs: genfs.c
14
15
install : install-scripts install-genfs
15
16
16
17
install-scripts :
17
- install -d $(DESTDIR ) /usr/sbin
18
- install qubes-prepare-vm-kernel $(DESTDIR ) /usr/sbin
18
+ install -d $(DESTDIR )$( SBINDIR )
19
+ install qubes-prepare-vm-kernel $(DESTDIR )$( SBINDIR )
19
20
20
21
install-genfs :
21
22
install -d $(DESTDIR ) /usr/lib/qubes
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ make -C kernel-modules all
58
58
make gptfixer/gpt
59
59
60
60
%install
61
- make install-fedora-kernel-support DESTDIR=%{buildroot}
61
+ make install-fedora-kernel-support DESTDIR=%{buildroot} SBINDIR=%{_sbindir}
62
62
make install-gptfix SBINDIR=%_sbindir DESTDIR=%{buildroot}
63
63
64
64
%files
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ make -C qrexec-lib check-table-up-to-date NO_REBUILD_TABLE=1
104
104
%endif
105
105
106
106
%install
107
- make install install-selinux DESTDIR=%{buildroot} PYTHON=%{__python3} NO_REBUILD_TABLE=1
107
+ make install install-selinux DESTDIR=%{buildroot} PYTHON=%{__python3} NO_REBUILD_TABLE=1 SBINDIR=%{_sbindir}
108
108
109
109
%post
110
110
# dom0
You can’t perform that action at this time.
0 commit comments