From e8d854a1718e65f421325d5af2f6f38830e8329b Mon Sep 17 00:00:00 2001 From: able Date: Sat, 8 Jul 2023 23:21:27 -0500 Subject: [PATCH] REPBUILD: Fix disk.img generation --- repbuild/src/main.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/repbuild/src/main.rs b/repbuild/src/main.rs index 4ca31da1..1424038d 100644 --- a/repbuild/src/main.rs +++ b/repbuild/src/main.rs @@ -11,13 +11,13 @@ fn main() -> Result<(), Error> { let mut args = std::env::args(); args.next(); - let disk_meta = fs::metadata("target/disk.img").unwrap(); - let config_meta = fs::metadata("system.toml").unwrap(); + // let disk_meta = fs::metadata("target/disk.img").unwrap(); + // let config_meta = fs::metadata("system.toml").unwrap(); - if disk_meta.modified().unwrap() < config_meta.modified().unwrap() { - // TODO: work on adding in system.toml support - // TODO: rebuild the disk - } + // if disk_meta.modified().unwrap() < config_meta.modified().unwrap() { + // // TODO: work on adding in system.toml support + // // TODO: rebuild the disk + // } match args.next().as_deref() { Some("build" | "b") => {