blob: ad2507e4a0b1f5489104b2f145949f96815776cb (
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
|
#!/bin/sh
# shellcheck source=./default.conf
. "./default.conf"
# build all packages for stage 3 using the target system with stage 2
# packages. packages will be installed with pacman onto the target
# system once built sucessfully. The artifacts are also copied back
# to the $STAGE3_PACKAGES to speed up rebuild of the state of the stage 3
# system in case of destroying it.
PACKAGES="iana-etc filesystem linux-api-headers tzdata
ncurses readline bash joe
attr acl m4 gmp gdbm db perl openssl
libunistring gettext perl-locale-gettext help2man
autoconf automake perl-error pcre2 git libtool
zlib pambase cracklib flex libcap
e2fsprogs expat bzip2 lz4 xz pcre less gzip
tar libarchive
icu
mpdecimal libffi
elfutils sed texinfo grep findutils file diffutils ed patch
fakeroot
bison
inetutils bc kmod
net-tools libmnl
libedit
mpfr gawk libmpc binutils gcc
libunwind strace
argon2
which
"
#~ stage2:
#~
#
# git problem, not base of base-devel, but needed to checkout out via
# https+git protocoll. For now using the stage2 one
#
# libxml2: python2 and python as makedepends
#~ libxslt: libxml2 libgcrypt python2
#~ xmlto: libxslt docbook-xsl
#~ git: python2 emacs libgnome-keyring xmlto asciidoc
#~
#~ libsasl: postgresql-libs libmariadbclient libldap krb5
#~ libldap: libsasl
#~ krb5: e2fsprogs libldap keyutils
#~ libtirpc: krb5
#~ pam: w3m docbook-xml docbook-xsl
#~ coreutils
#~ util-linux:
#~ pkg-config: glib2
#~ libxml2: icu
#~ libxslt: libxml2
#~ libidn2 publicsuffix-list icu
#~ libpsl: libidn2 libunistring libxslt python
#~ curl: ca-certificates krb5 libssh2 libpsl libnghttp2
#~ python: expat bzip2 gdbm openssl libffi zlib
#~ linux build full with mkinitcpio and modules
#~ gdb: python guile2.0
#~ pacman-mirrorlist archlinux-keyring archlinux32-keyring pacman
#~ => kbd procps-ng <bison> shadow
#~ <inetutils> <bc> <kmod> linux
#~ <net-tools> <libmnl> <libnfnetlink> iptables iproute2
#~ <libedit> openssh
#~ make <mpfr> <gawk> <libmpc> <binutils> <gcc> glibc
#~ <libunwind> <strace> gdb
#~ "
#~ #TODO after nasm: syslinux
# stage3 (from compute_dependencies.sh)
#~ ca-certificates-cacert: ca-certificates-utils
#~ coreutils: glibc acl attr gmp libcap openssl
#~ cracklib: glibc zlib
#~ cryptsetup: device-mapper libgcrypt popt libutil-linux json-c argon2
#~ dbus: libsystemd expat
#~ dhcpcd: glibc sh udev libsystemd
#~ diffutils: glibc bash
#~ e2fsprogs: sh libutil-linux
#~ elfutils: gcc-libs zlib bzip2 xz
#~ fakeroot: glibc filesystem sed util-linux sh
#~ file: glibc zlib
#~ findutils: glibc sh
#~ flex: glibc m4 sh
#~ gc: gcc-libs libatomic_ops
#~ glib2: pcre libffi libutil-linux zlib
#~ gmp: gcc-libs sh
#~ gnupg: npth libgpg-error libgcrypt libksba libassuan pinentry bzip2 readline gnutls sqlite
#~ gnutls: gcc-libs libtasn1 readline zlib nettle p11-kit libidn libunistring
#~ groff: perl gcc-libs
#~ guile: gmp libltdl ncurses texinfo libunistring gc libffi
#~ guile2.0: gmp libltdl ncurses texinfo libunistring gc libffi
#~ iptables: glibc bash libnftnl libpcap
#~ iputils: openssl sysfsutils libcap libidn
#~ jfsutils: util-linux
#~ json-c: glibc
#~ kbd: glibc pam
#~ keyutils: glibc sh
#~ ldns: openssl dnssec-anchors
#~ libarchive: acl attr bzip2 expat lz4 openssl xz zlib
#~ libassuan: libgpg-error
#~ libatomic_ops: glibc
#~ libcap: glibc attr
#~ libcap-ng: glibc
#~ libedit: ncurses
#~ libgcrypt: libgpg-error
#~ libgpg-error: glibc sh
#~ libidn: glibc
#~ libksba: bash libgpg-error glibc
#~ libmpc: mpfr
#~ libnfnetlink: glibc
#~ libnftnl: libmnl
#~ libnghttp2: glibc
#~ libnl: glibc
#~ libpcap: glibc libnl sh libusbx dbus
#~ libpipeline: glibc
#~ libseccomp: glibc
#~ libsecret: glib2 libgcrypt
#~ libssh2: openssl
#~ libtasn1: glibc
#~ libtirpc: krb5
#~ libusb: glibc libsystemd
#~ logrotate: popt gzip acl
#~ make: glibc guile
#~ man-db: bash gdbm zlib groff libpipeline less libseccomp
#~ mdadm: glibc
#~ mkinitcpio: awk mkinitcpio-busybox kmod util-linux libarchive coreutils bash findutils grep filesystem gzip systemd
#~ nano: ncurses file sh
#~ netctl: coreutils iproute2 openresolv systemd
#~ nettle: gmp
#~ openresolv: bash
#~ openssh: krb5 openssl libedit ldns
#~ p11-kit: glibc libtasn1 libffi
#~ pacman: bash glibc libarchive curl gpgme pacman-mirrorlist archlinux-keyring
#~ pam: glibc cracklib libtirpc pambase
#~ pciutils: glibc hwids kmod
#~ pcmciautils: systemd
#~ pinentry: ncurses libcap libassuan libsecret
#~ pkg-config: glib2
#~ popt: glibc
#~ procps-ng: ncurses libsystemd
#~ psmisc: ncurses
#~ reiserfsprogs: util-linux
#~ s-nail: openssl krb5 libidn
#~ shadow: bash pam acl
#~ sudo: glibc libgcrypt pam libldap
#~ sysfsutils: glibc
#~ thin-provisioning-tools: expat gcc-libs libaio
#~ usbutils: libusb hwids
#~ vi: ncurses
#~ xfsprogs: sh libutil-linux readline
#~ base cryptsetup
#~ base device-mapper
#~ base dhcpcd
#~ base iputils
#~ base jfsutils
#~ base licenses
#~ base logrotate
#~ base lvm2
#~ base man-db
#~ base man-pages
#~ base mdadm
#~ base nano
#~ base netctl
#~ base pciutils
#~ base pcmciautils
#~ base psmisc
#~ base reiserfsprogs
#~ base s-nail
#~ base systemd-sysvcompat
#~ base usbutils
#~ base vi
#~ base xfsprogs
#~ base-devel groff
#~ base-devel sudo
#~ base-devel systemd
for p in $PACKAGES; do
"$SCRIPT_DIR/build_stage3_package.sh" "$p" || exit 1
done
|