Merge pull request #51 from fosslinux/part-numbering

Change the part numbering system
This commit is contained in:
fosslinux 2021-02-28 08:05:51 +11:00 committed by GitHub
commit 9f92dd2fb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 508 additions and 438 deletions

View file

@ -18,13 +18,13 @@ incdir=${prefix}/include
MES_PREFIX=${prefix}/mes/src/mes
GUILE_LOAD_PATH=${prefix}/mes/src/nyacc/module:${prefix}/mes/src/mes/mes/module:${prefix}/mes/src/mes/module
# Part 2: cp and chown (mescc-tools-extra)
# cp and chown (mescc-tools-extra)
pkg="mescc-tools-extra"
cd ${pkg}
kaem --file ${pkg}.kaem
cd ..
# Part 3: Remove remaining dependencies on / (root of /after)
# Remove remaining dependencies on / (root of /after)
cp ../bin/hex2 bin/hex2
cp ../bin/M1 bin/M1
cp ../bin/M2-Planet bin/M2-Planet
@ -38,92 +38,92 @@ chmod 755 bin/hex2 bin/M1 bin/M2-Planet bin/blood-elf \
fletcher16 mescc-tools-seed-checksums
PATH=/after/bin
# Part 5: mes
# mes
pkg="mes"
cd ${pkg}
kaem --file ${pkg}.kaem
cd ..
# Part 6: tcc 0.9.26
# tcc 0.9.26
pkg="tcc-0.9.26"
cd ${pkg}
kaem --file ${pkg}.kaem
cd ..
# Part 7: tcc 0.9.27
# tcc 0.9.27
pkg="tcc-0.9.27"
cd ${pkg}
kaem --file ${pkg}.kaem
cd ..
# Part 8: sed
# sed
pkg="sed-4.0.7"
cd ${pkg}
kaem --file ${pkg}.kaem
cd ..
# Part 9: tar
# tar
pkg="tar-1.12"
cd ${pkg}
kaem --file ${pkg}.kaem
cd ..
# Part 10: gzip
# gzip
pkg="gzip-1.2.4"
cd ${pkg}
kaem --file ${pkg}.kaem
cd ..
# Part 11: patch
# patch
pkg="patch-2.5.9"
cd ${pkg}
kaem --file ${pkg}.kaem
cd ..
# Part 12: sha-2
# sha-2
pkg="sha-2-61555d"
cd ${pkg}
kaem --file ${pkg}.kaem
cd ..
# Part 12a: Check all up to this part as sha256sum
# Check all up to this part as sha256sum
sha256sum -c pre-sha.sha256sums
# Part 13: mes-libc-patched
# mes-libc-patched
cd tcc-0.9.27
kaem --file mes-libc-patched.kaem
cd ..
# Part 14: tcc-patched
# tcc-patched
cd tcc-0.9.27
kaem --file tcc-patched.kaem
cd ..
# Part 15: make
# make
pkg="make-3.80"
cd ${pkg}
kaem --file ${pkg}.kaem
cd ..
# Part 16: bzip2
# bzip2
pkg="bzip2-1.0.8"
cd ${pkg}
kaem --file ${pkg}.kaem
cd ..
# Part 17: coreutils
# coreutils
pkg="coreutils-5.0"
cd ${pkg}
kaem --file ${pkg}.kaem
cd ..
# Part 18: heirloom-devtools
# heirloom-devtools
pkg="heirloom-devtools-070527"
cd ${pkg}
kaem --file ${pkg}.kaem
cd ..
# Part 19: bash
# bash
pkg="bash-2.05b"
cd ${pkg}
kaem --file ${pkg}.kaem

View file

@ -12,60 +12,47 @@ set -e
export PREFIX=/after
# Part 20
build flex-2.5.11
# Part 21
build musl-1.1.24 musl-1.1.24.sh checksums/pass1
# Part 22
# Rebuild tcc using musl
build tcc-0.9.27 tcc-musl-pass1.sh checksums/tcc-musl-pass1
# Part 23
# Rebuild musl using tcc-musl
build musl-1.1.24 musl-1.1.24.sh checksums/pass2
# Part 24
# Rebuild tcc-musl using new musl
build tcc-0.9.27 tcc-musl-pass2.sh checksums/tcc-musl-pass2
# Part 25
# Rebuild bzip2 using musl
build bzip2-1.0.8 bzip2-1.0.8.sh checksums/bzip2-pass2
# Part 26
build m4-1.4.7
# Part 27
build flex-2.6.4
# Part 28
build bison-3.4.1 stage1.sh checksums/stage1
build bison-3.4.1 stage2.sh checksums/stage2
build bison-3.4.1 stage3.sh checksums/stage3
# Part 29
build grep-2.4
# Part 30
build diffutils-2.7
# Part 31
# Rebuild coreutils using musl
build coreutils-5.0 coreutils-5.0.sh checksums/pass2
# Part 32
build gawk-3.0.4
# Part 33
build perl-5.000
# Part 34
build perl-5.003
# Part 35
build perl5.004_05
# Part 36
build perl5.005_03
# Part 37
build perl-5.6.2
echo "Bootstrapping completed."