From f64630d8093d2d9cbd72c3c020b39fdd935ecff1 Mon Sep 17 00:00:00 2001 From: Anne Nicolas Date: Sun, 6 May 2012 09:34:43 +0000 Subject: add script for dvd build --- create_dvd.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 create_dvd.sh 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 -- cgit v1.2.1