[OE-core] [PATCH] watchdog: fix service PIDFile in do_install_append

Trevor Gamblin trevor.gamblin at windriver.com
Fri Oct 4 19:31:24 UTC 2019


On 10/4/19 11:47 AM, Ross Burton wrote:
> On 02/10/2019 19:28, Trevor Gamblin wrote:
>> +    # watchdog is of type "forking", so fix PIDFile to avoid 
>> warnings from
>> +    # systemd
>> +    sed -i 's@/var/run@/run at g' 
>> ${D}${systemd_system_unitdir}/watchdog.service
>
> I dislike seds in the recipe because it's impossible to tell if they 
> stop working or are not needed anymore.   A patch (sent upstream) 
> would be preferable.
>
> Ross
Alright, I'll make a patch and get it submitted.


More information about the Openembedded-core mailing list