]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
systemd: Correctly check ENABLE_GSHADOW with if/endif
authorSerhey Popovych <serhe.popovych@gmail.com>
Sat, 12 Jan 2019 09:22:47 +0000 (11:22 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Feb 2019 16:34:58 +0000 (16:34 +0000)
commitc9580ef0810196f6703567d9db458b73dbbfb35f
tree04a32572072fd5a5af79e95286faea8632387bd0
parent6f010c9b7777aae5ce2108122d0c6d3b1d630a21
systemd: Correctly check ENABLE_GSHADOW with if/endif

Use commit 4f07ffa8f5ab ("Use #if instead of #ifdef for ENABLE_GSHADOW")
from upstream to check ENABLE_GSHADOW correctly that is defined as 0
in case of musl.

While there replace specific patch with one from upstream that does
exactly the same commit 66a5b5ce9b99 ("basic/user-util: properly protect
use of gshadow").

Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/systemd/systemd/0005-basic-user-util-properly-protect-use-of-gshadow.patch [new file with mode: 0644]
meta/recipes-core/systemd/systemd/0005-include-gshadow-only-if-ENABLE_GSHADOW-is-1.patch [deleted file]
meta/recipes-core/systemd/systemd/0022-Use-if-instead-of-ifdef-for-ENABLE_GSHADOW.patch [new file with mode: 0644]
meta/recipes-core/systemd/systemd_239.bb