From: Ed Bartosh <ed.bartosh@linux.intel.com>
To: "João Henrique Ferreira de Freitas" <joaohf@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [wic][PATCH] wic: Implement --build-rootfs command line option
Date: Fri, 10 Apr 2015 12:16:56 +0300 [thread overview]
Message-ID: <20150410091656.GA23029@linux.intel.com> (raw)
In-Reply-To: <5526FC10.4080806@gmail.com>
On Thu, Apr 09, 2015 at 07:24:16PM -0300, João Henrique Ferreira de Freitas wrote:
>
> >>- What will be the behavior if: wic create test-image-4Gb -e
> >>test-image --rootfs rootfs1=test-image --rootfs
> >>rootfs2=bringup-image -f. A believed that only 'test-image' will be
> >>build. Right?
> >>
> >I don't fully understand command line options in your example, but generally you're right.
> >wic will take image name from -e option and run "bitbake test-image" in this case.
>
> This thread explain the above command line options: http://lists.openembedded.org/pipermail/openembedded-core/2014-March/091185.html
>
> Usually I run this sequence:
>
> bitbake test-image
> bitbate bringup-image
>
> wic create test-image-4Gb -e test-image --rootfs rootfs1=test-image --rootfs rootfs2=bringup-image
>
> So wic will create a directdisk with two images where each one will
> be place on specific partition.
>
> I guess if '-f' is used, wic could call bitbake to 'test-image' and
> 'bringup-image'.
Thank you for explanations. I missed your patches somehow.
Can we do the same by implementing handling of multiple -e/--image-name options in command line and .wks?
e.g. wic create directdisk-multi-rootfs.wks -e core-image-minimal -e core-image-minimal-dev
directdisk-multi-rootfs.wks:
part / --image-name core-image-minimal --ondisk sda --fstype=ext3 --label primary --align 1024
part /standby --image-name core-image-minimal-dev --ondisk sda --fstype=ext3 --label secondary --align 1024
--
Regards,
Ed
next prev parent reply other threads:[~2015-04-10 9:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-07 9:57 [wic][PATCH] wic: Implement --build-rootfs command line option Ed Bartosh
2015-04-08 22:18 ` João Henrique Ferreira de Freitas
2015-04-09 19:12 ` Ed Bartosh
2015-04-09 22:24 ` João Henrique Ferreira de Freitas
2015-04-10 9:16 ` Ed Bartosh [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-04-20 16:13 Adrian Freihofer
2015-04-21 12:39 ` Ed Bartosh
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=20150410091656.GA23029@linux.intel.com \
--to=ed.bartosh@linux.intel.com \
--cc=joaohf@gmail.com \
--cc=openembedded-core@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox