From: "Ulrich Ölmann" <u.oelmann@pengutronix.de>
To: yocto@yoctoproject.org
Subject: Re: Multiple ubifs partition
Date: Wed, 24 Apr 2019 15:15:55 +0200 [thread overview]
Message-ID: <6rbm0vbl2s.fsf@pengutronix.de> (raw)
In-Reply-To: <CAAx3WaCL2XBSarSVpDN+KdwwYoUDEd3cLT1MfecFWriUB=OT-Q@mail.gmail.com>
Hi Gabriele,
On Wed, Apr 24 2019 at 14:06 +0200, Gabriele Zampieri <gabbla.malist@gmail.com> wrote:
> I'm now testing genimage via meta-ptx in my Yocto workflow, but I found a
> problem: I cannot set a SRC_URI in my custom image recipe (that inherit
> from core-image which in turn inherit from image) because do_fetch and
> do_unpack tasks have noexec set to 1. If I specify the SRC_URI with my
> genimage.config, bitbake exits, complaining about LIC_FILE_CHECKSUM (that
> is correctly specified). If I hack image.bbclass and comment out
>
> #do_fetch[noexec] = "1"
>
>
> #do_unpack[noexec] = "1"
>
> The process start correctly. Is there a way to avoid touching image.bbclass
> and install my configuration from the image recipe?
>
> Thanks,
> Gabriele
you need one or more recipe(s) that construct(s) your filesystem(s) and
a separate one that makes a flashable image out of that (see the
introductory documentation in 'genimage.bbclass'). In the former you
inherit 'core-image' and only in the latter which inherits 'genimage'
you have to set the SRC_URI to point to your 'genimage.config'.
Best regards
Ulrich
> Il giorno mer 13 mar 2019 alle ore 16:14 Gabriele Zampieri <
> gabbla.malist@gmail.com> ha scritto:
>
>> Hi all,
>>
>> thank you very much for the suggestion, I will check genimage and test it.
>>
>> Gabriele
>>
>> Il giorno gio 7 mar 2019 alle ore 16:23 Ulrich Ölmann <
>> u.oelmann@pengutronix.de> ha scritto:
>>
>>> Hi there,
>>>
>>> On Thu, Mar 07 2019 at 15:11 +0100, Stelling2 Carsten <
>>> Carsten.Stelling2@goerlitz.com> wrote:
>>> > Have you seen https://github.com/pengutronix/genimage?
>>>
>>> you can find it included within https://github.com/pengutronix/meta-ptx
>>> with an accompanying genimage.bbclass.
>>>
>>> Best regards
>>> Ulrich
>>>
>>> > Regards,
>>> >
>>> > Carsten
>>> >
>>> > Von: yocto-bounces@yoctoproject.org [mailto:
>>> yocto-bounces@yoctoproject.org] Im Auftrag von Gabriele Zampieri
>>> > Gesendet: Montag, 4. März 2019 12:17
>>> > An: yocto@yoctoproject.org
>>> > Betreff: [yocto] Multiple ubifs partition
>>> >
>>> > Hi all,
>>> >
>>> > I'm trying to build a distribution that has multiple partitions. The
>>> desiderata is something like:
>>> >
>>> > - rootfs.ubifs mounted on /
>>> > - data.ubifs mounted on /data
>>> > - opt.ubifs mounted on /opt
>>> >
>>> > I was wondering if there is a standard way to achieve the goal. I see
>>> that there is a tool called wic, but it does not seems to support ubifs. I
>>> could post process the tarball image and doing stuff with my scripts, but
>>> I'd prefer doing this in a single bitbake run. Can you suggest something?
>>> >
>>> > Thanks,
>>> > Gabriele
>>>
>>>
>>> --
>>> Pengutronix e.K. | Ulrich Ölmann |
>>> Industrial Linux Solutions | http://www.pengutronix.de/
>>> |
>>> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
>>> Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
>>>
>>
--
Pengutronix e.K. | Ulrich Ölmann |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
next prev parent reply other threads:[~2019-04-24 13:35 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-04 11:17 Multiple ubifs partition Gabriele Zampieri
2019-03-07 14:11 ` Stelling2 Carsten
2019-03-07 15:23 ` Ulrich Ölmann
2019-03-13 15:14 ` Gabriele Zampieri
2019-04-24 12:06 ` Gabriele Zampieri
2019-04-24 13:15 ` Ulrich Ölmann [this message]
2019-05-02 11:25 ` Gabriele Zampieri
2019-05-03 5:59 ` Ulrich Ölmann
2019-05-06 11:32 ` Gabriele Zampieri
2019-05-06 12:15 ` Ulrich Ölmann
2019-05-06 12:51 ` Gabriele Zampieri
2019-03-07 14:31 ` Marc Ferland
2019-03-07 14:55 ` Marc Ferland
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=6rbm0vbl2s.fsf@pengutronix.de \
--to=u.oelmann@pengutronix.de \
--cc=yocto@yoctoproject.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.