blob: ae5fc046b49b42d5d42b24f7487b5b0eaee02819 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
Name: arch-install-scripts
Version: 28
Release: 1
Summary: Scripts to bootstrap Arch Linux distribution
License: GPLv2
URL: https://github.com/archlinux/arch-install-scripts
Source0: https://github.com/archlinux/arch-install-scripts/archive/refs/tags/v28.tar.gz
BuildArch: noarch
BuildRequires: m4
BuildRequires: asciidoc
BuildRequires: make
Requires: archlinux-keyring
Requires: pacman
%description
A small suite of scripts aimed at automating some menial tasks when installing
Arch Linux, most notably including actually performing the installation.
To install and launch Arch in a container:
pacman-key --init
pacman-key --populate archlinux
mkdir -p /var/lib/machines/arch
pacstrap -G -M -i -c /var/lib/machines/arch base
systemd-nspawn -bD /var/lib/machines/arch
%prep
%setup -q
%build
%make_build PREFIX=%{_prefix}
%install
%make_install PREFIX=%{_prefix}
%check
make check
%files
%license COPYING
%{_bindir}/arch-chroot
%{_bindir}/genfstab
%{_bindir}/pacstrap
%{_datadir}/bash-completion/completions/arch-chroot
%{_datadir}/bash-completion/completions/genfstab
%{_datadir}/bash-completion/completions/pacstrap
%dir %{_datadir}/zsh/site-functions
%{_datadir}/zsh/site-functions/_archinstallscripts
%{_mandir}/man8/arch-chroot.8*
%{_mandir}/man8/genfstab.8*
%{_mandir}/man8/pacstrap.8*
%changelog
* Thu Jul 20 2023 misaka00251 <liuxin@iscas.ac.cn> - 28-1
- Init package
|