diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-24 16:51:47 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-29 12:08:48 +0100 |
commit | 438a50844285238934f9d49e72362e19281e95c8 (patch) | |
tree | 6c123e3f67ce3987f622a7a798f57aa40af5748f /bitbake/lib | |
parent | 8e4e03c2a32a6fff6e07f01ed36481e6e7ee0b4a (diff) | |
download | poky-438a50844285238934f9d49e72362e19281e95c8.tar.gz |
bitbake: hob: Fix sstate mirrors mangling
hob was adding the redundant characters "\1" in SSTATE_MIRRORS variable. If
needed it is expected the user will add this instead so remove the code
that was doing this.
[YOCTO #6600]
(Bitbake rev: 73bf120062fc00c7e26dc4e77a7d140658d89daf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hig/simplesettingsdialog.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hig/simplesettingsdialog.py b/bitbake/lib/bb/ui/crumbs/hig/simplesettingsdialog.py index ab5b614c8d..b5eb3d8738 100644 --- a/bitbake/lib/bb/ui/crumbs/hig/simplesettingsdialog.py +++ b/bitbake/lib/bb/ui/crumbs/hig/simplesettingsdialog.py | |||
@@ -230,10 +230,7 @@ class SimpleSettingsDialog (CrumbsDialog, SettingsUIHelper): | |||
230 | self.configuration.sstatemirror = "" | 230 | self.configuration.sstatemirror = "" |
231 | for mirror in self.sstatemirrors_list: | 231 | for mirror in self.sstatemirrors_list: |
232 | if mirror[1] != "" and mirror[2].startswith("file://"): | 232 | if mirror[1] != "" and mirror[2].startswith("file://"): |
233 | if mirror[1].endswith("\\1"): | 233 | smirror = mirror[2] + " " + mirror[1] + " \\n " |
234 | smirror = mirror[2] + " " + mirror[1] + " \\n " | ||
235 | else: | ||
236 | smirror = mirror[2] + " " + mirror[1] + "\\1 \\n " | ||
237 | self.configuration.sstatemirror += smirror | 234 | self.configuration.sstatemirror += smirror |
238 | self.configuration.bbthread = self.bb_spinner.get_value_as_int() | 235 | self.configuration.bbthread = self.bb_spinner.get_value_as_int() |
239 | self.configuration.pmake = self.pmake_spinner.get_value_as_int() | 236 | self.configuration.pmake = self.pmake_spinner.get_value_as_int() |