hob: Fix sstate mirrors mangling
PATCH 1/1 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]
Signed-off-by Richard Purdie <[email protected]>
bitbake/lib/bb/ui/crumbs/hig/simplesettingsdialog.py +1 -4
@@ -230,10 +230,7 @@ class SimpleSettingsDialog (CrumbsDialog, SettingsUIHelper): self.configuration.sstatemirror = "" for mirror in self.sstatemirrors_list: if mirror[1] != "" and mirror[2].startswith("file://"): - if mirror[1].endswith("\\1"): - smirror = mirror[2] + " " + mirror[1] + " \\n " - else: - smirror = mirror[2] + " " + mirror[1] + "\\1 \\n " + smirror = mirror[2] + " " + mirror[1] + " \\n " self.configuration.sstatemirror += smirror self.configuration.bbthread = self.bb_spinner.get_value_as_int() self.configuration.pmake = self.pmake_spinner.get_value_as_int()