[OE-core] [PATCH] opkg: create opkg.lock in /run instead of /var/run

Anders Darander anders at chargestorm.se
Mon Sep 21 12:16:52 UTC 2015


* Jonathan Liu <net147 at gmail.com> [150921 13:08]:

> This avoids a "Could not unlink" warning when extracting a /var/run
> symbolic link pointing to /run from the base-files package as it is
> unable to unlink the /var/run directory when it contains opkg.lock.

> This also fixes an issue where /var/run is created as a directory
> instead of a symbolic link to /run.

This fixes my recently discoverd runtime issues, when forwardporting a
systemd-based distro from daisy/dizzy to the current master.

> Signed-off-by: Jonathan Liu <net147 at gmail.com>

Acked-by: Anders Darander <anders at chargestorm.se>


-- 
Anders Darander
ChargeStorm AB / eStorm AB



More information about the Openembedded-core mailing list