From: Jan Kiszka <jan.kiszka@siemens.com>
To: Claudius Heine <ch@denx.de>,
Alexander Smirnov <asmirnov@ilbers.de>,
claudius.heine.ext@siemens.com, isar-users@googlegroups.com
Subject: Re: [PATCH v2 0/5] Debootstrap integration
Date: Mon, 26 Feb 2018 07:43:47 +0100 [thread overview]
Message-ID: <2c579e93-2c1a-7f7b-e76b-37f26d277497@siemens.com> (raw)
In-Reply-To: <0aefe5d7-cf4f-b5c7-a58a-b6ca3c233142@siemens.com>
On 2018-02-23 21:35, [ext] Jan Kiszka wrote:
> diff --git a/meta/recipes-core/isar-bootstrap/isar-bootstrap.bb b/meta/recipes-core/isar-bootstrap/isar-bootstrap.bb
> index 0eb26f1..af9f494 100644
> --- a/meta/recipes-core/isar-bootstrap/isar-bootstrap.bb
> +++ b/meta/recipes-core/isar-bootstrap/isar-bootstrap.bb
> @@ -75,6 +75,7 @@ do_bootstrap() {
> "${DISTRO_SUITE}" \
> "${ROOTFSDIR}" \
> "${DISTRO_APT_SOURCE}"
> + sudo rm -f ${ROOTFSDIR}/etc/apt/sources.list
> }
> addtask bootstrap before do_build after do_unpack
>
OK, this does not work as-is because the other targets do not have the
primary repo in their list files. It would probably make sense to
already migrate all repos into the list and extract the primary one from
it, also killing DISTRO_APT_SOURCE.
Anyway, I've tested the series and made some observations, mostly
positive ones:
- The generated images boot and run like the previous ones. Thumbs up!
- The new installation way is stricter with packages, rejecting those
that try to overwrite files of others. Multistrap was not doing this,
and I would consider this a weakness of the old way.
- Development round trip times can be shorter due to the initial single
bootstrap that gets widely reused for the target image build.
- We no longer set a hostname but leave it up to Debian to generate a
random one. Maybe worth reintroducing this simple customization via an
overwritable variable.
Jan
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
prev parent reply other threads:[~2018-02-26 6:43 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-22 13:18 claudius.heine.ext
2018-02-22 13:18 ` [PATCH v2 1/5] implement isar-bootstrap using debootstrap claudius.heine.ext
2018-02-23 20:39 ` Jan Kiszka
2018-02-22 13:18 ` [PATCH v2 2/5] meta/isar-bootstrap-helper.bbclass: handle rfs customization centrally claudius.heine.ext
2018-02-22 13:18 ` [PATCH v2 3/5] meta/buildchroot: switch to using isar-bootstrap claudius.heine.ext
2018-02-23 20:44 ` Jan Kiszka
2018-02-22 13:19 ` [PATCH v2 4/5] meta-isar/isar-image-base: " claudius.heine.ext
2018-02-23 20:45 ` Jan Kiszka
2018-02-22 13:19 ` [PATCH v2 5/5] meta-isar/multiconfig: remove multistrap references claudius.heine.ext
2018-02-23 20:46 ` Jan Kiszka
2018-02-22 14:21 ` [PATCH v2 0/5] Debootstrap integration Alexander Smirnov
2018-02-22 18:09 ` Jan Kiszka
2018-02-23 7:40 ` Claudius Heine
2018-02-23 20:35 ` Jan Kiszka
2018-02-26 6:43 ` Jan Kiszka [this message]
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=2c579e93-2c1a-7f7b-e76b-37f26d277497@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=asmirnov@ilbers.de \
--cc=ch@denx.de \
--cc=claudius.heine.ext@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