Add unmounting message

parent 7ef2567d
......@@ -137,6 +137,8 @@ fn with_redoxfs<P, T, F>(disk_path: &P, bootloader: &[u8], callback: F)
fn package_files(config: &mut Config, files: &mut Vec<String>) -> io::Result<()> {
//TODO: Remove packages from config where all files are located (and have valid shasum?)
for entry_res in fs::read_dir("file:/pkg")? {
let entry = entry_res?;
let path = entry.path();
......@@ -286,11 +288,11 @@ fn main() {
eprintln!("finished copying {} files", files.len());
// Packages will be copied locally, not installed from package server
let cookbook: Option<&'static str> = None;
redox_installer::install(config, mount_path, cookbook)
redox_installer::install(config, mount_path, cookbook)?;
eprintln!("finished installing, unmounting filesystem");
if let Err(err) = res {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment