aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnne Nicolas <ennael@mageia.org>2012-10-15 07:05:25 +0000
committerAnne Nicolas <ennael@mageia.org>2012-10-15 07:05:25 +0000
commit669da1d79600a05be1649c2459e1ce830fa7b882 (patch)
tree978d289b7d165c211055a2559723e8cd6e2ecd66
parent7e4d699626fc09e1d60936080fe8b14a6f743389 (diff)
downloadbcd-669da1d79600a05be1649c2459e1ce830fa7b882.tar
bcd-669da1d79600a05be1649c2459e1ce830fa7b882.tar.gz
bcd-669da1d79600a05be1649c2459e1ce830fa7b882.tar.bz2
bcd-669da1d79600a05be1649c2459e1ce830fa7b882.tar.xz
bcd-669da1d79600a05be1649c2459e1ce830fa7b882.zip
DVD and dual build script
-rwxr-xr-xcreate_dual.sh13
-rwxr-xr-xcreate_dvd.sh4
2 files changed, 12 insertions, 5 deletions
diff --git a/create_dual.sh b/create_dual.sh
index 60012e2..858dda4 100755
--- a/create_dual.sh
+++ b/create_dual.sh
@@ -1,8 +1,8 @@
#!/bin/sh
DISTRIB=Mageia
-TAG=manon
-VERSION=2
+TAG=vanda
+VERSION=3-alpha2
SUPPORT=dual-CD
VV=1
MEDIAMAIN=media/core
@@ -12,7 +12,7 @@ BUILDPATH="$HOME/build_bcd/build/$DISTRIB-$VERSION-$SUPPORT"
BUILDISOPATH="$HOME/build_bcd/iso/$DISTRIB-$VERSION-$SUPPORT"
# genisoimage options
-AGENISO="$DISTRIB - 2 rc"
+AGENISO="$DISTRIB - 2 alpha 1"
PUBLISHER="Mageia.Org"
SYSID="$PUBLISHER"
TOOL="$SYSID BCD"
@@ -64,6 +64,11 @@ do
cat $OLDBUILDPATH-$i/$i/pkg-$VERSION-$TAG.idx >> $BUILDPATH/$DISTRIB-$VERSION-$SUPPORT.idx
done
+# rename isolinux strings
+mv $BUILDPATH/isolinux $BUILDPATH/syslinux
+mv $BUILDPATH/syslinux/isolinux.cfg $BUILDPATH/syslinux/syslinux.cfg
+mv $BUILDPATH/syslinux/isolinux.bin $BUILDPATH/syslinux/syslinux.bin
+
# build iso
genisoimage -f -r -J -hide-rr-moved -nobak -cache-inodes -no-emul-boot -boot-load-size 4 \
-A "$AGENISO" \
@@ -73,7 +78,7 @@ genisoimage -f -r -J -hide-rr-moved -nobak -cache-inodes -no-emul-boot -boot-loa
-volset "$VOLSET" \
-V "$VOLUME" \
-o "$BUILDISOPATH/$DISTRIB-$VERSION-$SUPPORT.iso" \
- -b isolinux/isolinux.bin \
+ -b syslinux/syslinux.bin \
-boot-info-table \
-quiet \
$BUILDPATH/
diff --git a/create_dvd.sh b/create_dvd.sh
index 6202e42..b797bde 100755
--- a/create_dvd.sh
+++ b/create_dvd.sh
@@ -2,7 +2,7 @@
arch=$1
distrib=Mageia
-version=2
+version=3-alpha2
homebcd=/home/bcd/build_bcd
bin=$homebcd/bcd
pieces=$homebcd/pieces/iso
@@ -12,7 +12,9 @@ $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
+cp -af $homebcd/pieces/$version/$arch/isolinux/isolinux-$arch.bin $build/$arch/isolinux
rm -f $build/$arch/install/images/*nonfree*
$bin/bcd.pl dvd_free-$arch.xml iso
+date > $homebcd/iso/$distrib-$version-$arch/DATE.txt