From: "Schultschik, Sven" <sven.schultschik@siemens.com>
To: "isar-users@googlegroups.com" <isar-users@googlegroups.com>
Subject: sources.list empty line results in debootstrap error
Date: Thu, 23 May 2019 09:22:33 +0000 [thread overview]
Message-ID: <709DE1D94B52CF46BD1D5654704F304717DC2432@DENBGAT9EK4MSX.ww902.siemens.net> (raw)
[-- 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 --]
next reply other threads:[~2019-05-23 9:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-23 9:22 Schultschik, Sven [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=709DE1D94B52CF46BD1D5654704F304717DC2432@DENBGAT9EK4MSX.ww902.siemens.net \
--to=sven.schultschik@siemens.com \
--cc=isar-users@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox