Never install weston setuid

We don't support this anymore.  weston requires a setuid helper (such as
weston-launch) to run under kms, and should never run as root itself.

Disabe the setuid warning in configure.ac since we now only install the
minimal weston-launch as setuid.
Kristian Høgsberg 12 years ago
parent 82a1d11cfa
commit 71375066a4
  1. 10
      configure.ac
  2. 8
      src/Makefile.am

@ -247,13 +247,3 @@ AC_CONFIG_FILES([Makefile
protocol/Makefile
tests/Makefile])
AC_OUTPUT
if test "x$enable_setuid_install" = xyes; then
AC_MSG_WARN([
*** You've enabled the setuid install hook. Weston is still a
*** pre-alpha project and may have bugs and issues that make a
*** setuid install unsafe. Proceed at your own risk.
])
fi

@ -62,14 +62,6 @@ install-exec-hook:
chmod u+s $(DESTDIR)$(bindir)/weston-launch
endif
else # BUILD_WESTON_LAUNCH
if ENABLE_SETUID_INSTALL
install-exec-hook:
chown root $(DESTDIR)$(bindir)/weston
chmod u+s $(DESTDIR)$(bindir)/weston
endif
endif # BUILD_WESTON_LAUNCH
moduledir = @libdir@/weston

Loading…
Cancel
Save