From: Daan De Meyer Date: Mon, 16 Jan 2023 09:38:11 +0000 (+0100) Subject: Fix man page to mention apt requirement on host X-Git-Tag: v15~363 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb1a431a9b0aa1f00af7206ccf70be420d22d483;p=thirdparty%2Fmkosi.git Fix man page to mention apt requirement on host --- diff --git a/mkosi.md b/mkosi.md index b96f2fb06..b99a7ef5c 100644 --- a/mkosi.md +++ b/mkosi.md @@ -1140,14 +1140,12 @@ following operating systems: In theory, any distribution may be used on the host for building images containing any other distribution, as long as the necessary tools are available. Specifically, any distribution that packages -`debootstrap` may be used to build *Debian* or *Ubuntu* images. Any -distribution that packages `dnf` may be used to build *Fedora Linux*, -*Mageia* or *OpenMandriva* images. Any distro that packages `pacman` may be used to -build *Arch Linux* images. Any distribution that packages `zypper` may -be used to build *openSUSE* images. Any distribution that packages -`yum` (or the newer replacement `dnf`) may be used to build *CentOS*, *Rocky Linux*, -or *Alma Linux* images. Any distribution that packages `emerge` may be used to build -*Gentoo* images. +`debootstrap` and `apt` may be used to build *Debian* or *Ubuntu* images. Any +distribution that packages `dnf` may be used to build *CentOS*, *Alma Linux*, +*Rocky Linux*, *Fedora Linux*, *Mageia* or *OpenMandriva* images. Any distro +that packages `pacman` may be used to build *Arch Linux* images. Any distribution +that packages `zypper` may be used to build *openSUSE* images. Any distribution +that packages `emerge` may be used to build *Gentoo* images. Currently, *Fedora Linux* packages all relevant tools as of Fedora 28. @@ -1590,12 +1588,12 @@ When not using distribution packages make sure to install the necessary dependencies. For example, on *Fedora Linux* you need: ```bash -dnf install btrfs-progs debootstrap dosfstools mtools edk2-ovmf e2fsprogs squashfs-tools gnupg python3 tar xfsprogs xz zypper sbsigntools +dnf install btrfs-progs apt debootstrap dosfstools mtools edk2-ovmf e2fsprogs squashfs-tools gnupg python3 tar xfsprogs xz zypper sbsigntools ``` On Debian/Ubuntu it might be necessary to install the `ubuntu-keyring`, `ubuntu-archive-keyring` and/or `debian-archive-keyring` packages explicitly, -in addition to `debootstrap`, depending on what kind of distribution images +in addition to `apt` and `debootstrap`, depending on what kind of distribution images you want to build. `debootstrap` on Debian only pulls in the Debian keyring on its own, and the version on Ubuntu only the one from Ubuntu.