summaryrefslogtreecommitdiff
path: root/build_stage3.sh
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-02-25 21:14:09 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-02-25 21:14:09 +0100
commitb4cf5d6e1197c8076b94131ef2495c6d5c6fb89a (patch)
treeb1503402e30c8ef9bd9089bdbf614e70da8baf00 /build_stage3.sh
parent2d2dc3a222e422e49082e0031ac53118c1957a7e (diff)
downloadbootstrap32-b4cf5d6e1197c8076b94131ef2495c6d5c6fb89a.tar.xz
building most unproblematic packages in stage3
Diffstat (limited to 'build_stage3.sh')
-rwxr-xr-xbuild_stage3.sh139
1 files changed, 78 insertions, 61 deletions
diff --git a/build_stage3.sh b/build_stage3.sh
index d1e60cd..3a3f15f 100755
--- a/build_stage3.sh
+++ b/build_stage3.sh
@@ -6,98 +6,111 @@
# build all packages for stage 3 using the target system with stage 2
# packages. packages will be installed with pacman onto the target
# system once built sucessfully. The artifacts are also copied back
-# to the $STAGE3_PACKAGES to speed up rebuild of the state of the stage 2
+# to the $STAGE3_PACKAGES to speed up rebuild of the state of the stage 3
# system in case of destroying it.
PACKAGES="iana-etc filesystem linux-api-headers tzdata
ncurses readline bash joe
-attr acl"
+attr acl m4 gmp gdbm db perl openssl
+libunistring gettext perl-locale-gettext help2man
+autoconf automake perl-error pcre2 git libtool
+zlib pambase cracklib flex libcap
+e2fsprogs expat bzip2 lz4 xz pcre less gzip
+tar libarchive
+icu
+mpdecimal libffi
+elfutils sed texinfo grep findutils file diffutils ed patch
+fakeroot
+bison
+inetutils bc kmod
+net-tools libmnl
+libedit
+argon2
+which
+"
#~ stage2:
-#~
-#~ m4 gmp gdbm db perl openssl
-#~ libunistring gettext perl-locale-gettext help2man
-#~ autoconf automake perl-error pcre2 git libtool
-#~ zlib pambase cracklib libtirpc flex pam libcap coreutils
-#~ util-linux pkg-config 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 bison shadow
-#~ inetutils bc kmod linux uinit nasm
-#~ net-tools libmnl libnfnetlink iptables iproute2
-#~ libedit openssh
+#~
+#
+# git problem, not base of base-devel, but needed to checkout out via
+# https+git protocoll. For now using the stage2 one
+#
+# libxml2: python2 and python as makedepends
+#~ libxslt: libxml2 libgcrypt python2
+#~ xmlto: libxslt docbook-xsl
+#~ git: python2 emacs libgnome-keyring xmlto asciidoc
+#~
+#~ libsasl: postgresql-libs libmariadbclient libldap krb5
+#~ libldap: libsasl
+#~ krb5: e2fsprogs libldap keyutils
+#~ libtirpc: krb5
+
+#~ pam: w3m docbook-xml docbook-xsl
+#~ coreutils
+#~ util-linux:
+#~ pkg-config: glib2
+
+#~ libxml2: icu
+#~ libxslt: libxml2
+#~ libidn2 publicsuffix-list icu
+#~ libpsl: libidn2 libunistring libxslt python
+#~ curl: ca-certificates krb5 libssh2 libpsl libnghttp2
+
+#~ python: expat bzip2 gdbm openssl libffi zlib
+
+#~ linux build full with mkinitcpio and modules
+
+#~ pacman-mirrorlist archlinux-keyring archlinux32-keyring pacman
+#~ => kbd procps-ng <bison> shadow
+#~ <inetutils> <bc> <kmod> linux
+#~ <net-tools> <libmnl> <libnfnetlink> iptables iproute2
+#~ <libedit> openssh
#~ make mpfr gawk libmpc binutils gcc glibc
#~ libunwind strace gdb
#~ "
#~ #TODO after nasm: syslinux
# stage3 (from compute_dependencies.sh)
-#~ argon2: glibc
-#~ autoconf: awk m4 diffutils sh
-#~ automake: perl bash
-#~ bash: readline glibc ncurses
-#~ bc: readline
#~ binutils: glibc zlib
-#~ bison: glibc m4 sh
-#~ bzip2: glibc sh
#~ ca-certificates-cacert: ca-certificates-utils
#~ coreutils: glibc acl attr gmp libcap openssl
#~ cracklib: glibc zlib
#~ cryptsetup: device-mapper libgcrypt popt libutil-linux json-c argon2
-#~ curl: ca-certificates krb5 libssh2 openssl zlib libpsl libnghttp2
-#~ db: gcc-libs sh
#~ dbus: libsystemd expat
#~ dhcpcd: glibc sh udev libsystemd
#~ diffutils: glibc bash
#~ e2fsprogs: sh libutil-linux
-#~ ed: glibc sh
#~ elfutils: gcc-libs zlib bzip2 xz
-#~ expat: glibc
#~ fakeroot: glibc filesystem sed util-linux sh
#~ file: glibc zlib
#~ findutils: glibc sh
#~ flex: glibc m4 sh
#~ gawk: sh glibc mpfr
#~ gc: gcc-libs libatomic_ops
-#~ gdbm: glibc sh
-#~ gettext: gcc-libs acl sh glib2 libunistring
#~ glib2: pcre libffi libutil-linux zlib
#~ gmp: gcc-libs sh
#~ gnupg: npth libgpg-error libgcrypt libksba libassuan pinentry bzip2 readline gnutls sqlite
#~ gnutls: gcc-libs libtasn1 readline zlib nettle p11-kit libidn libunistring
-#~ grep: glibc pcre
#~ groff: perl gcc-libs
#~ guile: gmp libltdl ncurses texinfo libunistring gc libffi
#~ guile2.0: gmp libltdl ncurses texinfo libunistring gc libffi
-#~ gzip: glibc bash less
-#~ inetutils: pam libcap
-#~ iproute2: glibc iptables libelf
#~ iptables: glibc bash libnftnl libpcap
#~ iputils: openssl sysfsutils libcap libidn
#~ jfsutils: util-linux
-#~ joe: ncurses
#~ json-c: glibc
#~ kbd: glibc pam
#~ keyutils: glibc sh
-#~ kmod: glibc zlib xz
-#~ krb5: e2fsprogs libldap keyutils
#~ ldns: openssl dnssec-anchors
-#~ less: glibc ncurses pcre
#~ libarchive: acl attr bzip2 expat lz4 openssl xz zlib
#~ libassuan: libgpg-error
#~ libatomic_ops: glibc
#~ libcap: glibc attr
#~ libcap-ng: glibc
#~ libedit: ncurses
-#~ libffi: glibc
#~ libgcrypt: libgpg-error
#~ libgpg-error: glibc sh
#~ libidn: glibc
-#~ libidn2: libunistring
#~ libksba: bash libgpg-error glibc
-#~ libmnl: glibc
#~ libmpc: mpfr
#~ libnfnetlink: glibc
#~ libnftnl: libmnl
@@ -105,66 +118,70 @@ attr acl"
#~ libnl: glibc
#~ libpcap: glibc libnl sh libusbx dbus
#~ libpipeline: glibc
-#~ libpsl: libidn2 libunistring
#~ libseccomp: glibc
#~ libsecret: glib2 libgcrypt
#~ libssh2: openssl
#~ libtasn1: glibc
#~ libtirpc: krb5
-#~ libtool: sh tar glibc
-#~ libunistring: glibc
#~ libunwind: glibc xz
#~ libusb: glibc libsystemd
#~ logrotate: popt gzip acl
-#~ lz4: glibc
-#~ m4: glibc bash
#~ make: glibc guile
#~ man-db: bash gdbm zlib groff libpipeline less libseccomp
#~ mdadm: glibc
#~ mkinitcpio: awk mkinitcpio-busybox kmod util-linux libarchive coreutils bash findutils grep filesystem gzip systemd
#~ mpfr: gmp
#~ nano: ncurses file sh
-#~ nasm: glibc
-#~ ncurses: glibc gcc-libs
-#~ net-tools: glibc
#~ netctl: coreutils iproute2 openresolv systemd
#~ nettle: gmp
#~ openresolv: bash
#~ openssh: krb5 openssl libedit ldns
-#~ openssl: perl
#~ p11-kit: glibc libtasn1 libffi
#~ pacman: bash glibc libarchive curl gpgme pacman-mirrorlist archlinux-keyring
#~ pam: glibc cracklib libtirpc pambase
-#~ patch: glibc attr
#~ pciutils: glibc hwids kmod
#~ pcmciautils: systemd
-#~ pcre: gcc-libs readline zlib bzip2 bash
-#~ pcre2: gcc-libs readline zlib bzip2 bash
-#~ perl: gdbm db glibc
#~ pinentry: ncurses libcap libassuan libsecret
#~ pkg-config: glib2
#~ popt: glibc
#~ procps-ng: ncurses libsystemd
#~ psmisc: ncurses
-#~ python: expat bzip2 gdbm openssl libffi zlib
-#~ readline: glibc ncurses libncursesw.so
#~ reiserfsprogs: util-linux
#~ s-nail: openssl krb5 libidn
-#~ sed: glibc acl attr
#~ shadow: bash pam acl
#~ strace: perl libunwind
#~ sudo: glibc libgcrypt pam libldap
#~ sysfsutils: glibc
-#~ tar: glibc acl attr
-#~ texinfo: ncurses gzip perl sh
#~ thin-provisioning-tools: expat gcc-libs libaio
#~ usbutils: libusb hwids
#~ vi: ncurses
-#~ which: glibc bash
#~ xfsprogs: sh libutil-linux readline
-#~ xz: sh
-#~ zlib: glibc
+#~ base cryptsetup
+#~ base device-mapper
+#~ base dhcpcd
+#~ base iputils
+#~ base jfsutils
+#~ base licenses
+#~ base logrotate
+#~ base lvm2
+#~ base man-db
+#~ base man-pages
+#~ base mdadm
+#~ base nano
+#~ base netctl
+#~ base pciutils
+#~ base pcmciautils
+#~ base psmisc
+#~ base reiserfsprogs
+#~ base s-nail
+#~ base systemd-sysvcompat
+#~ base usbutils
+#~ base vi
+#~ base xfsprogs
+#~ base-devel groff
+#~ base-devel sudo
+#~ base-devel systemd
for p in $PACKAGES; do
"$SCRIPT_DIR/build_stage3_package.sh" "$p" || exit 1