[yocto] Trouble packaging files containing space

Paul Eggleton paul.eggleton at linux.intel.com
Mon Oct 28 09:01:24 PDT 2013


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



More information about the yocto mailing list