public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* sources.list empty line results in debootstrap error
@ 2019-05-23  9:22 Schultschik, Sven
  2019-05-23  9:34 ` [PATCH] isar-bootstrap: fix ignore empty line in source list claudius.heine.ext
  0 siblings, 1 reply; 3+ messages in thread
From: Schultschik, Sven @ 2019-05-23  9:22 UTC (permalink / raw)
  To: isar-users


[-- Attachment #1.1: Type: text/plain, Size: 664 bytes --]

I had the error that debootstrap is called with to less values (see image)
After a while I noticed that I had an empty line at the end of my sources.list file. Deleting this line fixed the issue.

It seems that the script reads every line, if it's empty or not.

Two possibility

1.      raise a worthy error message, which states the real problem
2.      just check if a line is empty and ignore empty lines ...

Reproduce:
Add empty lines to your sources.list for debootstrap and you should run into the error.

https://github.com/ilbers/isar/blob/b6ac71a53eb33b4e777480be557e1220a21c7fa2/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc#L230


[-- Attachment #1.2: Type: text/html, Size: 3627 bytes --]

[-- Attachment #2: image.png --]
[-- Type: image/png, Size: 194406 bytes --]

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

end of thread, other threads:[~2019-05-24 13:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-23  9:22 sources.list empty line results in debootstrap error Schultschik, Sven
2019-05-23  9:34 ` [PATCH] isar-bootstrap: fix ignore empty line in source list claudius.heine.ext
2019-05-24 13:07   ` Maxim Yu. Osipov

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