From: Christian Storm <christian.storm@siemens.com>
To: isar-users@googlegroups.com
Subject: Re: download_dev-random hook question
Date: Thu, 16 Nov 2017 11:04:20 +0100 [thread overview]
Message-ID: <20171116100420.yse7insbzgwqylah@MD1KR9XC.ww002.siemens.net> (raw)
In-Reply-To: <20697ef4-f5fd-963f-7ee4-2b09f38e9ba2@ilbers.de>
> >>>> I just stumbled over the download_dev-random multistrap hook:
> >>>> Why is it that you only create /dev/{,u}random?
> >>>> Why not also create other essential files like /dev/{null,zero}
> >>>> as well [...]
> >>>
> >>> ... and, a further question that just came to my mind: Why is this handled
> >>> in a multistrap hook in the first place? Seems rather implicit to me. Why
> >>> not do it explicitly in buildchroot.bb and isar-image-base.bb?
> >>>
> >>
> >> IIRC correctly multistrap configuration was taken from Debian/Embian
> >> examples. So I'd personally prefer to drop all the hooks and make
> >> necessary calls explicitly in recipes.
> >
> > Ah, I see... I totally agree.
> >
> >> So I see it like the following:
> >> - recipe creates rootfs, mounts necessary folders and creates device files.
> >> - recipe calls multistrap which only downloads the packages and unpack
> >> them to rootfs.
> >> - recipe calls configscript which performs post-configuration for rootfs.
> >
> > Yes, we're on the same page here, agreed.
> >
> >> This would be very helpful in context of switching to debootstrap.
> >
> > Even without the switch, I do find the explicit variant, well, more explicit :)
> >
>
> Will you handle this? :-) Or I could add it to TODO?
It fell on my feet, so I'll prepare patches, stay tuned...
Besten Gru�,
Christian
--
Dr. Christian Storm
Siemens AG, Corporate Technology, CT RDA ITP SES-DE
Otto-Hahn-Ring 6, 81739 M�nchen, Germany
next prev parent reply other threads:[~2017-11-16 10:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-13 16:35 Christian Storm
2017-11-13 18:09 ` Henning Schild
2017-11-14 9:06 ` [ext] Christian Storm
2017-11-16 9:04 ` [ext] Christian Storm
2017-11-16 9:19 ` Alexander Smirnov
2017-11-16 9:41 ` Christian Storm
2017-11-16 9:49 ` Alexander Smirnov
2017-11-16 10:04 ` Christian Storm [this message]
2017-11-20 9:41 ` Henning Schild
2017-11-20 10:00 ` Christian Storm
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=20171116100420.yse7insbzgwqylah@MD1KR9XC.ww002.siemens.net \
--to=christian.storm@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