[yocto] Trouble packaging files containing space

Søren Holm sgh at sgh.dk
Mon Oct 28 10:14:56 PDT 2013


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



More information about the yocto mailing list