Line 12... |
Line 12... |
12 |
BUILDIDX=/root/fdnpkg-buildidx/buildidx
|
12 |
BUILDIDX=/root/fdnpkg-buildidx/buildidx
|
13 |
CDISODIR='/srv/www/svarog386.viste.fr/'
|
13 |
CDISODIR='/srv/www/svarog386.viste.fr/'
|
14 |
CDROOT='/root/svarog386/cdroot'
|
14 |
CDROOT='/root/svarog386/cdroot'
|
15 |
CDROOTNOSRC='/root/svarog386/cdrootnosrc'
|
15 |
CDROOTNOSRC='/root/svarog386/cdrootnosrc'
|
16 |
CDROOTMICRO='/root/svarog386/cdrootmicro'
|
16 |
CDROOTMICRO='/root/svarog386/cdrootmicro'
|
- |
|
17 |
CUSTFILES='/root/svarog386/files'
|
17 |
|
18 |
|
18 |
### parameters block ends here ##############################################
|
19 |
### parameters block ends here ##############################################
|
19 |
|
20 |
|
20 |
# remember where we are, so we can return there once all is done
|
21 |
# remember where we are, so we can return there once all is done
|
21 |
origdir=`pwd`
|
22 |
origdir=`pwd`
|
Line 23... |
Line 24... |
23 |
# clone the repositories into future 'no source' versions
|
24 |
# clone the repositories into future 'no source' versions
|
24 |
echo "cloning $REPOROOT to $REPOROOTNOSRC..."
|
25 |
echo "cloning $REPOROOT to $REPOROOTNOSRC..."
|
25 |
rsync -a --delete $REPOROOT $REPOROOTNOSRC
|
26 |
rsync -a --delete $REPOROOT $REPOROOTNOSRC
|
26 |
if [ $? -ne 0 ] ; then exit 1 ; fi
|
27 |
if [ $? -ne 0 ] ; then exit 1 ; fi
|
27 |
|
28 |
|
- |
|
29 |
# build the boot floppy image first
|
- |
|
30 |
cp $CUSTFILES/bootmini.img $CDROOT/boot.img
|
- |
|
31 |
mcopy -i $CDROOT/boot.img $CUSTFILES/install.com ::/INSTALL.COM
|
- |
|
32 |
mcopy -i $CDROOT/boot.img $CUSTFILES/autoexec.bat ::/AUTOEXEC.BAT
|
- |
|
33 |
mcopy -i $CDROOT/boot.img $CUSTFILES/config.sys ::/CONFIG.SYS
|
- |
|
34 |
mcopy -i $CDROOT/boot.img $CUSTFILES/display.exe ::/DISPLAY.EXE
|
- |
|
35 |
mcopy -i $CDROOT/boot.img $CUSTFILES/fdnpkg.cfg ::/FDNPKG.CFG
|
- |
|
36 |
mcopy -i $CDROOT/boot.img $CUSTFILES/mode.com ::/MODE.COM
|
- |
|
37 |
mcopy -i $CDROOT/boot.img $CUSTFILES/ega.cpx ::/EGA.CPX
|
- |
|
38 |
mcopy -i $CDROOT/boot.img $CUSTFILES/ega2.cpx ::/EGA2.CPX
|
- |
|
39 |
mcopy -i $CDROOT/boot.img $CUSTFILES/ega3.cpx ::/EGA3.CPX
|
- |
|
40 |
mcopy -i $CDROOT/boot.img $CUSTFILES/ega4.cpx ::/EGA4.CPX
|
- |
|
41 |
mcopy -i $CDROOT/boot.img $CUSTFILES/ega5.cpx ::/EGA5.CPX
|
- |
|
42 |
mcopy -i $CDROOT/boot.img $CUSTFILES/ega6.cpx ::/EGA6.CPX
|
- |
|
43 |
mcopy -i $CDROOT/boot.img $CUSTFILES/ega7.cpx ::/EGA7.CPX
|
- |
|
44 |
mcopy -i $CDROOT/boot.img $CUSTFILES/ega8.cpx ::/EGA8.CPX
|
- |
|
45 |
mcopy -i $CDROOT/boot.img $CUSTFILES/ega9.cpx ::/EGA9.CPX
|
- |
|
46 |
mcopy -i $CDROOT/boot.img $CUSTFILES/ega10.cpx ::/EGA10.CPX
|
- |
|
47 |
mmd -i $CDROOT/boot.img ::/NLS
|
- |
|
48 |
mcopy -i $CDROOT/boot.img $CUSTFILES/nls/*.* ::/NLS/
|
- |
|
49 |
|
28 |
# sync the boot.img file from full version to nosrc and micro
|
50 |
# sync the boot.img file from full version to nosrc and micro
|
29 |
cp $CDROOT/boot.img $CDROOTNOSRC/
|
51 |
cp $CDROOT/boot.img $CDROOTNOSRC/
|
30 |
if [ $? -ne 0 ] ; then exit 1 ; fi
|
52 |
if [ $? -ne 0 ] ; then exit 1 ; fi
|
31 |
cp $CDROOT/boot.img $CDROOTMICRO/
|
53 |
cp $CDROOT/boot.img $CDROOTMICRO/
|
32 |
if [ $? -ne 0 ] ; then exit 1 ; fi
|
54 |
if [ $? -ne 0 ] ; then exit 1 ; fi
|