* [PATCH 1/1] isar-bootstrap: fix DISTRO_APT_PREMIRRORS: split '\\n' instead of '\n'
@ 2018-05-15 10:43 claudius.heine.ext
2018-05-15 15:34 ` Alexander Smirnov
0 siblings, 1 reply; 2+ messages in thread
From: claudius.heine.ext @ 2018-05-15 10:43 UTC (permalink / raw)
To: isar-users; +Cc: Claudius Heine
From: Claudius Heine <ch@denx.de>
Bitbake apparantly escapes '\n' in variable names, so its necessary to
split on every '\\n' instead to get the right seperation.
Signed-off-by: Claudius Heine <ch@denx.de>
---
meta/recipes-core/isar-bootstrap/isar-bootstrap.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-core/isar-bootstrap/isar-bootstrap.bb b/meta/recipes-core/isar-bootstrap/isar-bootstrap.bb
index 4268668..2089386 100644
--- a/meta/recipes-core/isar-bootstrap/isar-bootstrap.bb
+++ b/meta/recipes-core/isar-bootstrap/isar-bootstrap.bb
@@ -77,7 +77,7 @@ def get_apt_source_mirror(d, aptsources_entry_list):
premirrors = d.getVar('DISTRO_APT_PREMIRRORS', True) or ""
mirror_list = [entry.split()
- for entry in premirrors.split('\n')
+ for entry in premirrors.split('\\n')
if any(entry)]
for regex, replace in mirror_list:
--
2.17.0
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-05-15 15:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-15 10:43 [PATCH 1/1] isar-bootstrap: fix DISTRO_APT_PREMIRRORS: split '\\n' instead of '\n' claudius.heine.ext
2018-05-15 15:34 ` Alexander Smirnov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox