+3
-3
@@ -1,4 +1,4 @@
|
||||
//! Build: mount a podman image, inject /slim/ scripts, and pack the rootfs
|
||||
//! Build: mount a podman image, inject /boco/ scripts, and pack the rootfs
|
||||
//! as a gzipped cpio initrd or qcow2 disk in the registry.
|
||||
|
||||
use anyhow::{Context, Result, bail};
|
||||
@@ -41,7 +41,7 @@ pub(crate) fn build(
|
||||
}: BuildCmd,
|
||||
) -> Result<()> {
|
||||
let image = &name;
|
||||
let container = format!("slim-build-{}", image.replace(':', "-"));
|
||||
let container = format!("boco-build-{}", image.replace(':', "-"));
|
||||
|
||||
let mount_path = mount_container(image, &container)?;
|
||||
println!("Mounted at: {}", mount_path.display());
|
||||
@@ -86,7 +86,7 @@ fn build_inner(
|
||||
config.user.as_deref(),
|
||||
config.working_dir.as_deref(),
|
||||
)?;
|
||||
println!("Injected /slim/ (init + exec)");
|
||||
println!("Injected /boco/ (init + exec)");
|
||||
|
||||
match kind {
|
||||
ImageKind::Initrd => build_initrd(image, mount_path),
|
||||
|
||||
Reference in New Issue
Block a user