[OE-core] [PATCH 4/9] consolekit: fix sdk generation issues

Koen Kooi koen at dominion.thruhere.net
Thu Dec 15 15:06:52 UTC 2011


Op 15 dec. 2011, om 15:58 heeft Richard Purdie het volgende geschreven:

> On Tue, 2011-12-13 at 20:19 +0400, Dmitry Eremin-Solenikov wrote:
>> Currently sdk generation might fail with the following error:
>> | Collected errors:
>> |  * extract_archive: Cannot create symlink from ./var/log to
>> 'volatile/log': File exists.
>> ERROR: Function 'do_populate_sdk' failed
>> 
>> This happens as consolekit package will include both /var/log/ConsoleKit
>> and /var/volatile/log/ConsoleKit files:
>> lumag at fangorn:~/OE-scripts$ dpkg-deb -c build/tmp--eglibc/deploy/ipk/core2/consolekit_0.4.5-r7_core2.ipk  | grep var
>> drwxr-xr-x root/root         0 2011-12-07 22:12 ./var/
>> drwxr-xr-x root/root         0 2011-12-07 22:12 ./var/log/
>> drwxr-xr-x root/root         0 2011-12-07 22:12 ./var/log/ConsoleKit/
>> lrwxrwxrwx root/root         0 2011-12-07 22:12 ./var/run -> volatile/run
>> drwxr-xr-x root/root         0 2011-12-07 22:12 ./var/volatile/
>> drwxr-xr-x root/root         0 2011-12-07 22:12 ./var/volatile/log/
>> drwxr-xr-x root/root         0 2011-12-07 22:12 ./var/volatile/log/ConsoleKit/
>> drwxr-xr-x root/root         0 2011-12-07 22:12 ./var/volatile/run/
>> drwxr-xr-x root/root         0 2011-12-07 22:12 ./var/volatile/run/ConsoleKit/
>> 
>> Inclusion of both log directories causes this error. Drop the
>> /var/log/ConsoleKit
>> in favour of /var/volatile/log
>> 
>> Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
> 
> This effectively reverts:
> http://git.openembedded.org/openembedded-core/commit/?id=5608a748af2c754f60137ab7c3010ccce6bf9e40
> so I think this fixes one problem at the expense of causing another.
> Koen: Any comments?

If you revert it consolekit won't work at runtime because it fails to start.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20111215/0e9206ea/attachment-0002.sig>


More information about the Openembedded-core mailing list