From: richard.purdie@linuxfoundation.org
To: "Böszörményi Zoltán" <zboszor@pr.hu>,
openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] classes/image-live.bbclass: Don't hardcode cpio.gz
Date: Thu, 26 Sep 2019 22:02:32 +0100 [thread overview]
Message-ID: <243d7b47bc339bb2d6fa8459dfde09f14910ecd2.camel@linuxfoundation.org> (raw)
In-Reply-To: <d4bc7322-a5d8-417d-739d-31589034e1dc@pr.hu>
On Thu, 2019-09-26 at 19:09 +0200, Böszörményi Zoltán wrote:
> 2019. 09. 26. 19:02 keltezéssel, Böszörményi Zoltán via Openembedded-
> core írta:
> > 2019. 09. 26. 18:50 keltezéssel, Böszörményi Zoltán via
> > Openembedded-core írta:
> > > 2019. 09. 26. 17:45 keltezéssel, Richard Purdie írta:
> > > >
> > > > I'm a little worried that INITRAMFS_FSTYPES can contain
> > > > multiple values
> > > > by the sounds of its name...
> > >
> > > From the looks of the current value, it's already contains
> > > multiple values
> > > delimited by that dot. "cpio" + "gz".
> > >
> > > Also, according to meta/conf/documentation.conf, line 228:
> > >
> > > INITRAMFS_FSTYPES[doc] = "Defines the format for the output image
> > > of an initial RAM disk
> > > (initramfs), which is used during boot."
> >
> > Also, image-live.bbclass uses this variable this way:
> >
> > INITRD_LIVE ?= "${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE_LIVE}-
> > ${MACHINE}.${INITRAMFS_FSTYPES}"
> >
> > The initrd/initramfs file name would definitely look strange if
> > this variable could contain multiple space delimited settings.
>
> Also, openembedded-core/scripts/lib/wic/plugins/source/isoimage-
> isohybrid.py
> has that _build_initramfs_path function from line 143. The usage of
> the same variable in this python function also points back to the
> documentation line, i.e. it's a filename suffix and not multiple
> settings delimited by space.
This does look ok given the above. Thanks for confirming.
Cheers,
Richard
next prev parent reply other threads:[~2019-09-26 21:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-26 9:05 [PATCH] classes/image-live.bbclass: Don't hardcode cpio.gz Böszörményi Zoltán
2019-09-26 15:45 ` Richard Purdie
2019-09-26 16:50 ` Böszörményi Zoltán
2019-09-26 17:02 ` Böszörményi Zoltán
2019-09-26 17:09 ` Böszörményi Zoltán
2019-09-26 21:02 ` richard.purdie [this message]
2019-09-27 4:31 ` Böszörményi Zoltán
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=243d7b47bc339bb2d6fa8459dfde09f14910ecd2.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@lists.openembedded.org \
--cc=zboszor@pr.hu \
/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