summaryrefslogtreecommitdiff
path: root/meta/site
diff options
context:
space:
mode:
authorKevin Tian <kevin.tian@intel.com>2010-08-06 10:34:29 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-13 13:36:02 +0100
commitf6535ea12ab7f4d99adbe78919a7ed252175565f (patch)
treefcab0f6719ab5f17d1ce9fdd7ba0e376e418c2ac /meta/site
parent44d7c5678f52593d55c23f16d0da6c188734b026 (diff)
downloadopenembedded-core-f6535ea12ab7f4d99adbe78919a7ed252175565f.tar.gz
openembedded-core-f6535ea12ab7f4d99adbe78919a7ed252175565f.tar.bz2
openembedded-core-f6535ea12ab7f4d99adbe78919a7ed252175565f.zip
shadow: add new recipe 4.1.4.2
(borrow from OpenEmbedded with below tweaks) Enhance login_defs_pam.sed according to shadow source, to ensuer we don't leave any unknown definitions in /etc/login.defs when pam is enabled no need for --disable-account-tools-setuid which is detected upon pam automatically, and no specific CFLAGS append move shadow site options to generic site files adjust indention RDEPENDS on a list of pam-plugins since they're separately packaged test with both pam enabled and pam disabled. when pam is enabled, tried some same tweak with desired effect. Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Diffstat (limited to 'meta/site')
-rw-r--r--meta/site/common8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/site/common b/meta/site/common
index e2dd4b57f7..5da3ff41de 100644
--- a/meta/site/common
+++ b/meta/site/common
@@ -7,3 +7,11 @@ ac_cv_file__dev_random=${ac_cv_file__dev_random=yes}
# Avoid sudo to assume void for unsetenv in cross environment, or else it conflicts with
# target stdlib.h prototype which follows POSIX compiliance. Mark for upstream.
sudo_cv_func_unsetenv_void=no
+
+# shadow dir info, to avoid searching build system
+shadow_cv_maildir=${localstatedir}/spool/mail
+shadow_cv_mailfile=Mailbox
+shadow_cv_utmpdir=${localstatedir}/run
+shadow_cv_logdir=${localstatedir}/log
+shadow_cv_passwd_dir=${bindir}
+