All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: Joshua Immanuel <josh@hipro.co.in>
Cc: yocto@yoctoproject.org
Subject: Re: overriding a class in custom layer
Date: Wed, 25 Jan 2012 15:56:36 +0000	[thread overview]
Message-ID: <165969514.8Xnp3ebGHF@helios> (raw)
In-Reply-To: <1327469596.2543.15.camel@babel.joshhome>

On Wednesday 25 January 2012 11:03:16 Joshua Immanuel wrote:
> On Tue, 2012-01-24 at 16:17 +0000, Paul Eggleton wrote:
> > I'd also say, what is in the classes is intended to work for everyone,
> > so if there's something in the core classes that is not working well
> > for your situation we'd really like to hear about it - hopefully we
> > can incorporate whatever changes you need and you can avoid having to
> > overlay the entire class.
> 
> At present when we build an image, everything gets under one partition.
> For my use case I need two images (denoting different partitions)
>      1. rootfs image (mount point: '/', mounted as ro)
>      2. data partition image (mount point: say '/data' mounted as rw)
> 
> While generating the image, I construct the /etc/fstab file manually by
> representing filesystems by their uuids (generated using uuidgen). So,
> to set this uuid in generated image I try to override the
> image_types.bbclass and using tune2fs I set the uuid for the generated
> images.

AFAIK we don't already have the ability to do this, but it sounds very useful. 
If it can be something that can be enabled and configured relatively easily 
then it would be great to have in OE-Core as I can imagine others making use 
of it.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


  reply	other threads:[~2012-01-25 15:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-24 10:47 overriding a class in custom layer Joshua Immanuel
2012-01-24 14:07 ` Christopher Larson
2012-01-24 14:24   ` Joshua Immanuel
2012-01-24 14:32     ` Christopher Larson
2012-01-24 16:17       ` Paul Eggleton
2012-01-24 16:19         ` Christopher Larson
2012-01-25  5:33         ` Joshua Immanuel
2012-01-25 15:56           ` Paul Eggleton [this message]
2012-01-25 17:04             ` Chris Larson

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=165969514.8Xnp3ebGHF@helios \
    --to=paul.eggleton@linux.intel.com \
    --cc=josh@hipro.co.in \
    --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.