Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # [doc] "Creates an image for use with VMware or VirtualBox compatible virtual machine hosts (based on IMAGE_FSTYPES either .vmdk or .vdi)"
- # $SOC_DEFAULT_IMAGE_FSTYPES [2 operations]
- SOC_DEFAULT_IMAGE_FSTYPES="sdcard.gz"
- # "${@bb.utils.contains_any("IMAGE_FSTYPES", ["vmdk", "vdi", "qcow2", "hdddirect"], "image-vm", "", d)}"
- # $IMAGE_FSTYPES_DEBUGFS [2 operations]
- # "${IMAGE_FSTYPES}"
- # "${IMAGE_FSTYPES}"
- IMAGE_FSTYPES_DEBUGFS="tar.bz2"
- # $IMAGE_FSTYPES [6 operations]
- # "${SOC_DEFAULT_IMAGE_FSTYPES}"
- IMAGE_FSTYPES="tar.bz2"
- # $SOC_DEFAULT_IMAGE_FSTYPES_mxs
- SOC_DEFAULT_IMAGE_FSTYPES_mxs="uboot.mxsboot-sdcard sdcard.gz"
- # " ${@bb.utils.contains('IMAGE_FSTYPES', 'uboot.mxsboot-sdcard', 'uboot.mxsboot-sdcard', '', d)} ${@bb.utils.contains('IMAGE_FSTYPES', 'barebox.mxsboot-sdcard', 'barebox.mxsboot-sdcard', '', d)} "
- # " ${@d.getVar('SDCARD_ROOTFS', 1).split('.')[-1]} ${@bb.utils.contains('IMAGE_FSTYPES', 'uboot.mxsboot-sdcard', 'uboot.mxsboot-sdcard', '', d)} ${@bb.utils.contains('IMAGE_FSTYPES', 'barebox.mxsboot-sdcard', 'barebox.mxsboot-sdcard', '', d)} "
- # [doc] "Configures the UBOOT_MACHINE and can also define IMAGE_FSTYPES for individual cases."
- # "${@bb.utils.contains_any('IMAGE_FSTYPES', 'wic ' + ' '.join('wic.%s' % c for c in '${COMPRESSIONTYPES}'.split()), '1', '', d)}"
- debugfs_image_fstypes = d.getVar('IMAGE_FSTYPES_DEBUGFS', True)
- d.setVar('IMAGE_FSTYPES', debugfs_image_fstypes)
- 'IMAGE_ROOTFS_MAXSIZE','IMAGE_NAME','IMAGE_LINK_NAME','IMAGE_MANIFEST','DEPLOY_DIR_IMAGE','RM_OLD_IMAGE','IMAGE_FSTYPES','IMAGE_INSTALL_COMPLEMENTARY','IMAGE_LINGUAS',
- image_fstypes = d.getVar('IMAGE_FSTYPES', True) or ''
- fstypes = set((d.getVar('IMAGE_FSTYPES', True) or "").split())
- fstypes |= set((d.getVar('IMAGE_FSTYPES_DEBUGFS', True) or "").split())
- alltypes = d.getVar('IMAGE_FSTYPES', True).split()
- debugfs_fstypes = d.getVar('IMAGE_FSTYPES_DEBUGFS', True).split()
- bb.fatal("No IMAGE_CMD defined for IMAGE_FSTYPES entry '%s' - possibly invalid type name or missing support class" % t)
- if bb.utils.contains("IMAGE_FSTYPES", "live", "live", "0", d) == "0": # live is not set but hob might set iso or hddimg
- d.setVar('NOISO', bb.utils.contains('IMAGE_FSTYPES', "iso", "0", "1", d))
- d.setVar('NOHDD', bb.utils.contains('IMAGE_FSTYPES', "hddimg", "0", "1", d))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement