[OE-core] [PATCH] consolekit: package /var/log/Consolekit

Koen Kooi koen at dominion.thruhere.net
Wed Nov 30 17:50:24 UTC 2011


Op 30 nov. 2011, om 18:38 heeft Richard Purdie het volgende geschreven:

> On Wed, 2011-11-30 at 09:24 +0100, Koen Kooi wrote:
>> This fixes startup issues like this:
>> 
>> 2011-11-30T09:02:10+01:00 beaglebone ck-log-system-start[91]: **
>> (process:91): WARNING **: Couldn't create log
>> file /var/log/ConsoleKit/history (No such file or directory)
>> 
>> Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
>> ---
>> .../recipes-support/consolekit/consolekit_0.4.5.bb |    4 ++--
>> 1 files changed, 2 insertions(+), 2 deletions(-)
>> 
>> diff --git a/meta/recipes-support/consolekit/consolekit_0.4.5.bb b/meta/recipes-support/consolekit/consolekit_0.4.5.bb
>> index 562dfb3..a02203c 100644
>> --- a/meta/recipes-support/consolekit/consolekit_0.4.5.bb
>> +++ b/meta/recipes-support/consolekit/consolekit_0.4.5.bb
>> @@ -2,7 +2,7 @@ DESCRIPTION = "ConsoleKit is a framework for defining and tracking users, login
>> HOMEPAGE="http://www.freedesktop.org/wiki/Software/ConsoleKit"
>> BUGTRACKER="https://bugs.freedesktop.org/buglist.cgi?query_format=specific&product=ConsoleKit"
>> 
>> -PR = "r5"
>> +PR = "r6"
>> 
>> LICENSE = "GPLv2+"
>> LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
>> @@ -23,7 +23,7 @@ EXTRA_OECONF = "--with-systemdsystemunitdir=${base_libdir}/systemd/system/ \
>>                 ${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam-module --with-pam-module-dir=${base_libdir}/security', '--disable-pam-module', d)} \
>>                "
>> 
>> -FILES_${PN} += "${libdir}/ConsoleKit ${base_libdir} ${datadir}/dbus-1 ${datadir}/PolicyKit ${datadir}/polkit*"
>> +FILES_${PN} += "${localstatedir}/log/ConsoleKit ${libdir}/ConsoleKit ${base_libdir} ${datadir}/dbus-1 ${datadir}/PolicyKit ${datadir}/polkit*"
>> FILES_${PN}-dbg += "${base_libdir}/security/.debug"
>> 
>> PACKAGES =+ "pam-plugin-ck-connector"
> 
> Looks like this is breaking builds:
> 
> | consolekit                  ##################################################
> | error: unpacking of archive failed on file /var/log: cpio: rename failed - Invalid argument
> 
> :(
> 
> http://autobuilder.pokylinux.org:8010/builders/nightly-x86-64/builds/197/steps/shell_30/logs/stdio

I suspect that's another victim of fs-perms.txt and rpm, it seems to break if /var/log is a symlink in other packages. I am going to argue that the breakage isn't a bug in consolekit :)

regards,

Koen
-------------- 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/20111130/b9b4a5ec/attachment-0002.sig>


More information about the Openembedded-core mailing list