diff --git a/mkosi.spec b/mkosi.spec index b2f6205..75863fd 100644 --- a/mkosi.spec +++ b/mkosi.spec @@ -12,7 +12,6 @@ BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros BuildRequires: python3-pytest BuildRequires: binutils -BuildRequires: python3dist(pexpect) BuildRequires: pandoc # for tests BuildRequires: systemd @@ -26,35 +25,51 @@ BuildRequires: systemd Requires: bubblewrap Requires: systemd-repart >= 254 -%{recoreq}: systemd-container >= 254 +# for systemd-nspawn +%{recoreq}: systemd-container >= 254 +# for the --acl option to allow removing directories generated by mkosi +%{recoreq}: acl %{recoreq}: binutils %{recoreq}: e2fsprogs %{recoreq}: gnupg -%{recoreq}: squashfs-tools +# for when kernels are installed and we need to run depmod +%{recoreq}: kmod +# for secure boot signing +%{recoreq}: openssl +# also for secure boot signing +%{recoreq}: sbsigntools +# for Format=tar or when building debian/ubuntu images %{recoreq}: tar %{recoreq}: veritysetup %{recoreq}: xz %if 0%{?el7} == 0 -Recommends: arch-install-scripts +# for debian/ubuntu images +Recommends: apt +# to create btrfs file systems Recommends: btrfs-progs +# for Format=cpio or when using mkosi to build bootable images with mkosi's default initrd Recommends: cpio -Recommends: debootstrap +# for building centos/fedora/openmandriva/mageia/opensuse images Recommends: (dnf5 or dnf) -Recommends: dosfstools +# for mkosi qemu Recommends: edk2-ovmf Recommends: python3dist(argcomplete) Recommends: python3dist(cryptography) +# for QemuSwtpm= to add a software tpm when running qemu +Recommends: swtpm +# for output compression Recommends: zstd +# for opensuse images +Recommends: zypper %else Recommends: dnf %endif %description -A fancy wrapper around "dnf --installroot", "debootstrap", "pacman", "zypper", -"emerge", and "swupd-extract" that may generate disk images with a number of -bells and whistles. +A fancy wrapper around "dnf --installroot", "apt-get", "pacman", "zypper", and +"emerge" that may generate disk images with a number of bells and whistles. Generated images are tailored to the purpose. This means GPT disk labels are used and only systemd-based images may be generated.