Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/install_host.sh
blob: d531a4b0d244f5cd12f526b8202489c7c1c46272 (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
#!/bin/sh

# Install necessary tools

. "./default.conf"

# development stuff
pacman --noconfirm --needed -S base-devel

# for working and checking out tarballs via git, zip, etc.
pacman --noconfirm --needed -S sudo screen git asp wget unzip

# for crosstool-ng
pacman --noconfirm --needed -S gperf help2man

# for uname-hack
pacman --noconfirm --needed -S linux-headers

# for arch-chroot
pacman --noconfirm --needed -S arch-install-scripts

# for linux kernel
pacman --noconfirm --needed -S bc

# for pam
pacman --noconfirm --needed -S flex

# for a bootable ISO image
pacman --noconfirm --needed -S syslinux cdrtools

# some packages come from the AUR
if test "$(grep -c '\[archlinuxfr\]' /etc/pacman.conf)" = 0; then
	cat >> /etc/pacman.conf <<EOF
[archlinuxfr]
Server = http://repo.archlinux.fr/\$arch
SigLevel = Optional DatabaseOptional
EOF

	pacman --noconfirm -Syy
	pacman --noconfirm -S --needed yaourt
fi

echo "Host ready."