Tomasz Dziendzielski
2018-10-16 12:44:21 UTC
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
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