diff --git a/.gitignore b/.gitignore index e957bae..4746ec5 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /mkosi-8.tar.gz /mkosi-9.tar.gz /mkosi-10.tar.gz +/mkosi-11.tar.gz diff --git a/mkosi.spec b/mkosi.spec index da05884..2ff3d0e 100644 --- a/mkosi.spec +++ b/mkosi.spec @@ -1,7 +1,7 @@ Name: mkosi -Version: 10 +Version: 11 Release: %autorelease -Summary: Create legacy-free OS images +Summary: Create bespoke OS images License: LGPLv2+ URL: https://github.com/systemd/mkosi @@ -10,6 +10,7 @@ Source0: https://github.com/systemd/mkosi/archive/v%{version}/%{name}-%{v BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: python3-pytest %global recoreq %{?el7:Requires}%{!?el7:Recommends} @@ -36,10 +37,9 @@ A fancy wrapper around "dnf --installroot", "debootstrap" and "pacstrap", that may generate disk images with a number of bells and whistles. -Generated images are "legacy-free". This means only GPT disk labels -(and no MBR disk labels) are supported, and only systemd based images -may be generated. Moreover, for bootable images only EFI systems are -supported (not plain MBR/BIOS). +Generated images are tailed to the purose. This means GPT disk labels +are used by default, though MBR disk labels are supported, and only +systemd based images may be generated. %prep %autosetup -p1 @@ -59,6 +59,8 @@ supported (not plain MBR/BIOS). %_mandir/man1/mkosi.1* %check +%pytest tests/ -v + # just a smoke test for syntax or import errors %buildroot/usr/bin/mkosi --help >/dev/null diff --git a/sources b/sources index cc88e09..9b4a806 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mkosi-10.tar.gz) = 0c90ea784678f39c50868fcbbc76e3e5a2a77da98afcbcca3da0115346df10c00f402dc2db0f02d6b3933960cff971d22c11d830b0f2e63b799942301d507379 +SHA512 (mkosi-11.tar.gz) = c07b092e38e663100cfa00ce58c2b61d306292f69429835915310f9736e11ea1431ae2667e8fca02c2a145aa4f21bd199f956d2882913474c4cee394bb15a8f2