From: Patrick Ohly <patrick.ohly@intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 0/2] more flexible image conversion
Date: Mon, 7 Mar 2016 15:51:06 +0100 [thread overview]
Message-ID: <cover.1457361747.git.patrick.ohly@intel.com> (raw)
In Ostro OS (https://ostroproject.org) we have a custom image class
which creates a whole-disk image
(https://github.com/ostroproject/meta-ostro/blob/master/meta-ostro/classes/image-dsk.bbclass).
Currently that class is more complex than it should be because it
re-implements image compression and conversion to VirtualBox, due to
limitations in OE-core's image.bbclass and because we wanted to get
rid of the redundant and misleading ".rootfs" suffix in image file
names.
These two patches make it possible to simplify the custom code to just
the actual dsk image and leverage OE-core for the rest.
The removal of the ".rootfs" suffix would also make sense for
OE-core. The first commit can be seen as a first step towards that. It
does not change the default, so nothing changes yet, but interested
distros or users can already get rid of the suffix by overriding the
IMAGE_NAME_SUFFIX variable.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=9076 describes the
problem and probably can be considered resolved by these changes.
The following changes since commit 331ad5c5f80044a5e82abca0e87a85b162126411:
mtools: Drop GCONV_PATH manipulation (2016-03-07 12:41:09 +0000)
are available in the git repository at:
git://github.com/pohly/openembedded-core image-conversion
https://github.com/pohly/openembedded-core/tree/image-conversion
Patrick Ohly (2):
image creation: allow overriding .rootfs suffix
image.bbclass: support chaining compression (aka conversion) commands
meta/classes/image.bbclass | 29 +++++++++++++++---
meta/classes/image_types.bbclass | 63 ++++++++++++++++++++++------------------
2 files changed, 59 insertions(+), 33 deletions(-)
--
2.1.4
next reply other threads:[~2016-03-07 14:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-07 14:51 Patrick Ohly [this message]
2016-03-07 14:51 ` [PATCH 1/2] image creation: allow overriding .rootfs suffix Patrick Ohly
2016-03-07 21:13 ` [PATCH] image.bbclass: fix incomplete .rootfs customization Patrick Ohly
2016-03-07 14:51 ` [PATCH 2/2] image.bbclass: support chaining compression (aka conversion) commands Patrick Ohly
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=cover.1457361747.git.patrick.ohly@intel.com \
--to=patrick.ohly@intel.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