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

. "./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 inetutils e2fsprogs
expat bzip2 lz4 xz pcre less gzip tar libarchive curl
elfutils
sed texinfo grep findutils file diffutils ed patch
kbd procps-ng shadow
bc linux
net-tools libmnl libnfnetlink iptables iproute2
libedit openssh"

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