mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-18 01:05:24 +01:00
Switch to using mes/nyacc tar packages.
This commit is contained in:
parent
7ff2de94c5
commit
40f40ea850
10 changed files with 77 additions and 104 deletions
|
|
@ -8,57 +8,62 @@
|
|||
|
||||
set -ex
|
||||
|
||||
PATH=/after/bin:/bin
|
||||
PATH=/bin
|
||||
|
||||
# Set commonly used variables
|
||||
prefix=/after
|
||||
bindir=${prefix}/bin
|
||||
libdir=${prefix}/lib
|
||||
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
|
||||
NYACC_PKG=nyacc-1.00.2
|
||||
MES_PKG=mes
|
||||
MES_PREFIX=${prefix}/${MES_PKG}/src/mes-m2-a7522f26ee020dc498219d0122ea1b7d345bcdd5
|
||||
GUILE_LOAD_PATH=${MES_PREFIX}/mes/module:${MES_PREFIX}/module:${prefix}/${MES_PKG}/src/${NYACC_PKG}/module
|
||||
|
||||
cd ${prefix}
|
||||
|
||||
mkdir ${bindir}
|
||||
|
||||
# Remove remaining dependencies on / (root of /after)
|
||||
cp ../bin/blood-elf bin/blood-elf
|
||||
cp ../bin/catm bin/catm
|
||||
cp ../bin/chmod bin/chmod
|
||||
cp ../bin/get_machine bin/get_machine
|
||||
cp ../bin/hex2 bin/hex2
|
||||
cp ../bin/kaem bin/kaem
|
||||
cp ../bin/M1 bin/M1
|
||||
cp ../bin/M2-Planet bin/M2-Planet
|
||||
cp ../bin/mes-m2 bin/mes-m2
|
||||
cp ../bin/sha256sum bin/sha256sum
|
||||
cp ../bin/ungz bin/ungz
|
||||
cp ../bin/untar bin/untar
|
||||
cp /bin/blood-elf bin/blood-elf
|
||||
cp /bin/catm bin/catm
|
||||
cp /bin/chmod bin/chmod
|
||||
cp /bin/get_machine bin/get_machine
|
||||
cp /bin/hex2 bin/hex2
|
||||
cp /bin/kaem bin/kaem
|
||||
cp /bin/M1 bin/M1
|
||||
cp /bin/M2-Planet bin/M2-Planet
|
||||
cp /bin/mkdir bin/mkdir
|
||||
cp /bin/sha256sum bin/sha256sum
|
||||
cp /bin/ungz bin/ungz
|
||||
cp /bin/untar bin/untar
|
||||
|
||||
/bin/cp /bin/cp /after/bin/cp
|
||||
cp /bin/cp /after/bin/cp
|
||||
|
||||
/bin/chmod 755 bin/blood-elf
|
||||
/bin/chmod 755 bin/catm
|
||||
/bin/chmod 755 bin/chmod
|
||||
/bin/chmod 755 bin/cp
|
||||
/bin/chmod 755 bin/get_machine
|
||||
/bin/chmod 755 bin/hex2
|
||||
/bin/chmod 755 bin/kaem
|
||||
/bin/chmod 755 bin/M1
|
||||
/bin/chmod 755 bin/M2-Planet
|
||||
/bin/chmod 755 bin/mes-m2
|
||||
/bin/chmod 755 bin/sha256sum
|
||||
/bin/chmod 755 bin/ungz
|
||||
/bin/chmod 755 bin/untar
|
||||
|
||||
sha256sum -c stage0-posix-checksums
|
||||
chmod 755 bin/blood-elf
|
||||
chmod 755 bin/catm
|
||||
chmod 755 bin/chmod
|
||||
chmod 755 bin/cp
|
||||
chmod 755 bin/get_machine
|
||||
chmod 755 bin/hex2
|
||||
chmod 755 bin/kaem
|
||||
chmod 755 bin/M1
|
||||
chmod 755 bin/M2-Planet
|
||||
chmod 755 bin/mkdir
|
||||
chmod 755 bin/sha256sum
|
||||
chmod 755 bin/ungz
|
||||
chmod 755 bin/untar
|
||||
|
||||
PATH=/after/bin
|
||||
|
||||
# Needed for patch to work
|
||||
mkdir /tmp
|
||||
|
||||
# mes
|
||||
pkg="mes"
|
||||
pkg=${MES_PKG}
|
||||
cd ${pkg}
|
||||
kaem --file ${pkg}.kaem
|
||||
cd ..
|
||||
cd ${prefix}
|
||||
|
||||
# tcc 0.9.26
|
||||
pkg="tcc-0.9.26"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue