[yocto] Making /etc/os-release loadable by shell script

Burton, Ross ross.burton at intel.com
Thu Jul 2 03:01:08 PDT 2015


On 2 July 2015 at 09:00, Craig McQueen <craig.mcqueen at innerrange.com> wrote:

> It would be good if the /etc/os-release file (created by the core
> os-release package) could be loadable by a shell script. That is, a shell
> script can do:
>
>     source /etc/os-release
> or
>     . /etc/os-release
>
> But it's currently not possible, because the file lacks double-quotes
> around values that would make it valid shell assignment syntax.


Could you transform you bbappend to a patch against oe-core and submit it?

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150702/87970889/attachment.html>


More information about the yocto mailing list