連結

News

Ultramarine Linux

bash <(curl -s https://ultramarine-linux.org/migrate.sh)

Fyra Labs

Katsu

fedora bootstrap

fedora-bootstap-notes / scripts / 001 / 02-pre-chroot-setup.sh

# install minimal fedora setup
dnf --releasever=36 --installroot=/mnt -y groupinstall core;

fedora-bootstap-notes / scripts / 002 / 02-pre-chroot-setup.sh

# install minimal fedora setup
dnf --releasever=36 --installroot=/mnt -y groupinstall core;

katsu / src / builder.rs

		info!("Initializing system with dnf");
		crate::run_cmd_prep_chroot!(&chroot,
			$dnf install -y --releasever=$releasever --installroot=$chroot $[packages] $[options] 2>&1;
			$dnf clean all --installroot=$chroot;
		)?;

xorriso

katsu / src / builder.rs

debug!("xorriso -as mkisofs --efi-boot {uefi_bin} -b {bios_bin} -no-emul-boot -boot-load-size 4 -boot-info-table --efi-boot {uefi_bin} -efi-boot-part --efi-boot-image --protective-msdos-label {root} -volid KATSU-LIVEOS -o {image}", root = tree.display(), image = image.display());

mksquashfs

katsu / src / builder.rs

info!("Squashing file system (mksquashfs)");
std::process::Command::new("mksquashfs")
	.arg(chroot)
	.arg(image)
	.args(&sqfs_comp_args)
	.arg("-b")
	.arg("1048576")
	.arg("-noappend")
	.arg("-e")
	.arg("/dev/")
	.arg("-e")
	.arg("/proc/")
	.arg("-e")
	.arg("/sys/")
	.arg("-p")
	.arg("/dev 755 0 0")
	.arg("-p")
	.arg("/proc 755 0 0")
	.arg("-p")
	.arg("/sys 755 0 0")
	.args(&sqfs_extra_args)
	.status()?;

qemu

qemu.sh

Just the Docs