Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/build_stage4.sh
blob: 0e3f159206538889ce7cbe4cf2f28b838833eb1b (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
#!/bin/sh

# shellcheck source=./default.conf
. "./default.conf"

# build all packages for stage 4 using the target system with stage 3
# packages.  packages will be installed with pacman onto the target
# system once built sucessfully. The artifacts are also copied back
# to the $STAGE4_PACKAGES to speed up rebuild of the state of the stage 4
# system in case of destroying it.

PACKAGES="iana-etc filesystem linux-api-headers tzdata
ncurses readline bash joe nano vi
libxml2 emacs-nox
attr acl m4 gmp gdbm db perl openssl
libunistring gettext perl-locale-gettext help2man
autoconf tcl expect dejagnu cscope automake
perl-test-pod perl-devel-symdump perl-pod-coverage
perl-test-pod-coverage perl-error pcre2
docbook-xml libxslt docbook-xsl xmlto asciidoc git
libtool
zlib pambase cracklib libtirpc flex gpm w3m pam
libcap coreutils
"

#~ stage2:
#~ PACKAGES="
#~ util-linux pkg-config e2fsprogs expat bzip2 lz4 xz pcre less gzip
#~ tar libarchive curl
#~ pacman-mirrorlist archlinux-keyring archlinux32-keyring pacman
#~ elfutils sed texinfo grep findutils file diffutils ed patch
#~ fakeroot
#~ kbd procps-ng bison shadow
#~ inetutils bc kmod linux uinit nasm 
#~ net-tools libmnl libnfnetlink iptables iproute2
#~ libedit openssh
#~ make mpfr gawk libmpc binutils gcc glibc
#~ libunwind strace gdb
#~ "

# Archlinux base, base-devel groups
#~ bzip2
#~ cryptsetup
#~ device-mapper
#~ dhcpcd
#~ diffutils
#~ e2fsprogs
#~ file
#~ findutils
#~ gawk
#~ gcc-libs
#~ gcc-libs
#~ glibc
#~ grep
#~ gzip
#~ inetutils
#~ iproute2
#~ iputils
#~ jfsutils
#~ less
#~ licenses
#~ linux
#~ logrotate
#~ lvm2
#~ man-db
#~ man-pages
#~ mdadm
#~ netctl
#~ pacman
#~ pciutils
#~ pcmciautils
#~ procps-ng
#~ psmisc
#~ reiserfsprogs
#~ s-nail
#~ sed
#~ shadow
#~ sysfsutils
#~ systemd-sysvcompat
#~ tar
#~ texinfo
#~ usbutils
#~ util-linux
#~ which
#~ xfsprogs

#~ automake
#~ binutils
#~ bison
#~ fakeroot
#~ file
#~ findutils
#~ gawk
#~ gcc
#~ gettext
#~ grep
#~ groff
#~ gzip
#~ make
#~ pacman
#~ patch
#~ pkg-config
#~ sed
#~ sudo
#~ systemd
#~ texinfo
#~ util-linux
#~ which

for p in $PACKAGES; do
	"$SCRIPT_DIR/build_stage4_package.sh" "$p" || exit 1
done