[yocto] archiver.bbclass: do_dumpdata - shell format

Tomasz Dziendzielski tomasz.dziendzielski at gmail.com
Tue Oct 16 05:44:21 PDT 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20181016/d80c2a7d/attachment.html>


More information about the yocto mailing list