def METHOD_NAME():
    files = _get_files()
    modules = _get_modules()
    if not files and not modules['kernel'] and not modules['dracut']:
        api.current_logger().debug(
            'No additional files or modules required to add into the target initramfs.')
        return
    target_kernel_info = next(api.consume(InstalledTargetKernelInfo), None)
    if not target_kernel_info:
        raise StopActorExecutionError(
            'Cannot get version of the installed RHEL-8 kernel',
            details={'Problem': 'Did not receive a message with installed RHEL-8 kernel version'
                                ' (InstalledTargetKernelVersion)'})
    _copy_modules(modules['dracut'], DRACUT_DIR, 'dracut')
    _copy_modules(modules['kernel'], _get_target_kernel_modules_dir(target_kernel_info.uname_r), 'kernel')
    # Discover any new modules and regenerate modules.dep
    should_regenerate = any(module.module_path is not None for module in modules['kernel'])
    if should_regenerate:
        try:
            run(['depmod', target_kernel_info.uname_r, '-a'])
        except CalledProcessError as e:
            raise StopActorExecutionError('Failed to generate modules.dep and map files.', details={'details': str(e)})
    try:
        # multiple files|modules need to be quoted, see --install | --add in dracut(8)
        dracut_module_names = list({module.name for module in modules['dracut']})
        kernel_module_names = list({module.name for module in modules['kernel']})
        cmd = ['dracut', '-f', '--kver', target_kernel_info.uname_r]
        if files:
            cmd += ['--install', '{}'.format(' '.join(files))]
        if modules['dracut']:
            cmd += ['--add', '{}'.format(' '.join(dracut_module_names))]
        if modules['kernel']:
            cmd += ['--add-drivers', '{}'.format(' '.join(kernel_module_names))]
        run(cmd)
    except CalledProcessError as e:
        # just hypothetic check, it should not die
        raise StopActorExecutionError('Cannot regenerate dracut image.', details={'details': str(e)})