diff --git a/initfs/.gitignore b/initfs/.gitignore deleted file mode 100644 index 2b9c6e3e30..0000000000 --- a/initfs/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -Cargo.lock -# TODO: Maybe use an OUT_DIR environment variable, or mktemp, rather than -# writing directly to the git repository root? -/out.img diff --git a/initfs/tools/out.img b/initfs/tools/out.img deleted file mode 100644 index 13de974a37..0000000000 Binary files a/initfs/tools/out.img and /dev/null differ diff --git a/initfs/tools/tests/archive_and_read.rs b/initfs/tools/tests/archive_and_read.rs index 1a7d8b5365..42ec0079b9 100644 --- a/initfs/tools/tests/archive_and_read.rs +++ b/initfs/tools/tests/archive_and_read.rs @@ -75,7 +75,7 @@ fn archive_and_read() -> Result<()> { env_logger::init(); let args = redox_initfs_tools::Args { - destination_path: Path::new("out.img"), + destination_path: &Path::new(env!("CARGO_TARGET_TMPDIR")).join("out.img"), source: Path::new("data"), bootstrap_code: None, max_size: redox_initfs_tools::DEFAULT_MAX_SIZE,