|
|
@ -5,6 +5,7 @@ mod config;
|
|
|
|
mod dirs;
|
|
|
|
mod dirs;
|
|
|
|
mod error;
|
|
|
|
mod error;
|
|
|
|
mod files;
|
|
|
|
mod files;
|
|
|
|
|
|
|
|
mod os_release;
|
|
|
|
mod skel;
|
|
|
|
mod skel;
|
|
|
|
mod util;
|
|
|
|
mod util;
|
|
|
|
|
|
|
|
|
|
|
@ -38,7 +39,7 @@ fn main() -> error::MkrootResult<()> {
|
|
|
|
d.push("lib64");
|
|
|
|
d.push("lib64");
|
|
|
|
files::Files::set_linker_permissions(&files.lib64s, &d, config.verbose)?;
|
|
|
|
files::Files::set_linker_permissions(&files.lib64s, &d, config.verbose)?;
|
|
|
|
|
|
|
|
|
|
|
|
if let Err(e) = files::os_release(&config) {
|
|
|
|
if let Err(e) = os_release::os_release(&config) {
|
|
|
|
return Err(error::MkrootError::from(format!(
|
|
|
|
return Err(error::MkrootError::from(format!(
|
|
|
|
"Error creating etc/os-release: {}",
|
|
|
|
"Error creating etc/os-release: {}",
|
|
|
|
e
|
|
|
|
e
|
|
|
|