aboutsummaryrefslogtreecommitdiffstats
path: root/create_dual.sh
diff options
context:
space:
mode:
authorMageia SVN-Git Migration <svn-git-migration@mageia.org>2011-10-29 13:51:03 +0100
committerMageia SVN-Git Migration <svn-git-migration@mageia.org>2011-10-29 13:51:03 +0100
commitdf535a121225f56f65396b80150e7622fea6b9ae (patch)
tree0e456898ddddad7c0b26f8aab4b0ffba1d63b575 /create_dual.sh
parente653ea2e7bba20f2891c6b91c96ecfd8b3925324 (diff)
downloadbcd-df535a121225f56f65396b80150e7622fea6b9ae.tar
bcd-df535a121225f56f65396b80150e7622fea6b9ae.tar.gz
bcd-df535a121225f56f65396b80150e7622fea6b9ae.tar.bz2
bcd-df535a121225f56f65396b80150e7622fea6b9ae.tar.xz
bcd-df535a121225f56f65396b80150e7622fea6b9ae.zip
Synthesized commit during git-svn import combining previous Mandriva history with Magiea.
This commit consitsts of the following subversion commits: ------------------------------------------------------------------------ r2105 | ennael | 2011-10-29 13:51:03 +0100 (Sat, 29 Oct 2011) | 2 lines import bcd files for trunk (Mageia 2 alpha 1) ------------------------------------------------------------------------
Diffstat (limited to 'create_dual.sh')
-rwxr-xr-xcreate_dual.sh40
1 files changed, 20 insertions, 20 deletions
diff --git a/create_dual.sh b/create_dual.sh
index 410467c..5a1cbf4 100755
--- a/create_dual.sh
+++ b/create_dual.sh
@@ -1,21 +1,21 @@
#!/bin/sh
-DISTRIB=mandriva-linux-free
-TAG=farman
-VERSION=2010-spring
-VV=2010.1
-MEDIAMAIN=media/main
-PIECES=/mnt/pieces/pieces/
+DISTRIB=mageia-dual
+TAG=valstar
+VERSION=1
+VV=1
+MEDIAMAIN=media/core
+PIECES="$HOME/build_bcd/pieces"
BUILDPATH="$HOME/build_bcd/build/$DISTRIB-$VERSION"
BUILDISOPATH="$HOME/build_bcd/iso/$DISTRIB-$VERSION"
# genisoimage options
-AGENISO="$DISTRIB - 2010 Spring (Free)"
-PUBLISHER="Mandriva"
-SYSID="$PUBLISHER Linux"
+AGENISO="$DISTRIB - 1"
+PUBLISHER="Mageia.Org"
+SYSID="$PUBLISHER"
TOOL="$SYSID BCD"
-VOLSET="$SYSID 2010 Spring (Free) - DUAL CD"
-VOLUME="FREE-2010S-DUAL"
+VOLSET="$SYSID $DISTRIB - $VERSION"
+VOLUME="$DISTRIB-$VERSION"
./bcd.pl dual.xml all copy noiso nodoble
@@ -94,8 +94,8 @@ EOF
#cp -avf $HOME/bcd/compssUsers.pl $HOME/build_bcd/build/mandriva-linux-free-dual-$TAG-$VERSION/i586/media/media_info/compssUsers.pl
#cp -avf $HOME/bcd/compssUsers.pl $HOME/build_bcd/build/mandriva-linux-free-dual-$TAG-$VERSION/x86_64/media/media_info/compssUsers.pl
-cat $BUILDPATH-i586/i586/pkg-$VERSION-$TAG.idx >> $BUILDPATH/$DISTRIB-$VERSION-dual.idx
-cat $BUILDPATH-x86_64/x86_64/pkg-$VERSION-$TAG.idx >> $BUILDPATH/$DISTRIB-$VERSION-dual.idx
+cat $BUILDPATH-i586/i586/pkg-$VERSION-$TAG.idx >> $BUILDPATH/$DISTRIB-$VERSION.idx
+cat $BUILDPATH-x86_64/x86_64/pkg-$VERSION-$TAG.idx >> $BUILDPATH/$DISTRIB-$VERSION.idx
genisoimage -f -r -J -hide-rr-moved -nobak -cache-inodes -no-emul-boot -boot-load-size 4 \
-A "$AGENISO"
@@ -104,16 +104,16 @@ genisoimage -f -r -J -hide-rr-moved -nobak -cache-inodes -no-emul-boot -boot-loa
-p "$TOOL" \
-volset "$VOLSET" \
-V "$VOLUME" \
- -o "$BUILDPATH/$DISTRIB-dual.iso" \
+ -o "$BUILDISOPATH/$DISTRIB.iso" \
-b i586/isolinux/isolinux.bin \
-boot-info-table \
-quiet \
$BUILDPATH/
-du -sh $BUILDPATH/$DISTRIB-$VERSION-dual.iso
-echo "$BUILDPATH/$DISTRIB-$VERSION-dual.idx"
+du -sh $BUILDPATH/$DISTRIB-$VERSION.iso
+echo "$BUILDPATH/$DISTRIB-$VERSION.idx"
cd $BUILDPATH/
-isohybrid -fatfirst $BUILDPATH/$DISTRIB-$VERSION-dual.iso
-cp $BUILDPATH/$DISTRIB-$VERSION-dual.idx .
-md5sum $DISTRIB-$VERSION-dual.iso > $DISTRIB-$VERSION-dual.iso.md5
-sha1sum $DISTRIB-$VERSION-dual.iso > $DISTRIB-$VERSION-dual.iso.sha1
+isohybrid -fatfirst $BUILDPATH/$DISTRIB-$VERSION.iso
+cp $BUILDPATH/$DISTRIB-$VERSION.idx .
+md5sum $DISTRIB-$VERSION-dual.iso > $DISTRIB-$VERSION.iso.md5
+sha1sum $DISTRIB-$VERSION.iso > $DISTRIB-$VERSION.iso.sha1