aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnne Nicolas <ennael@mageia.org>2012-05-06 09:34:43 +0000
committerAnne Nicolas <ennael@mageia.org>2012-05-06 09:34:43 +0000
commitf64630d8093d2d9cbd72c3c020b39fdd935ecff1 (patch)
tree82d55e1e832f415a9ead35d6df5051e285b5290f
parent8013bdca64367160791a365999db882d82d6abef (diff)
downloadbcd-f64630d8093d2d9cbd72c3c020b39fdd935ecff1.tar
bcd-f64630d8093d2d9cbd72c3c020b39fdd935ecff1.tar.gz
bcd-f64630d8093d2d9cbd72c3c020b39fdd935ecff1.tar.bz2
bcd-f64630d8093d2d9cbd72c3c020b39fdd935ecff1.tar.xz
bcd-f64630d8093d2d9cbd72c3c020b39fdd935ecff1.zip
add script for dvd build
-rwxr-xr-xcreate_dvd.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/create_dvd.sh b/create_dvd.sh
new file mode 100755
index 0000000..d4a58ae
--- /dev/null
+++ b/create_dvd.sh
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+arch=$1
+distrib=Mageia
+version=2-rc
+homebcd=/home/bcd/build_bcd
+bin=$homebcd/bcd
+pieces=$homebcd/pieces/iso
+build=$homebcd/build/$distrib-$version-$arch
+
+$bin/bcd.pl dvd_free-$arch.xml all noiso
+
+cp -af $pieces/hdt.c32 $build/$arch/isolinux
+cp -af $pieces/message $build/$arch/isolinux/bootlogo
+
+rm -f $build/$arch/install/images/*nonfree*
+
+$bin/bcd.pl dvd_free-$arch.xml iso