|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
Name: mkosi
|
|
Zbigniew Jędrzejewski-Szmek |
308e06 |
Version: 4
|
|
Zbigniew Jędrzejewski-Szmek |
10a7ce |
Release: 2%{?dist}
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
Summary: Create legacy-free OS images
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
License: LGPLv2+
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
URL: https://github.com/systemd/mkosi
|
|
Zbigniew Jędrzejewski-Szmek |
308e06 |
Source0: https://github.com/systemd/mkosi/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
Zbigniew Jędrzejewski-Szmek |
10a7ce |
Patch0001: 0001-Check-architecture-lazily.patch
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
BuildArch: noarch
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
Requires: python3 >= 3.5
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
# for subprocess.run
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
|
|
Zbigniew Jędrzejewski-Szmek |
7b200f |
Recommends: dnf
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
Recommends: debootstrap
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
Recommends: arch-install-scripts
|
|
Zbigniew Jędrzejewski-Szmek |
7b200f |
Recommends: edk2-ovmf
|
|
Zbigniew Jędrzejewski-Szmek |
7b200f |
Recommends: gnupg
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
Recommends: xz
|
|
Zbigniew Jędrzejewski-Szmek |
7b200f |
Recommends: tar
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
Recommends: btrfs-progs
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
Recommends: dosfstools
|
|
Zbigniew Jędrzejewski-Szmek |
7b200f |
Recommends: squashfs-tools
|
|
Zbigniew Jędrzejewski-Szmek |
7b200f |
Recommends: veritysetup
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
%description
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
A fancy wrapper around "dnf --installroot", "debootstrap" and
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
"pacstrap", that may generate disk images with a number of bells and
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
whistles.
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
Generated images are "legacy-free". This means only GPT disk labels
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
(and no MBR disk labels) are supported, and only systemd based images
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
may be generated. Moreover, for bootable images only EFI systems are
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
supported (not plain MBR/BIOS).
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
%prep
|
|
Zbigniew Jędrzejewski-Szmek |
10a7ce |
%autosetup -p1
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
%build
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
# no build required
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
%install
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
# It's just one file, and setup.py install would copy useless .egg-info
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
install -Dpt %{buildroot}%{_bindir}/ mkosi
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
%files
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
%license LICENSE
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
%doc README.md
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
%_bindir/mkosi
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
|
|
Zbigniew Jędrzejewski-Szmek |
6ded5c |
%check
|
|
Zbigniew Jędrzejewski-Szmek |
6ded5c |
# just a smoke test for syntax or import errors
|
|
Zbigniew Jędrzejewski-Szmek |
6ded5c |
%buildroot/usr/bin/mkosi --help
|
|
Zbigniew Jędrzejewski-Szmek |
6ded5c |
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
%changelog
|
|
Zbigniew Jędrzejewski-Szmek |
10a7ce |
* Sat Feb 10 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 4-2
|
|
Zbigniew Jędrzejewski-Szmek |
308e06 |
- Update to latest version (#1544123)
|
|
Zbigniew Jędrzejewski-Szmek |
308e06 |
|
|
Fedora Release Engineering |
733497 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2-3
|
|
Fedora Release Engineering |
733497 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
Fedora Release Engineering |
733497 |
|
|
Fedora Release Engineering |
fc965d |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2-2
|
|
Fedora Release Engineering |
fc965d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
Fedora Release Engineering |
fc965d |
|
|
Zbigniew Jędrzejewski-Szmek |
bbd0a1 |
* Fri Jun 23 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2-1
|
|
Zbigniew Jędrzejewski-Szmek |
bbd0a1 |
- Update to latest version (#1464285)
|
|
Zbigniew Jędrzejewski-Szmek |
bbd0a1 |
|
|
Fedora Release Engineering |
831ac4 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1-3
|
|
Fedora Release Engineering |
831ac4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
Fedora Release Engineering |
831ac4 |
|
|
Miro Hrončok |
7a15e5 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1-2
|
|
Miro Hrončok |
7a15e5 |
- Rebuild for Python 3.6
|
|
Miro Hrončok |
7a15e5 |
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
* Thu Nov 3 2016 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1-1
|
|
Zbigniew Jędrzejewski-Szmek |
4cdaf1 |
- Initial version
|