[OE-core] [PATCH] systemd-conf: add CLEANBROKEN

Mark Hatle mark.hatle at windriver.com
Thu Oct 25 07:09:38 UTC 2018


On 10/24/18 11:50 PM, Andreas Müller wrote:
> On Wed, Oct 24, 2018 at 11:32 PM Richard Purdie
> <richard.purdie at linuxfoundation.org> wrote:
>>
>> On Wed, 2018-10-24 at 13:51 +0200, Andreas Müller wrote:
>>>> DEBUG: Executing shell function do_configure
>>>> NOTE: make clean
>>>> make: *** No rule to make target 'clean'.  Stop.
>>>> ERROR: oe_runmake failed
>>>
>>> Signed-off-by: Andreas Müller <schnitzeltony at gmail.com>
>>> ---
>>>  meta/recipes-core/systemd/systemd-conf.bb | 2 ++
>>>  1 file changed, 2 insertions(+)
>>>
>>> diff --git a/meta/recipes-core/systemd/systemd-conf.bb
>>> b/meta/recipes-core/systemd/systemd-conf.bb
>>> index c694efbbf14..111ef2497a3 100644
>>> --- a/meta/recipes-core/systemd/systemd-conf.bb
>>> +++ b/meta/recipes-core/systemd/systemd-conf.bb
>>> @@ -18,6 +18,8 @@ FILES_${PN} = "${sysconfdir}/machine-id
>>> ${sysconfdir}/systemd"
>>>
>>>  do_compile[noexec] = '1'
>>>
>>> +CLEANBROKEN = "1"
>>> +
>>
>> I suspect a do_configure[noexec] = '1' may be a better way to fix this?
> Have no idea if there (path-)replacements done during configure which
> would not be performed and break install then.

Neither recipe has a configure step, but since it looks for 'configure', it
becomes no-op.

I'll check if just do_configure[noexec] = '1' is enough, if not, I'll add the
cleanbroken.

> Andreas
>>
>> I also suspect Mark's other patch needs this tweak too?
>>
>> Cheers,
>>
>> Richard
>>




More information about the Openembedded-core mailing list