* CONFFILES question
@ 2011-09-28 13:01 Jaap de Jong
2011-09-28 14:42 ` Jaap de Jong
0 siblings, 1 reply; 2+ messages in thread
From: Jaap de Jong @ 2011-09-28 13:01 UTC (permalink / raw)
To: openembedded-devel@lists.openembedded.org
Hi,
I would really like to use some wildcards in a CONFFILES_${PN}.
CONFFILES_${PN} = "/var/lib/myproject/*"
Compiling this works, but installing ends with a error message.
How should I accomplish this? Or is specifying all the files the only
way to go?
Jaap
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: CONFFILES question
2011-09-28 13:01 CONFFILES question Jaap de Jong
@ 2011-09-28 14:42 ` Jaap de Jong
0 siblings, 0 replies; 2+ messages in thread
From: Jaap de Jong @ 2011-09-28 14:42 UTC (permalink / raw)
To: openembedded-devel
This seems to work.
def get_databasefiles():
import os
s=''
for file in os.listdir('/var/lib/myproject'):
s = s+' '+'/var/lib/myproject/'+file
return s
CONFFILES_${PN} = "${@get_databasefiles()}"
On 09/28/2011 03:01 PM, Jaap de Jong wrote:
> Hi,
>
> I would really like to use some wildcards in a CONFFILES_${PN}.
>
> CONFFILES_${PN} = "/var/lib/myproject/*"
> Compiling this works, but installing ends with a error message.
>
> How should I accomplish this? Or is specifying all the files the only
> way to go?
>
> Jaap
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-09-28 14:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-28 13:01 CONFFILES question Jaap de Jong
2011-09-28 14:42 ` Jaap de Jong
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.