diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2019-12-04 17:56:00 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-28 23:25:42 +0000 |
commit | af2b2c4d9ff44b5951ef17dd0fba32021b232a27 (patch) | |
tree | 822d1717c9397cbdd6c910ee6f80d913e569ac85 /meta/recipes-extended/shadow/files/0001-configure.ac-fix-configure-error-with-dash.patch | |
parent | 40f28d15c5808207461f6064d15965d9f92a8d09 (diff) | |
download | poky-af2b2c4d9ff44b5951ef17dd0fba32021b232a27.tar.gz |
shadow: update 4.6 -> 4.8
Drop two backports.
Remove 0001-useradd.c-create-parent-directories-when-necessary.patch
as upstream has addressed the issue:
https://github.com/shadow-maint/shadow/commit/b3b6d9d77c1d18b98670b97157777bb74092cd69
Rebase the rest of the paches.
Add a patch to remove the check for validity of login shells
which does not work in our environment.
Disable sssd cache support as that needs Fedora-specific tooling.
(From OE-Core rev: fee6c063dfb80425caa7080083c61d1544d929c6)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/shadow/files/0001-configure.ac-fix-configure-error-with-dash.patch')
-rw-r--r-- | meta/recipes-extended/shadow/files/0001-configure.ac-fix-configure-error-with-dash.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/meta/recipes-extended/shadow/files/0001-configure.ac-fix-configure-error-with-dash.patch b/meta/recipes-extended/shadow/files/0001-configure.ac-fix-configure-error-with-dash.patch deleted file mode 100644 index a74cbb0c0e..0000000000 --- a/meta/recipes-extended/shadow/files/0001-configure.ac-fix-configure-error-with-dash.patch +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | From 3c52a84ff8775590e7e9da9c0d4408c23494305e Mon Sep 17 00:00:00 2001 | ||
2 | From: Yi Zhao <yi.zhao@windriver.com> | ||
3 | Date: Mon, 17 Jun 2019 15:36:34 +0800 | ||
4 | Subject: [PATCH] configure.ac: fix configure error with dash | ||
5 | |||
6 | A configure error occurs when /bin/sh -> dash: | ||
7 | checking for is_selinux_enabled in -lselinux... yes | ||
8 | checking for semanage_connect in -lsemanage... yes | ||
9 | configure: 16322: test: yesyes: unexpected operator | ||
10 | |||
11 | Use "=" instead of "==" since dash doesn't support this operator. | ||
12 | |||
13 | Upstream-Status: Backport | ||
14 | [https://github.com/shadow-maint/shadow/commit/3c52a84ff8775590e7e9da9c0d4408c23494305e] | ||
15 | |||
16 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
17 | --- | ||
18 | configure.ac | 2 +- | ||
19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
20 | |||
21 | diff --git a/configure.ac b/configure.ac | ||
22 | index 6762556..1907afb 100644 | ||
23 | --- a/configure.ac | ||
24 | +++ b/configure.ac | ||
25 | @@ -500,7 +500,7 @@ if test "$with_selinux" != "no"; then | ||
26 | AC_MSG_ERROR([libsemanage not found]) | ||
27 | fi | ||
28 | |||
29 | - if test "$selinux_lib$semanage_lib" == "yesyes" ; then | ||
30 | + if test "$selinux_lib$semanage_lib" = "yesyes" ; then | ||
31 | AC_DEFINE(WITH_SELINUX, 1, | ||
32 | [Build shadow with SELinux support]) | ||
33 | LIBSELINUX="-lselinux" | ||
34 | -- | ||
35 | 2.7.4 | ||
36 | |||