This repository has been archived by the owner on Jun 6, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build_stage4.sh
executable file
·100 lines (94 loc) · 3.24 KB
/
build_stage4.sh
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
#!/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 autoconf-archive 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
tcl sqlite postgresql
jsoncpp
libuv rhash shared-mime-info
cmake
jemalloc lzo mariadb libsasl
chrpath unixodbc openldap
keyutils krb5 libtirpc
pam
libcap coreutils util-linux pkg-config e2fsprogs
expat bzip2 lz4 xz pcre less gzip
tar libarchive icu curl
mpdecimal libffi
valgrind nettle libidn libtasn1 p11-kit gnutls libgpg-error libassuan
libksba libgcrypt pinentry
perl-http-daemon perl-socket6 perl-io-socket-inet6 perl-net-ssleay
perl-io-socket-ssl
perl-http-date perl-encode-locale perl-lwp-mediatypes perl-test-needs
perl-uri perl-io-html perl-try-tiny perl-http-message perl-lwp-mediatypes
perl-http-daemon perl-io-socket-ssl
wget
libusb-compat pcsclite npth gnupg gpgme
pacman-mirrorlist archlinux-keyring archlinux32-keyring
sharutils perl-text-charwidth perl-text-wrapi18n
perl-term-readkey perl-sgmls
perl-inc-latest perl-par-dist perl-sub-identify perl-super
perl-module-build perl-test-mockmodule perl-archive-zip
perl-mime-charset libdatrie libthai perl-unicode-linebreak
po4a fakeroot fakechroot
pacman
elfutils sed texinfo grep findutils file diffutils ed patch
check kbd bison shadow
mkinitcpio-busybox mkinitcpio
inetutils bc hwids pciutils kmod linux linux-firmware
uinit nasm ucl upx syslinux
net-tools libmnl libnfnetlink
libedit ldns openssh
which
libatomic_ops gc guile make guile2.0 gdb
libunwind strace
groff libseccomp man-db man-pages
popt logrotate psmisc linux-atm iputils sudo
libcap-ng libidn2 libnghttp2 libpsl libpipeline libmicrohttpd libssh2
argon2 json-c cryptsetup
s-nail quota-tools perl-xml-parser intltool
gperf mdadm
python re2c ninja python2
python-pip python-pyparsing python-packaging python-appdirs python-six
python-setuptools
meson
systemd dbus libusb usbutils
libical alsa-lib bluez libnl
libpcap libnftnl iptables iproute2 util-linux
procps-ng pcmciautils openresolv netctl dhcpcd
desktop-file-utils glib2 pkg-config
jfsutils reiserfsprogs xfsprogs sysfsutils
libaio boost thin-provisioning-tools lvm2
mpfr gawk libmpc binutils gcc glibc
links licenses
nbd rpcbind ding-libs gssproxy nfs-utils
mkinitcpio-nfs-utils mkinitcpio-nbd atftp
zip nspr gyp
arch-install-scripts
lynx dosfstools gtest zstd btrfs-progs squashfs-tools
libburn libisofs libisoburn
haveged intel-ucode memtest86+ zsh dhcp
perl-file-slurp gnu-efi-libs sbsigntools efitools
archiso32-git
oniguruma jq asp rsync
pyalpm python-pyelftools
namcap
"
# nss still fails as in stage 3
for p in $PACKAGES; do
"$SCRIPT_DIR/build_stage4_package.sh" "$p" || exit 1
done