[OE-core] [PATCH] edgerouter.conf: enable generation of wic.bmap
Christopher Larson
clarson at kergoth.com
Sun Dec 11 00:40:53 UTC 2016
On Sat, Dec 10, 2016 at 1:57 PM, Khem Raj <raj.khem at gmail.com> wrote:
> On Sat, Dec 10, 2016 at 10:40 AM, Christopher Larson
> <clarson at kergoth.com> wrote:
> >
> > On Fri, Dec 9, 2016 at 10:46 AM, Ed Bartosh <ed.bartosh at linux.intel.com>
> > wrote:
> >>
> >> Enabled generation of block map(bmap) files for wic images
> >> built for edgerouter machine. This should simplify flashing
> >> images with bmaptool.
> >>
> >> [YOCTO #10621]
> >>
> >> Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
> >
> >
> > I think this is more of a distro decision than machine, whether they
> want to
> > support use of bmaptool for their users/customers. It’d be nice if it was
> > easier to control compression from the distro, too. For example, if we
> want
> > to distribute wic.bz2+wic.bmap in our installers, it’d be nice to be
> able to
> > switch to that for all machines that use wic. I’m not sure how best to
> pull
> > that off, however. Something to think about for the future.
>
> I think thats a good point, however, distro should be able to define
> something like
> if machine is capable of supporting feature X then lets enable it. I
> dont think we
> should add machine knowledge into distros either.
Agreed. We do that already with features variables, but there’s no
equivalent for IMAGE_FSTYPES, of course. Presumably IMAGE_FSTYPES_append =
“ ${@‘wic.bmap’ if ‘${USING_WIC}’ else ‘’}” or so would get part of the way
there. Replacing wic with wic.bz2 or vice versa would be slightly more
complex.
--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20161210/57595bae/attachment-0002.html>
More information about the Openembedded-core
mailing list