[OE-core] [PATCH 3/3] libsm: remove dependency on e2fsprogs

Mike Looijmans mike.looijmans at topic.nl
Sun Jan 4 09:09:56 UTC 2015


On 01/04/2015 03:11 AM, Chen Qi wrote:
> This patch is to solve the following circular dependency problem.
>
>       systemd -> dbus -> libsm -> e2fsprogs -> util-linux -> systemd
>
> libsm doesn't have any dependency on e2fsprogs. It might be some dependency
> on util-linux's libuuid, controlled by configure options. So e2fsprogs should
> be removed from the DEPENDS variable.
>
> Ideally, we should add a PACKAGECONFIG for 'libuuid' for libsm. However, if
> libsm depends on util-linux, we would have the circular dependency described
> above. That's why this patch explicitly set '--without-libuuid' in EXTRA_OECONF.
> libsm would still be working well because it would fall back to an internal
> algorithm to do the uuid stuff.

Maybe libuuid should get its own recipe. It can be built from the 
util-linux sources. Other packages can then just depend on that libuuid 
recipe instead of util-linux itself.

Only problem would be util-linux I guess, you'd get two providers for 
libuuid.

-- 
Mike Looijmans



More information about the Openembedded-core mailing list