forked from brl/citadel-tools
Compare commits
2 Commits
421b0e27d7
...
b7e6ee3b3c
Author | SHA1 | Date | |
---|---|---|---|
b7e6ee3b3c | |||
4fc3fb55db |
@ -70,7 +70,7 @@ fn deploy_artifacts() -> Result<()> {
|
|||||||
let run_images = Path::new(IMAGE_DIRECTORY);
|
let run_images = Path::new(IMAGE_DIRECTORY);
|
||||||
if !run_images.exists() {
|
if !run_images.exists() {
|
||||||
util::create_dir(run_images)?;
|
util::create_dir(run_images)?;
|
||||||
cmd!("/bin/mount", "-t tmpfs -o size=4g images /run/citadel/images")?;
|
cmd!("/bin/mount", "-t tmpfs -o size=5g images /run/citadel/images")?;
|
||||||
}
|
}
|
||||||
|
|
||||||
util::read_directory("/boot/images", |dent| {
|
util::read_directory("/boot/images", |dent| {
|
||||||
|
@ -425,7 +425,7 @@ impl Installer {
|
|||||||
util::create_dir(&home)?;
|
util::create_dir(&home)?;
|
||||||
util::chown_user(&home)?;
|
util::chown_user(&home)?;
|
||||||
|
|
||||||
self.info("Copying /realms/skel into home diectory")?;
|
self.info("Copying /realms/skel into home directory")?;
|
||||||
util::copy_tree(&self.storage().join("realms/skel"), &home)?;
|
util::copy_tree(&self.storage().join("realms/skel"), &home)?;
|
||||||
|
|
||||||
if let Some(scheme) = Base16Scheme::by_name(MAIN_TERMINAL_SCHEME) {
|
if let Some(scheme) = Base16Scheme::by_name(MAIN_TERMINAL_SCHEME) {
|
||||||
@ -452,7 +452,7 @@ impl Installer {
|
|||||||
util::create_dir(&path)?;
|
util::create_dir(&path)?;
|
||||||
util::chown_user(&path)?;
|
util::chown_user(&path)?;
|
||||||
|
|
||||||
self.info("Copying /realms/skel into home diectory")?;
|
self.info("Copying /realms/skel into home directory")?;
|
||||||
util::copy_tree(&self.storage().join("realms/skel"), &home)?;
|
util::copy_tree(&self.storage().join("realms/skel"), &home)?;
|
||||||
|
|
||||||
self.info("Creating apt-cacher config file")?;
|
self.info("Creating apt-cacher config file")?;
|
||||||
|
Loading…
Reference in New Issue
Block a user