REPBUILD: Fix disk.img generation
This commit is contained in:
parent
06868b516f
commit
e8d854a171
|
@ -11,13 +11,13 @@ fn main() -> Result<(), Error> {
|
||||||
let mut args = std::env::args();
|
let mut args = std::env::args();
|
||||||
args.next();
|
args.next();
|
||||||
|
|
||||||
let disk_meta = fs::metadata("target/disk.img").unwrap();
|
// let disk_meta = fs::metadata("target/disk.img").unwrap();
|
||||||
let config_meta = fs::metadata("system.toml").unwrap();
|
// let config_meta = fs::metadata("system.toml").unwrap();
|
||||||
|
|
||||||
if disk_meta.modified().unwrap() < config_meta.modified().unwrap() {
|
// if disk_meta.modified().unwrap() < config_meta.modified().unwrap() {
|
||||||
// TODO: work on adding in system.toml support
|
// // TODO: work on adding in system.toml support
|
||||||
// TODO: rebuild the disk
|
// // TODO: rebuild the disk
|
||||||
}
|
// }
|
||||||
|
|
||||||
match args.next().as_deref() {
|
match args.next().as_deref() {
|
||||||
Some("build" | "b") => {
|
Some("build" | "b") => {
|
||||||
|
|
Loading…
Reference in a new issue