aboutsummaryrefslogtreecommitdiffstats
path: root/create_dvd.sh
diff options
context:
space:
mode:
authorAnne Nicolas <ennael@mandriva.org>2010-08-12 12:18:03 +0000
committerAnne Nicolas <ennael@mandriva.org>2010-08-12 12:18:03 +0000
commitcfb91415e66387f22ea80954f8b6be86f6f96bd2 (patch)
tree882dd92d11486613def34c43a575509feb2be5e7 /create_dvd.sh
parentf72daba53a0449a5889d63b59850c5997a24768b (diff)
downloadbcd-cfb91415e66387f22ea80954f8b6be86f6f96bd2.tar
bcd-cfb91415e66387f22ea80954f8b6be86f6f96bd2.tar.gz
bcd-cfb91415e66387f22ea80954f8b6be86f6f96bd2.tar.bz2
bcd-cfb91415e66387f22ea80954f8b6be86f6f96bd2.tar.xz
bcd-cfb91415e66387f22ea80954f8b6be86f6f96bd2.zip
add files for mes5 bcd
Diffstat (limited to 'create_dvd.sh')
-rwxr-xr-xcreate_dvd.sh28
1 files changed, 28 insertions, 0 deletions
diff --git a/create_dvd.sh b/create_dvd.sh
new file mode 100755
index 0000000..8d3a4ea
--- /dev/null
+++ b/create_dvd.sh
@@ -0,0 +1,28 @@
+#!/bin/bash
+
+path32=/home/installeur/mymkcd-cs5/build_bcd/build/MES5-corporate-5.1-i586
+path64=/home/installeur/mymkcd-cs5/build_bcd/build/MES5-corporate-5.1-x86_64
+updates=$HOME/mymkcd-cs5/pieces/updates
+
+case $1 in
+
+ 64) ./bcd.pl mes5_x86_64.xml all noiso
+cp -vf $updates/64/all.rdz $updates/64/vmlinuz $path64/x86_64/isolinux/alt0
+cp -vf $updates/64/bootlogo $path64/x86_64/isolinux
+cp -vf $updates/64/mdkinst.sqfs $path64/x86_64/install/stage2
+
+ ./bcd.pl mes5_x86_64.xml iso
+ ;;
+
+ 32) ./bcd.pl mes5.xml all noiso
+cp -vf $updates/32/all.rdz $updates/32/vmlinuz $path32/i586/isolinux/alt0
+cp -vf $updates/32/bootlogo $path32/i586/isolinux
+cp -vf $updates/32/mdkinst.sqfs $path32/i586/install/stage2
+ ./bcd.pl mes5.xml iso
+ ;;
+
+ *) echo "Enter one argument, this parameter should be either 32 or 64"
+
+esac
+
+