From ab6478ef2d51215441baa47fe1cb0e6aa6ba1c27 Mon Sep 17 00:00:00 2001 From: Werner Fink Date: Mon, 10 Dec 2012 13:27:10 +0100 Subject: sulogin: mount temporary /dev and /proc if not found This is very usefull if initrd can not loaded that is no /dev and no /proc is found. Also if the /etc/shadow and /etc/passwd is copied into the initrd the sulogin can be used in initrd even before /dev and/or /proc are mounted. Signed-off-by: Werner Fink --- configure.ac | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 3be3715e5..c0783056c 100644 --- a/configure.ac +++ b/configure.ac @@ -1296,6 +1296,19 @@ if test "x$enable_use_tty_group" = xyes; then AC_DEFINE(USE_TTY_GROUP, 1, [Should wall and write be installed setgid tty?]) fi + +AC_ARG_ENABLE([sulogin-emergency-mount], + AS_HELP_STRING([--disable-sulogin-emergency-mount], + [do not use emergency mount of /dev and /proc for sulogin]), + [], enable_sulogin_emergency_mount=yes +) + +if test "x$enable_sulogin_emergency_mount" = xyes; then + AC_DEFINE(USE_SULOGIN_EMERGENCY_MOUNT, 1, + [Should sulogin use a emergency mount of /dev and /proc?]) +fi + + AC_ARG_ENABLE([makeinstall-chown], AS_HELP_STRING([--disable-makeinstall-chown], [do not do chown-like operations during "make install"]), [], enable_makeinstall_chown=yes -- cgit v1.2.3-55-g7522