[Buildroot] [PATCH 8/8] core/show-info: report image name of filesystems
Yann E. MORIN
yann.morin.1998 at free.fr
Sat Apr 25 13:32:42 UTC 2020
Thomas, All,
On 2020-04-25 15:12 +0200, Thomas Petazzoni spake thusly:
> On Sat, 11 Apr 2020 10:12:33 +0200
> "Yann E. MORIN" <yann.morin.1998 at free.fr> wrote:
>
> > The rootfses, unlike packages, do not have stampfiles to represent
> > whether they are built or not. Indeed, we always rebuild the rootfs, and
> > there is a single step to do.
> >
> > Hpwever, people (and scripts) who want to report on the build progress,
*However
> > will want to know whether each rootfs has been built already or not.
> >
> > Expose in show-info the name of the file that wil contain the rootfs
> > image.
> >
> > Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
> > Cc: Vadim Kochan <vadim4j at gmail.com>
> > Cc: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
> > Cc: Arnout Vandecappelle <arnout at mind.be>
> > Cc: eeppeliteloop at gmail.com
> > ---
> > package/pkg-utils.mk | 4 ++++
> > 1 file changed, 4 insertions(+)
> >
> > diff --git a/package/pkg-utils.mk b/package/pkg-utils.mk
> > index bcdbf568fe..a464b660ef 100644
> > --- a/package/pkg-utils.mk
> > +++ b/package/pkg-utils.mk
> > @@ -174,6 +174,10 @@ define _json-info-pkg-details
> > endef
> >
> > define _json-info-fs
> > + "image_name": $(if $($(1)_FINAL_IMAGE_NAME), \
> > + "$($(1)_FINAL_IMAGE_NAME)", \
> > + null \
> > + ),
>
> Is the condition needed because of the initramfs case?
As far as I remember, yes. I forgot about it when writing the commit
log, it seems...
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list