]> code.ossystems Code Review - openembedded-core.git/commit
opkg: create opkg.lock in /run instead of /var/run
authorJonathan Liu <net147@gmail.com>
Fri, 25 Sep 2015 23:35:21 +0000 (09:35 +1000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 29 Sep 2015 14:15:47 +0000 (15:15 +0100)
commit76d71f6637f0cbdc61f76652c5affd41f6ab4854
treee6f290b334a1da446d96d7b256aad30f6b888bd1
parenta619f8e5fd8b88278d41a3d82aca5a8d03cb2907
opkg: create opkg.lock in /run instead of /var/run

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.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Acked-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/opkg/opkg/0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch [new file with mode: 0644]
meta/recipes-devtools/opkg/opkg_0.3.0.bb