Openembedded Core Discussions
 help / color / mirror / Atom feed
* [jethro][PATCH 0/1] One backport for jethro
@ 2016-02-24 20:29 Paul Eggleton
  2016-02-24 20:29 ` [jethro][PATCH 1/1] os-release: put double-quotes around variable contents Paul Eggleton
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Eggleton @ 2016-02-24 20:29 UTC (permalink / raw)
  To: openembedded-core

This is intended for after the imminent point release of course.


The following changes since commit 0c702756dd0009c4112028fbf2479a346867b32c:

  build-appliance-image: Update to jethro head revision (2016-02-24 09:04:05 +0000)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib paule/jethro-fixes3
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/jethro-fixes3

Craig McQueen (1):
  os-release: put double-quotes around variable contents

 meta/recipes-core/os-release/os-release.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.5.0



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [jethro][PATCH 1/1] os-release: put double-quotes around variable contents
  2016-02-24 20:29 [jethro][PATCH 0/1] One backport for jethro Paul Eggleton
@ 2016-02-24 20:29 ` Paul Eggleton
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggleton @ 2016-02-24 20:29 UTC (permalink / raw)
  To: openembedded-core

From: Craig McQueen <craig.mcqueen@innerrange.com>

This makes the resulting /etc/os-release file have valid shell
assignment syntax. This makes it loadable by a shell script, using the
'source' command:

    source /etc/os-release

(From OE-Core master rev: f6e0ea000fa3b9a726ab56500f643f9902371618)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-core/os-release/os-release.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/os-release/os-release.bb b/meta/recipes-core/os-release/os-release.bb
index c690b82..df19ca2 100644
--- a/meta/recipes-core/os-release/os-release.bb
+++ b/meta/recipes-core/os-release/os-release.bb
@@ -29,7 +29,7 @@ python do_compile () {
         for field in d.getVar('OS_RELEASE_FIELDS', True).split():
             value = d.getVar(field, True)
             if value:
-                f.write('{0}={1}\n'.format(field, value))
+                f.write('{0}="{1}"\n'.format(field, value))
     if d.getVar('RPM_SIGN_PACKAGES', True) == '1':
         rpm_gpg_pubkey = d.getVar('RPM_GPG_PUBKEY', True)
         bb.utils.mkdirhier('${B}/rpm-gpg')
-- 
2.5.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-24 20:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-24 20:29 [jethro][PATCH 0/1] One backport for jethro Paul Eggleton
2016-02-24 20:29 ` [jethro][PATCH 1/1] os-release: put double-quotes around variable contents Paul Eggleton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox