poky/scripts/lib/wic/plugins/source
Ioan-Adrian Ratiu 436df4de37 wic/isoimage-isohybrid: remove do_stage_partition()
The purpouse of this function was to check dependencies for building a
hybrid iso and build them using bitbake if not found. Calling bitbake in
this context means this wic plugin itself cannot be instrumented inside
bitbake recipes which is undesirable, the benefits of this are clear:
there is no need to maintain outside scripts to generate an iso using wic
and the isohybrid building logic can be further abstracted away into an
isohybrid.bbclass in the future which can be easily inherited or something
similar.

So remove the function and add all dependencies to NATIVE_RECIPES so that
wic can print useful errors when they're not built.

To automate building the isohybrid image dependencies, add the following
somewhere in your image build inheritence hierarcy (or maybe create a
bbclass in the future to do these sort of things automatically):

DEPENDS += "syslinux syslinux-native cdrtools-native e2fsprogs-native \
            parted-native dosfstools-native mtools-native grub-efi-native"

(From OE-Core rev: ba4346069ab87f1cf942d1928f911eca6a9d65cd)

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-16 18:05:12 +00:00
..
bootimg-efi.py gummiboot: Remove/change gummiboot references with systemd-boot 2017-01-09 13:39:11 +00:00
bootimg-partition.py wic: do not remove build dir in source plugins 2016-01-20 17:07:13 +00:00
bootimg-pcbios.py image-live, image-vm, wic: Remove fs size workaround 2016-06-03 13:13:30 +01:00
fsimage.py wic: code cleanup: superfluous-parens 2015-06-23 11:47:36 +01:00
isoimage-isohybrid.py wic/isoimage-isohybrid: remove do_stage_partition() 2017-01-16 18:05:12 +00:00
rawcopy.py wic: make sure that partition size is always an integer in internal processing 2016-11-15 15:19:55 +00:00
rootfs_pcbios_ext.py wic: removed unused imports 2016-01-19 17:24:47 +00:00
rootfs.py wic: get rid of get_rootfs and set_rootfs 2016-01-18 11:47:06 +00:00