mirror of
https://linux.maple.camp/git/ahill/maplelinux-bootstrap.git
synced 2026-02-11 10:13:35 +00:00
Removed bsdutils and its dependencies to fix rootbuild
This commit is contained in:
14
rootbuild.sh
14
rootbuild.sh
@@ -9,8 +9,9 @@ export CXXFLAGS=$CFLAGS
|
||||
cd /maple
|
||||
treetap build sources/xz/xz.spec
|
||||
cd .treetap/sources/xz/*/*/xz-*/
|
||||
echo "Bootstrapping xz"
|
||||
echo -n "Bootstrapping xz... "
|
||||
make -j $(nproc) install DESTDIR=/ > /dev/null 2>&1
|
||||
echo "Done!"
|
||||
|
||||
# libarchive Build
|
||||
# NOTE: bsdcpio is needed to run "treetap package", so we manually install.
|
||||
@@ -18,23 +19,24 @@ make -j $(nproc) install DESTDIR=/ > /dev/null 2>&1
|
||||
cd /maple
|
||||
treetap build sources/libarchive/libarchive.spec
|
||||
cd .treetap/sources/libarchive/*/*/libarchive-*/
|
||||
echo "Bootstrapping libarchive"
|
||||
echo -n "Bootstrapping libarchive... "
|
||||
make -j $(nproc) install DESTDIR=/ > /dev/null 2>&1
|
||||
echo "Done!"
|
||||
|
||||
# Now we can build stuff exclusively with treetap
|
||||
# NOTE: bzip2 needs to be built before Busybox ~ahill
|
||||
# NOTE: bzip2, xz, and zlib need to be built before libarchive or we will be
|
||||
# missing functionality! ~ahill
|
||||
# NOTE: CMake requires LibreSSL and libarchive to function properly so it is
|
||||
# built after them. ~ahill
|
||||
# NOTE: mold requires CMake to build. ~ahill
|
||||
# NOTE: flex requires byacc and m4 to build. ~ahill
|
||||
# NOTE: editline requires ncurses to build. ~ahill
|
||||
# NOTE: autoconf requires GNU m4 and perl to build. ~ahill
|
||||
# NOTE: automake requires m4 to build. ~ahill
|
||||
# NOTE: musl-fts requires autoconf, automake, and libtool to build. ~ahill
|
||||
# NOTE: bsdutils requires musl-fts and muon to build. ~ahill
|
||||
# NOTE: groff requires Perl to build. ~ahill
|
||||
# NOTE: nasm requires autoconf and automake to build. ~ahill
|
||||
cd /maple
|
||||
PACKAGES="busybox byacc bzip2 groff libressl m4 make muon musl nasm ncurses perl pkgconf xz zlib autoconf automake editline flex libarchive libtool musl-fts bsdutils cmake mold"
|
||||
PACKAGES="bzip2 busybox byacc libressl m4 make muon musl perl pkgconf xz zlib autoconf automake flex groff libarchive libtool nasm cmake mold"
|
||||
for pkg in $PACKAGES; do
|
||||
treetap fetch /maple/sources/$pkg/$pkg.spec
|
||||
treetap build /maple/sources/$pkg/$pkg.spec
|
||||
|
||||
Reference in New Issue
Block a user