summaryrefslogtreecommitdiffstats
path: root/meta/site
diff options
context:
space:
mode:
authorKevin Tian <kevin.tian@intel.com>2010-06-22 11:33:06 +0800
committerSaul Wold <Saul.Wold@intel.com>2010-07-02 10:35:11 -0700
commit6b81c6dbb55d57a0f8d96ee5e3f5d1e6148850b1 (patch)
tree529a9eeec848c4c258c7282f394a1d1d02fca999 /meta/site
parent14df5714866dcb1b0b93fc9e30dffb4931127de9 (diff)
downloadopenembedded-core-6b81c6dbb55d57a0f8d96ee5e3f5d1e6148850b1.tar.gz
sudo: upgrade to 1.7.2p7
Old 1.6.8p12 is quite old, even w/o source available now (only cached in pokylinux). [Patches-Poky] KEEP _autofoo.patch_: deal with bunch of autotool warnings/errors, more about underquotes. In 1.7.2p7, those error conditions disappear. But the underquotes fix is still valid to remove a bunch of autoconf warnings REMOVE _autofoo1.patch_: copy of autofoo.patch. no one uses it. REMOVE. KEEP _noexec-link.patch_: use "-module" to avoid libtool complaining about not starting with "lib". Add comment to the patch file. DISABLE _nostrip.patch_: it's wrong to strip target binaries on build host. Borrow from OE to use 'sed' instead of patch, but keept it for remind to upstream REMOVE _nonrootinstall.patch_: handle mode/owner population at install. It's not requried at all since there's pkg_postinst to handle it at right stage Other misc stuff: - update metadata information - no need to use ${S} in 1.7.2p7 - fix idention - use sed to disable strip - changes from OE: * disable PAM as our pam doesn't include necessary config files and plugs * no need to special sudo_cv_uid_t_len tweak in the recipe. It's already there in poky site files for a long time * move sudo_cv_func_unsetenv_void to meta/site/common. Stdlib.h is common across architectures in our libc headers, which conforms to POSIX standard (borrow from openembedded 1.7.2p4) Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Diffstat (limited to 'meta/site')
-rw-r--r--meta/site/common4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/site/common b/meta/site/common
index 90766886b3..e2dd4b57f7 100644
--- a/meta/site/common
+++ b/meta/site/common
@@ -3,3 +3,7 @@ mr_cv_target_elf=${mr_cv_target_elf=yes}
# Normally kernels have /dev/random enabled
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