[yocto] Multiple ubifs partition

Marc Ferland marc.ferland at gmail.com
Thu Mar 7 06:55:34 PST 2019


> On Mon, Mar 4, 2019 at 6:17 AM Gabriele Zampieri
> <gabbla.malist at gmail.com> wrote:
> >
> > 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?
> >

Hummm just reread your mail, and I think you will probably have to
roll up your own image type. The meta-raspberrypi layer contains a
custom image bbclass which you could use as an example.

Good luck!
Marc


More information about the yocto mailing list