diff options
author | Werner Fink | 2012-12-10 13:27:10 +0100 |
---|---|---|
committer | Karel Zak | 2012-12-18 15:45:33 +0100 |
commit | ab6478ef2d51215441baa47fe1cb0e6aa6ba1c27 (patch) | |
tree | bb776ec1acbe3c0e25c857eed7f5c77388342d82 /configure.ac | |
parent | sulogin: use alarm function to indicate if a timeout occurs (diff) | |
download | kernel-qcow2-util-linux-ab6478ef2d51215441baa47fe1cb0e6aa6ba1c27.tar.gz kernel-qcow2-util-linux-ab6478ef2d51215441baa47fe1cb0e6aa6ba1c27.tar.xz kernel-qcow2-util-linux-ab6478ef2d51215441baa47fe1cb0e6aa6ba1c27.zip |
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 <werner@suse.de>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 13 |
1 files changed, 13 insertions, 0 deletions
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 |