[yocto] [meta-security][PATCH 2/5] libldb: work around samba libldb packaging issues
akuster at mvista.com
Fri Mar 29 10:45:58 PDT 2019
On 3/28/19 11:50 PM, Adrian Bunk wrote:
> On Thu, Mar 28, 2019 at 10:28:18PM -0700, Armin Kuster wrote:
>> Samba and libldb overlap in a few places. This is the simplest fix for
> Adding a quick hack for interaction problems between two packages
> that are both in meta-openembedded by adding a .bbappend in
> meta-security creates a technical debt while not even helping
> users who are not using meta-security.
> The proper solution is likely to make samba use the external libldb
> instead of an internal copy.
>> Signed-off-by: Armin Kuster <akuster808 at gmail.com>
>> recipes-support/libldb/libldb_%.bbappend | 22 ++++++++++++++++++++++
>> 1 file changed, 22 insertions(+)
>> create mode 100644 recipes-support/libldb/libldb_%.bbappend
>> diff --git a/recipes-support/libldb/libldb_%.bbappend b/recipes-support/libldb/libldb_%.bbappend
>> new file mode 100644
>> index 0000000..2633a1e
>> --- /dev/null
>> +++ b/recipes-support/libldb/libldb_%.bbappend
>> @@ -0,0 +1,22 @@
>> +# This fixes this issue:
>> +#ERROR: sssd-1.16.3-r0 do_prepare_recipe_sysroot: The file /usr/lib/python2.7/site-packages/_ldb_text.py is installed by both libldb and samba, aborting
>> +EXTRA_OECONF += "--disable-python"
> So just adding the meta-security layer will turn the pyldb* packages
> into empty packages?
I think I have a possible solution in libldb. patch out shortly.
More information about the yocto