aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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