summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/cryptodev
AgeCommit message (Expand)Author
2019-04-26cryptodev: fix module loading errorKai Kang
2019-02-15cryptodev: 1.9 -> 1.10Robert Yang
2018-09-04cryptodev-tests: port to openssl 1.1Alexander Kanavin
2018-08-23cryptodev-linux: Fixes a kernel crash observed with cipher-gcm testHongzhi.Song
2018-06-27cryptodev: Fix build errors with v4.17+He Zhe
2018-03-11cryptodev: refresh patchesRoss Burton
2018-02-24cryptodev: switch SRC_URI to gitAlexander Kanavin
2018-01-17cryptodev: Fix build errors with v4.13+Daniel Schultz
2017-08-11cryptodev-tests: depend on openssl 1.0Alexander Kanavin
2017-07-21cryptodev: 1.8 -> 1.9Robert Yang
2017-05-27cryptodev-linux: update SRC_URIChang Rebecca Swee Fun
2017-03-04cryptodev: update to handle 4.10 kernel APIRoss Burton
2017-01-31cryptodev: Fix changed mm interface in Kernel 4.9Daniel Schultz
2016-09-05cryptodev: Add backported patches for 4.6+ kernelsRichard Purdie
2015-12-27cryptodev: update to 1.8Alexander Kanavin
2015-12-16meta: more removals of redunant FILES_${PN}-dbgRoss Burton
2015-09-16cryptodev-tests: don't use STAGING_KERNEL_DIR, fix re-packaging in multi-mach...Denys Dmytriyenko
2015-04-21cryptodev: 1.6 -> 1.7Robert Yang
2015-02-14cryptodev-module: Fix build on kernel v3.19Ricardo Ribalda Delgado
2014-11-08base: Improve makefile clean handling, introduce CLEANBROKEN variableRichard Purdie
2014-04-24cryptodev-tests: recipe for cryptodev test suite based on OpenSSLDenys Dmytriyenko
2014-04-24cryptodev-module: recipe for out-of-tree cryptodev device driverDenys Dmytriyenko
2014-04-24cryptodev-linux: create common .inc file to be shared by module and testsDenys Dmytriyenko
2014-04-24cryptodev-linux: move to recipes-kernel to be shared with module and testsDenys Dmytriyenko
DESCRIPTION # This implements the 'rootfs' source plugin class for 'wic' # # AUTHORS # Tom Zanussi <tom.zanussi (at] linux.intel.com> # Joao Henrique Ferreira de Freitas <joaohf (at] gmail.com> # import os import shutil import re import tempfile from mic import kickstart, msger from mic.utils import misc, fs_related, errors, runner, cmdln from mic.conf import configmgr from mic.plugin import pluginmgr from mic.utils.partitionedfs import PartitionedMount import mic.imager.direct as direct from mic.pluginbase import SourcePlugin from mic.utils.oe.misc import * from mic.imager.direct import DirectImageCreator class RootfsPlugin(SourcePlugin): name = 'rootfs' @staticmethod def __get_rootfs_dir(rootfs_dir): if os.path.isdir(rootfs_dir): return rootfs_dir bitbake_env_lines = find_bitbake_env_lines(rootfs_dir) if not bitbake_env_lines: msg = "Couldn't get bitbake environment, exiting." msger.error(msg) image_rootfs_dir = find_artifact(bitbake_env_lines, "IMAGE_ROOTFS") if not os.path.isdir(image_rootfs_dir): msg = "No valid artifact IMAGE_ROOTFS from image named" msg += " %s has been found at %s, exiting.\n" % \ (rootfs_dir, image_rootfs_dir) msger.error(msg) return image_rootfs_dir @classmethod def do_prepare_partition(self, part, cr, cr_workdir, oe_builddir, bootimg_dir, kernel_dir, krootfs_dir, native_sysroot): """ Called to do the actual content population for a partition i.e. it 'prepares' the partition to be incorporated into the image. In this case, prepare content for legacy bios boot partition. """ if part.rootfs is None: if not 'ROOTFS_DIR' in krootfs_dir: msg = "Couldn't find --rootfs-dir, exiting" msger.error(msg) rootfs_dir = krootfs_dir['ROOTFS_DIR'] else: if part.rootfs in krootfs_dir: rootfs_dir = krootfs_dir[part.rootfs] elif part.rootfs: rootfs_dir = part.rootfs else: msg = "Couldn't find --rootfs-dir=%s connection" msg += " or it is not a valid path, exiting" msger.error(msg % part.rootfs) real_rootfs_dir = self.__get_rootfs_dir(rootfs_dir) part.set_rootfs(real_rootfs_dir) part.prepare_rootfs(cr_workdir, oe_builddir, real_rootfs_dir, native_sysroot)