Skip to content

Commit

Permalink
angstrom-version: fix when one layer is not handled by git
Browse files Browse the repository at this point in the history
if one layer is not managed by git, we get :
meta-stagging     = "<unknown>:<unknown>"
and those < & > char lead to an error on do_install

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  • Loading branch information
Eric Bénard authored and koenkooi committed Apr 9, 2012
1 parent 6e98606 commit 620665c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes-angstrom/angstrom/angstrom-version.bb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ def get_layers(bb, d):
s1= layers_branch_rev[i][p1:]

layertext = "Configured Openembedded layers:\n%s\n" % '\n'.join(layers_branch_rev)
layertext = layertext.replace('<','')
layertext = layertext.replace('>','')
return layertext

do_install() {
Expand Down

0 comments on commit 620665c

Please sign in to comment.