blob: c767f791fe35b9f13c8b192fccb4bfac84a03b3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#!/bin/sh
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 - 1"
PUBLISHER="Mageia.Org"
SYSID="$PUBLISHER"
TOOL="$SYSID BCD"
VOLSET="$SYSID $DISTRIB - $VERSION"
VOLUME="$DISTRIB-$VERSION"
mkdir -p $BUILDISOPATH
genisoimage -f -r -J -hide-rr-moved -nobak -cache-inodes -no-emul-boot -boot-load-size 4 \
-A "$AGENISO" \
-publisher "$PUBLISHER" \
-sysid "$SYSID" \
-p "$TOOL" \
-volset "$VOLSET" \
-V "$VOLUME" \
-o "$BUILDISOPATH/$DISTRIB-$VERSION.iso" \
-b i586/isolinux/isolinux.bin \
-boot-info-table \
-quiet \
$BUILDPATH/
du -sh $BUILDPATH/$DISTRIB-$VERSION.iso
echo "$BUILDPATH/$DISTRIB-$VERSION.idx"
cd $BUILDISOPATH/
isohybrid -fatfirst $BUILDISOPATH/$DISTRIB-$VERSION.iso
cp $BUILDISOPATH/$DISTRIB-$VERSION.idx .
md5sum $DISTRIB-$VERSION.iso > $DISTRIB-$VERSION.iso.md5
sha1sum $DISTRIB-$VERSION.iso > $DISTRIB-$VERSION.iso.sha1
|