install: honor DESTDIR on sysconfdir population
When creating and populating $sysconfdir, we should prepend $DESTDIR as we do with all other paths. Reported-by: Frank Arnold <frank.arnold@amd.com> Signed-off-by: Andre Przywara <andre.przywara@amd.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
ca2fb938cd
commit
990caaf19c
4
Makefile
4
Makefile
@ -194,8 +194,8 @@ ifdef CONFIG_POSIX
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
install-sysconfig:
|
install-sysconfig:
|
||||||
$(INSTALL_DIR) "$(sysconfdir)/qemu"
|
$(INSTALL_DIR) "$(DESTDIR)$(sysconfdir)/qemu"
|
||||||
$(INSTALL_DATA) $(SRC_PATH)/sysconfigs/target/target-x86_64.conf "$(sysconfdir)/qemu"
|
$(INSTALL_DATA) $(SRC_PATH)/sysconfigs/target/target-x86_64.conf "$(DESTDIR)$(sysconfdir)/qemu"
|
||||||
|
|
||||||
install: all $(if $(BUILD_DOCS),install-doc) install-sysconfig
|
install: all $(if $(BUILD_DOCS),install-doc) install-sysconfig
|
||||||
$(INSTALL_DIR) "$(DESTDIR)$(bindir)"
|
$(INSTALL_DIR) "$(DESTDIR)$(bindir)"
|
||||||
|
Loading…
Reference in New Issue
Block a user