public async Task Execute(string windowsPath, string origin) { this.origin = origin; var injectedDrivers = await imageService.InjectDrivers(origin, windowsPath); var metadataPath = GetMetadataFilename(); SaveMetadata(injectedDrivers, Path.Combine(AppPaths.Metadata, "Injected Drivers", metadataPath)); }
protected override async Task ExecuteCore() { var windowsPartition = await context.Device.GetWindowsPartition(); await windowsPartition.EnsureWritable(); var injectedDrivers = await imageService.InjectDrivers(origin, windowsPartition.Root); var metadataPath = GetMetadataFilename(); SaveMetadata(injectedDrivers, Path.Combine(AppPaths.Metadata, "Injected Drivers", metadataPath)); }
public async Task Execute() { var windowsPartition = await device.GetWindowsVolume(); await imageService.InjectDrivers(origin, windowsPartition); }
private Task InjectDrivers(Volume windowsVolume) { Log.Information("Injecting Drivers..."); return(windowsImageService.InjectDrivers(deploymentPaths.PreOobe, windowsVolume)); }