Browse Source

util-linux: changed to use su and login command from shadow package if available

user/karasz/firmware
Christian Wiese 12 years ago
parent
commit
130e4340f3
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      base/util-linux/util-linux.conf

+ 7
- 0
base/util-linux/util-linux.conf

@ -22,3 +22,10 @@ hook_add premake 5 'touch aclocal.m4'
# 'for' loop initial declarations are only allowed in C99 mode # 'for' loop initial declarations are only allowed in C99 mode
var_append GCC_WRAPPER_APPEND ' ' '-std=c99' var_append GCC_WRAPPER_APPEND ' ' '-std=c99'
# use su, login from shadow package if available
# Note: the variants provided by util-linux require pam
if pkginstalled shadow; then
var_append extraconfopt ' ' "--disable-su"
var_append extraconfopt ' ' "--disable-login"
fi

Loading…
Cancel
Save