Do you actually want to source the data files, and if so why?  As with
the bitbake -e output, it's shell-like but not actually shell.

Ross
On Tue, 16 Oct 2018 at 13:44, Tomasz Dziendzielski
<tomasz.dziendziel...@gmail.com> wrote:
>
> Hi,
> when using archiver.bbclass the do_dumpdata task is using bb.data.emit_env 
> function, which should emit variables "in a format such that it can be 
> sourced by a shell.".
> The problem is that the *-showdata.dump file can't be properly sourced, 
> because variables are not in a correct format.
>
> There are many lines like:
> PREFERRED_PROVIDER_virtual/fakeroot-native="pseudo-native"
> The variables with slash are considered to be a directory and the ones with 
> dash are considered to be a command.
> Also shell cannot properly set the variables like FOO_machine.
>
> Should it be sourced with some specific shell or is that function wrong and 
> should be fixed?
>
> Best regards,
> Tomasz Dziendzielski
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to