summaryrefslogtreecommitdiff
path: root/build_stage1.sh
blob: 7e625206272793cb38acb2612434674cc8419bd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/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 e2fsprogs
expat bzip2 lz4 xz pcre less gzip tar libarchive curl

sed texinfo grep findutils file diffutils ed patch
kbd procps-ng shadow"

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