From aa819f948f2887c6d2ed4210bbec157dc851e674 Mon Sep 17 00:00:00 2001 From: Florian Wilhelm <52838694+fwilhe2@users.noreply.github.com> Date: Wed, 27 Sep 2023 15:26:21 +0200 Subject: [PATCH] mkosi: add page (#10721) Co-authored-by: Jack Lin Co-authored-by: K.B.Dharun Krishna Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --- pages/linux/mkosi.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pages/linux/mkosi.md diff --git a/pages/linux/mkosi.md b/pages/linux/mkosi.md new file mode 100644 index 000000000..608b3bbc1 --- /dev/null +++ b/pages/linux/mkosi.md @@ -0,0 +1,25 @@ +# mkosi + +> Tool for building modern, legacy-free Linux images. +> Part of `systemd`. +> More information: . + +- Show current build configuration to verify what would be built: + +`mkosi summary` + +- Build an image with default settings (if no distribution is selected, the distribution of the host system is used): + +`mkosi build --distribution {{fedora|debian|ubuntu|arch|opensuse|...}}` + +- Build an image and run an interactive shell in a systemd-nspawn container of the image: + +`mkosi shell` + +- Boot an image in a virtual machine using QEMU (only supported for disk images or CPIO images when a kernel is provided): + +`mkosi qemu` + +- Display help: + +`mkosi help`