[PATCH 1/3] Buildsys: Create SUID_WRAPPER_DIR before using it

Hans de Goede hdegoede at redhat.com
Mon Mar 24 08:31:59 PDT 2014


Signed-off-by: Hans de Goede <hdegoede at redhat.com>
---
 hw/xfree86/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/xfree86/Makefile.am b/hw/xfree86/Makefile.am
index a315bbc..5cdecd9 100644
--- a/hw/xfree86/Makefile.am
+++ b/hw/xfree86/Makefile.am
@@ -105,6 +105,7 @@ if INSTALL_SETUID
 	chmod u+s $(DESTDIR)$(bindir)/Xorg
 endif
 if SUID_WRAPPER
+	$(MKDIR_P) $(DESTDIR)$(SUID_WRAPPER_DIR)
 	mv $(DESTDIR)$(bindir)/Xorg $(DESTDIR)$(SUID_WRAPPER_DIR)/Xorg.bin
 	${INSTALL} -m 755 Xorg.sh $(DESTDIR)$(bindir)/Xorg
 	-chown root $(DESTDIR)$(SUID_WRAPPER_DIR)/Xorg.wrap && chmod u+s $(DESTDIR)$(SUID_WRAPPER_DIR)/Xorg.wrap
-- 
1.9.0



More information about the xorg-devel mailing list