Skip to content

Commit

Permalink
wha
Browse files Browse the repository at this point in the history
  • Loading branch information
madonuko committed Oct 10, 2023
1 parent 8ca4faa commit ec9cee5
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -505,14 +505,9 @@ impl IsoBuilder {
const ISO_TREE: &str = "iso-tree";

impl ImageBuilder for IsoBuilder {
<<<<<<< HEAD
fn build(&self, chroot: &Path, image: &Path, manifest: &Manifest) -> Result<()> {
// let iso_config = manifest.iso.as_ref().expect("A valid ISO configuration");

=======
fn build(&self, chroot: &Path, _: &Path, manifest: &Manifest) -> Result<()> {
let image = PathBuf::from(manifest.out_file.as_ref().map_or("out.iso", |s| s));
>>>>>>> c356b19 (I just don't know)
// Create workspace directory
let workspace = chroot.parent().unwrap().to_path_buf();
debug!("Workspace: {workspace:#?}");
Expand All @@ -536,14 +531,8 @@ impl ImageBuilder for IsoBuilder {
let image = format!("{}/katsu.iso", image.display());
let path = PathBuf::from(image);

<<<<<<< HEAD
self.xorriso(chroot, path.as_path(), manifest)?;
self.bootloader.install(path.as_path())?;
=======
self.xorriso(chroot, &image)?;

self.bootloader.install(&image)?;
>>>>>>> c356b19 (I just don't know)

Ok(())
}
Expand Down

0 comments on commit ec9cee5

Please sign in to comment.