[yocto] archiver.bbclass: do_dumpdata - shell format

Burton, Ross ross.burton at intel.com
Tue Oct 16 06:00:47 PDT 2018


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.dziendzielski at 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 at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


More information about the yocto mailing list