[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[MiNT] CVS Builds
Hello guys,
I think I completed my CVS build script. After it gets done tonight I
have to verify that the resulting archives look proper. If they do then
I'll add the script to cron and daily builds should result. The builds
will begin sometime around 7:30am EST and will end around 11:00am EST
and the files should show up.
They will be available at
http://storage.atari-source.com/atari/mirrors/cvs_builds/
For freemint, I created a script full of commands to build a proper
kernel binary distribution. For convenience for some, I also archive
the source directory after building.
For mintlib, creating a binary distribution is next to impossible. At
least much more hassle than it's worth. You want a proper binary
distribution, use RPM ;-) and build your own ;-) I tar up the mintlib
folder after running make with a prefix of /usr. You will be able to
download this and hit make install.
People who know, please help me verify that these archives look correct.
Here is the build script I came up with:
#!/bin/bash
export CVSROOT=:pserver:cvsanon@sparemint.atariforge.net:/mint
cd freemint
make distclean
cvs update
make
# install
rm -rf ../buildtemp
mkdir ../buildtemp
mkdir ../buildtemp/auto
mkdir ../buildtemp/driver
mkdir ../buildtemp/driver/xif
mkdir ../buildtemp/mint
mkdir ../buildtemp/mint/1-16-0
mkdir ../buildtemp/tools
mkdir ../buildtemp/tools/cops
mkdir ../buildtemp/tools/fsetter
mkdir ../buildtemp/tools/gluestik
mkdir ../buildtemp/tools/lpflush
mkdir ../buildtemp/tools/mgw
mkdir ../buildtemp/tools/mkfatfs
mkdir ../buildtemp/tools/sysctl
mkdir ../buildtemp/tools/toswin2
#
cp -v COPYING* ../buildtemp/
cp -v todo.txt ../buildtemp/
cp -v sys/.compile_000/mint000.prg ../buildtemp/
cp -v sys/.compile_030/mint030.prg ../buildtemp/
cp -v sys/.compile_040/mint040.prg ../buildtemp/
cp -v sys/.compile_ara/mintara.prg ../buildtemp/
cp -v sys/.compile_mil/mintmil.prg ../buildtemp/
cp -vR doc ../buildtemp/
cp -v sys/sockets/xif/*.xif ../buildtemp/driver/xif/
cp -v sys/sockets/xif/*.txt ../buildtemp/driver/xif/
cp -v sys/xdd/audio/audiodev.xdd ../buildtemp/driver/
cp -v sys/xdd/dsp56k.xdd ../buildtemp/driver/
cp -v sys/xdd/flop-raw/flop_raw.xdd ../buildtemp/driver/
cp -v sys/xdd/lp/lp.xdd ../buildtemp/driver/
cp -vR sys/tbl ../buildtemp/mint/1-16-0/
#XaAES
mkdir ../buildtemp/mint/1-16-0/xaaes
cp -v xaaes/src.km/adi/whlmoose/moose.adi
../buildtemp/mint/1-16-0/xaaes/
cp -v xaaes/src.km/xaaes.cnf ../buildtemp/mint/1-16-0/xaaes/
cp -v xaaes/src.km/xaaes.km ../buildtemp/mint/1-16-0/xaaes/
cp -v xaaes/src.km/xaaes.rsc ../buildtemp/mint/1-16-0/xaaes/
cp -v xaaes/src.km/xaaes000.km ../buildtemp/mint/1-16-0/xaaes/
cp -v xaaes/src.km/xaaesdeb.km ../buildtemp/mint/1-16-0/xaaes/
cp -v xaaes/src.km/xaaeswdg.rsc ../buildtemp/mint/1-16-0/xaaes/
cp -v xaaes/src.km/xaloader/xaloader.prg ../buildtemp/mint/1-16-0/xaaes/
#
cp -v sys/sockets/inet4.xdd ../buildtemp/mint/1-16-0/
cp -v sys/xfs/ext2.xfs ../buildtemp/mint/1-16-0/
cp -v sys/xfs/minixfs/minix.xfs ../buildtemp/mint/1-16-0/
cp -v sys/xfs/nfs/nfs.xfs ../buildtemp/mint/1-16-0/
cp -v sys/xdd/mfp/mfp.xdd ../buildtemp/mint/1-16-0/
cp -v sys/xdd/mfp/mfp_mil.xdd ../buildtemp/mint/1-16-0/
cp -v sys/xdd/scc/scc.xdd ../buildtemp/mint/1-16-0/
cp -v sys/xdd/uart/uart.xdd ../buildtemp/mint/1-16-0/
cp -v sys/xdd/xconout2/xconout2.xdd ../buildtemp/mint/1-16-0/
cp -v doc/examples/mint.cnf ../buildtemp/mint/1-16-0/
# TOOLS
# cops
cp -v tools/cops/cops.app ../buildtemp/tools/cops/
cp -v tools/cops/cops_de.app ../buildtemp/tools/cops/
cp -v tools/cops/cops_fr.app ../buildtemp/tools/cops/
# fsetter
cp -v tools/fsetter/fsetter.app ../buildtemp/tools/fsetter/
cp -v tools/fsetter/fsetter.rsc ../buildtemp/tools/fsetter/
cp -v tools/fsetter/fsetter_e.rsc ../buildtemp/tools/fsetter/
# gluestik
cp -v tools/gluestik/gluestik.prg ../buildtemp/tools/gluestik/
cp -v tools/gluestik/README ../buildtemp/tools/gluestik/
cp -v tools/gluestik/LIESMICH ../buildtemp/tools/gluestik/
# lpflush
cp -v tools/lpflush/lpflush ../buildtemp/tools/lpflush/
# mgw
cp -vR tools/mgw/examples ../buildtemp/tools/mgw/
cp -v tools/mgw/mgw.prg ../buildtemp/tools/mgw/
cp -v tools/mgw/README ../buildtemp/tools/mgw/
cp -v tools/mgw/LIESMICH ../buildtemp/tools/mgw/
# mkfatfs
cp -v tools/mkfatfs/mkfatfs ../buildtemp/tools/mkfatfs/
# sysctl
cp -v tools/sysctl/sysctl ../buildtemp/tools/sysctl/
# toswin2
cp -v tools/toswin2/BUGS ../buildtemp/tools/toswin2/
cp -v tools/toswin2/FAQ ../buildtemp/tools/toswin2/
cp -v tools/toswin2/NEWS ../buildtemp/tools/toswin2/
cp -v tools/toswin2/README.terminfo ../buildtemp/tools/toswin2/
cp -v tools/toswin2/toswin2.app ../buildtemp/tools/toswin2/
cp -v tools/toswin2/toswin2.rsc ../buildtemp/tools/toswin2/
cp -v tools/toswin2/tw-call.app ../buildtemp/tools/toswin2/
cp -v tools/toswin2/twterm.src ../buildtemp/tools/toswin2/
####
####
cd ..
cd mintlib
make distclean
cvs update
rm -rf ../mintlib-root
mkdir ../mintlib-root
make prefx=/usr/ HEADER_CLEANUP=no bootsbindir=/sbin
cd ..
#
mv buildtemp `date +%Y.%m.%d`-freemint-cvs
tar zcvf `date +%Y.%m.%d`-freemint-bin.tar.gz `date
+%Y.%m.%d`-freemint-cvs
zip -r `date +%Y.%m.%d`-freemint-bin.zip `date +%Y.%m.%d`-freemint-cvs
tar zcvf `date +%Y.%m.%d`-freemint-cmpsrc.tar.gz freemint
tar zcvf `date +%Y.%m.%d`-mintlib-cmpsrc.tar.gz mintlib
zip -r `date +%Y.%m.%d`-mintlib-cmpsrc.zip mintlib
#
scp *.tar.gz mduckworth@toad:~/build_host/
scp *.zip mduckworth@toad:~/build_host/
Thanks,
Mark