summaryrefslogtreecommitdiffstats
path: root/scripts/relocate_sdk.py
diff options
context:
space:
mode:
authorMihaly Varga <mihaly.varga@ni.com>2015-08-06 20:04:50 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-24 23:43:26 +0100
commit289c534b5d990e22e5547496f5f84cc9721ce3ee (patch)
tree63aca35bdbd53ab685830bedb94dcd144d643b9b /scripts/relocate_sdk.py
parent6d380d9d2e7f4a2e8c30da5c79086ee0391bfad5 (diff)
downloadopenembedded-core-contrib-289c534b5d990e22e5547496f5f84cc9721ce3ee.tar.gz
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@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/relocate_sdk.py')
0 files changed, 0 insertions, 0 deletions