[oe-commits] Mihaly Varga : wic: Add plugin for hybrid iso image

git at git.openembedded.org git at git.openembedded.org
Mon Aug 24 22:48:38 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: 289c534b5d990e22e5547496f5f84cc9721ce3ee
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=289c534b5d990e22e5547496f5f84cc9721ce3ee

Author: Mihaly Varga <mihaly.varga at ni.com>
Date:   Thu Aug  6 20:04:50 2015 +0300

wic: Add plugin for hybrid iso image

This plugin creates a hybrid, legacy and EFI bootable ISO image.
The generated image can be used on optical media as well as
USB media.

Legacy boot uses syslinux and EFI boot uses grub or gummiboot (not
implemented yet) as bootloader. The plugin creates the directories
required by bootloaders and populates them by creating and
configuring the bootloader files.

The plugin adds an image file to the iso which
contains the directory tree of the rootfs folder specified by the
--rootfs argument or by the IMAGE_ROOTFS bitbake variable.

Using the isohybryd tool, the created .iso image is enhanced by a MBR
for booting from disk storage devices, consequently the provided
iso image could be copyed directly by dd comand onto USB drive or
could be burned to an optical media by using a suitable image burner.

The plugin depends on parted, e2fstools, syslinux, grub, cdrtools,
dosfstools and mtools program.

Some of the functions in this plugin were inspired from bootimg-efi.py
and bootimg-pcbios.py plugins implemented by Tom Zanussi.

Signed-off-by: Mihaly Varga <mihaly.varga at ni.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>

---

 .../lib/wic/plugins/source/isoimage-isohybrid.py   | 538 +++++++++++++++++++++
 1 file changed, 538 insertions(+)

Diff:   http://git.openembedded.org/?p=openembedded-core.git/?a=commitdiff;h=289c534b5d990e22e5547496f5f84cc9721ce3ee


More information about the Openembedded-commits mailing list