summaryrefslogtreecommitdiff
path: root/build_stage1.sh
blob: 2f9606a12ed3fe69a66e076b843d146cf3facfb3 (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
#!/bin/sh

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

# build all packages for stage 1 using the cross-compiler
# packages will be installed with pacman into $STAGE1_CHROOT, dependencies
# for cross-compiling packages will be installed with bsdtar into
# the sysroot of the specific cross compiler in $XTOOLS_ARCH

PACKAGES="iana-etc filesystem linux-api-headers tzdata
ncurses readline bash joe
attr acl gmp gdbm db perl openssl
zlib pambase cracklib libtirpc pam libcap coreutils
util-linux 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 shadow
inetutils bc kmod linux uinit nasm syslinux
net-tools libmnl libnfnetlink iptables iproute2
libedit openssh
make mpfr gawk libmpc binutils gcc glibc
libunwind strace gdb"

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