summaryrefslogtreecommitdiff
path: root/build_stage4.sh
blob: 1af43b3469246ebab5428a0027280344f22d5939 (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
#!/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 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 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 procps-ng bison shadow
inetutils bc kmod linux uinit nasm ucl upx syslinux
net-tools libmnl libnfnetlink
libedit openssh
which
libatomic_ops gc guile make guile2.0 gdb
"

#~ mpfr gawk libmpc binutils gcc glibc

# =>
#~ 
#~  

#~ libunwind strace
#~ argon2
#~ groff
#~ jfsutils
#~ json-c
#~ libcap-ng
#~ libnftnl
#~ libidn2 libnghttp2 libpsl
#~ libpipeline libseccomp man-db man-pages
#~ libmicrohttpd
#~ libssh2
#~ mdadm
#~ nano
#~ npth
#~ popt logrotate
#~ hwids pciutils
#~ keyutils
#~ tcl sqlite libsasl chrpath unixodbc openldap
#~ krb5 libtirpc pam
#~ reiserfsprogs
#~ sysfsutils iputils
#~ s-nail
#~ vi
#~ xfsprogs
#~ psmisc
#~ sudo
#~ autoconf-archive
#~ linux-atm iproute2
#~ python quota-tools perl-xml-parser intltool
#~ re2c python2 ninja
#~ python-pip-bootstrap python-pip
#~ python-pyparsing python-packaging python-appdirs python-six python-setuptools
#~ meson
#~ gperf systemd dbus libusb usbutils libpcap iptables iproute2 util-linux
#~ procps-ng pcmciautils openresolv netctl dhcpcd
#~ mkinitcpio-busybox mkinitcpio
#~ glib2 pkg-config
#~ ldns openssh
#~ zip nspr gyp nss
#~ libaio boost
#~ thin-provisioning-tools lvm2
#~ nasm syslinux
#~ linux linux-firmware
#~ "


#~ stage2:
#~ PACKAGES="
#~            
#~   again: linux, doesn't boot? 
#~           
#~    
#~      
#~ libedit openssh
#~ make mpfr gawk libmpc binutils gcc glibc
#~ libunwind strace gdb
#~ "

# Archlinux base, base-devel groups
#~ argon2 cryptsetup
#~ device-mapper
#~ dhcpcd
#~ gawk
#~ gcc-libs
#~ glibc
#~ iproute2
#~ iputils
#~ jfsutils
#~ licenses
#~ logrotate
#~ lvm2
#~ man-db
#~ man-pages
#~ mdadm
#~ netctl
#~ pciutils
#~ pcmciautils
#~ psmisc
#~ reiserfsprogs
#~ s-nail
#~ sysfsutils
#~ systemd-sysvcompat
#~ usbutils
#~ xfsprogs

#~ binutils
#~ gawk
#~ gcc
#~ groff
#~ make
#~ sudo
#~ systemd

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