* Trouble packaging files containing space
@ 2013-10-28 6:26 Søren Holm
2013-10-28 14:55 ` Gary Thomas
0 siblings, 1 reply; 6+ messages in thread
From: Søren Holm @ 2013-10-28 6:26 UTC (permalink / raw)
To: yocto
Hi
I have a package containing files that includes spaces in their same.
The files are located in the same directory without a space in their name is
packages just find.
I specify FILES_$[PN} like this
FILES_${PN} = "${prefix}/local/Mikrofyn"
What might be wrong?
--
Søren Holm
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Trouble packaging files containing space
2013-10-28 6:26 Trouble packaging files containing space Søren Holm
@ 2013-10-28 14:55 ` Gary Thomas
2013-10-28 16:01 ` Paul Eggleton
0 siblings, 1 reply; 6+ messages in thread
From: Gary Thomas @ 2013-10-28 14:55 UTC (permalink / raw)
To: yocto
On 2013-10-28 00:26, Søren Holm wrote:
> Hi
>
> I have a package containing files that includes spaces in their same.
>
> The files are located in the same directory without a space in their name is
> packages just find.
>
> I specify FILES_$[PN} like this
>
> FILES_${PN} = "${prefix}/local/Mikrofyn"
>
> What might be wrong?
>
It seems to be policy - from http://www.yoctoproject.org/docs/1.5/mega-manual/mega-manual.html#source-directory
The OpenEmbedded build system does not support file or directory names that contain spaces.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Trouble packaging files containing space
2013-10-28 14:55 ` Gary Thomas
@ 2013-10-28 16:01 ` Paul Eggleton
2013-10-28 16:05 ` Søren Holm
0 siblings, 1 reply; 6+ messages in thread
From: Paul Eggleton @ 2013-10-28 16:01 UTC (permalink / raw)
To: Søren Holm; +Cc: yocto
On Monday 28 October 2013 08:55:09 Gary Thomas wrote:
> On 2013-10-28 00:26, Søren Holm wrote:
> > I have a package containing files that includes spaces in their same.
> >
> > The files are located in the same directory without a space in their name
> > is packages just find.
> >
> > I specify FILES_$[PN} like this
> >
> > FILES_${PN} = "${prefix}/local/Mikrofyn"
> >
> > What might be wrong?
>
> It seems to be policy - from
> http://www.yoctoproject.org/docs/1.5/mega-manual/mega-manual.html#source-di
> rectory The OpenEmbedded build system does not support file or directory
> names that contain spaces.
I think that's more about paths such as TMPDIR rather than the contents of
packages. This should work.
Søren, are you getting unpackaged file warnings? Are the files listed if you
look under image/ in the work directory for the recipe? FWIW, I just tested
here and installing files whose filenames contain spaces worked just fine.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Trouble packaging files containing space
2013-10-28 16:01 ` Paul Eggleton
@ 2013-10-28 16:05 ` Søren Holm
2013-10-28 16:17 ` Paul Eggleton
0 siblings, 1 reply; 6+ messages in thread
From: Søren Holm @ 2013-10-28 16:05 UTC (permalink / raw)
To: Paul Eggleton; +Cc: yocto
Mandag den 28. oktober 2013 16:01:24 skrev Paul Eggleton:
>
> Søren, are you getting unpackaged file warnings? Are the files listed if you
> look under image/ in the work directory for the recipe? FWIW, I just tested
> here and installing files whose filenames contain spaces worked just fine.
I get erro regarding files installed but not shipped - but that's a differen
issue I think. That particular issue is strange sine the un-shupped files are
source-files that I do not install. They end up in image/ during do_package.
The image-dir contains all the files including the files containing spaces.
--
Søren Holm
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Trouble packaging files containing space
2013-10-28 16:05 ` Søren Holm
@ 2013-10-28 16:17 ` Paul Eggleton
2013-10-28 17:14 ` Søren Holm
0 siblings, 1 reply; 6+ messages in thread
From: Paul Eggleton @ 2013-10-28 16:17 UTC (permalink / raw)
To: Søren Holm; +Cc: yocto
On Monday 28 October 2013 17:05:54 Søren Holm wrote:
> Mandag den 28. oktober 2013 16:01:24 skrev Paul Eggleton:
> > Søren, are you getting unpackaged file warnings? Are the files listed if
> > you look under image/ in the work directory for the recipe? FWIW, I just
> > tested here and installing files whose filenames contain spaces worked
> > just fine.
> I get erro regarding files installed but not shipped - but that's a differen
> issue I think. That particular issue is strange sine the un-shupped files
> are source-files that I do not install. They end up in image/ during
> do_package.
>
> The image-dir contains all the files including the files containing spaces.
I think I might need some more details - can you please paste the actual
error, the relevant parts of the recipe and a directory listing under
image/${prefix}/local ?
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Trouble packaging files containing space
2013-10-28 16:17 ` Paul Eggleton
@ 2013-10-28 17:14 ` Søren Holm
0 siblings, 0 replies; 6+ messages in thread
From: Søren Holm @ 2013-10-28 17:14 UTC (permalink / raw)
To: Paul Eggleton; +Cc: yocto
Mandag den 28. oktober 2013 16:17:46 skrev Paul Eggleton:
> On Monday 28 October 2013 17:05:54 Søren Holm wrote:
> > Mandag den 28. oktober 2013 16:01:24 skrev Paul Eggleton:
> > > Søren, are you getting unpackaged file warnings? Are the files listed if
> > > you look under image/ in the work directory for the recipe? FWIW, I just
> > > tested here and installing files whose filenames contain spaces worked
> > > just fine.
> >
> > I get erro regarding files installed but not shipped - but that's a
> > differen issue I think. That particular issue is strange sine the
> > un-shupped files are source-files that I do not install. They end up in
> > image/ during do_package.
> >
> > The image-dir contains all the files including the files containing
> > spaces.
>
> I think I might need some more details - can you please paste the actual
> error, the relevant parts of the recipe and a directory listing under
> image/${prefix}/local ?
Having a recipe containing just this works. I'll try stripping my original
much larger recipe to see what breaks it.
do_install() {
touch "${D}/file with spaces.txt"
}
FILES_${PN} = "/"
--
Søren Holm
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-10-28 17:14 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-28 6:26 Trouble packaging files containing space Søren Holm
2013-10-28 14:55 ` Gary Thomas
2013-10-28 16:01 ` Paul Eggleton
2013-10-28 16:05 ` Søren Holm
2013-10-28 16:17 ` Paul Eggleton
2013-10-28 17:14 ` Søren Holm
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.