Skip to content

Commit

Permalink
- Updated IsoMaker.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
tgiphil committed Dec 7, 2014
1 parent e32a1c5 commit 0cf75a8
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions source/Cosmos.Build.Common/IsoMaker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,13 @@ static public void Generate(string aBuildPath, string xInputPathname, string aIs
File.Delete(aIsoPathname);
}

//// We copy and rename in the process to Cosmos.bin becaue the .cfg is currently
//// hardcoded to Cosmos.bin.
//string xOutputBin = Path.Combine(xPath, "Cosmos.bin");
//File.Copy(xInputPathname, xOutputBin, true);

string xIsoLinux = Path.Combine(xPath, "isolinux.bin");
File.SetAttributes(xIsoLinux, FileAttributes.Normal);

var xPSI = new ProcessStartInfo(
Path.Combine(CosmosPaths.Tools, "mkisofs.exe"),
String.Format("-R -b \"{0}\" -no-emul-boot -boot-load-size 4 -boot-info-table -o \"{1}\" .",
xIsoLinux,
aIsoPathname)
String.Format("-R -b \"{0}\" -no-emul-boot -boot-load-size 4 -boot-info-table -o \"{1}\" \"{2}\"",
xIsoLinux, aIsoPathname, xPath)
);
xPSI.UseShellExecute = false;
xPSI.CreateNoWindow = true;
Expand Down

0 comments on commit 0cf75a8

Please sign in to comment.