Skip to content

Commit

Permalink
Merge pull request #754 from monstermunchkin/fixes/windows
Browse files Browse the repository at this point in the history
windows: Mount Windows ISO as UDF instead of ISO9660
  • Loading branch information
stgraber authored Jul 19, 2023
2 parents 85a2d5f + 3d3a428 commit 6b06490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distrobuilder/main_repack-windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func (c *cmdRepackWindows) preRun(cmd *cobra.Command, args []string) error {
logger.Info("Mounting Windows ISO")

// Mount ISO
err = shared.RunCommand(c.global.ctx, nil, nil, "mount", "-t", "iso9660", "-o", "loop", args[0], c.global.sourceDir)
err = shared.RunCommand(c.global.ctx, nil, nil, "mount", "-t", "udf", "-o", "loop", args[0], c.global.sourceDir)
if err != nil {
return fmt.Errorf("Failed to mount %q at %q: %w", args[0], c.global.sourceDir, err)
}
Expand Down

0 comments on commit 6b06490

Please sign in to comment.