diff options
author | Antoine Ginies <aginies@mandriva.com> | 2011-02-22 14:51:09 +0000 |
---|---|---|
committer | Antoine Ginies <aginies@mandriva.com> | 2011-02-22 14:51:09 +0000 |
commit | f3fa9cd3866b3bb9694d3a927a0e5ac3871cc561 (patch) | |
tree | 09803ec99727ff15a771e67455d0da5e3237bd33 | |
parent | a9ab2b2dfc2e0e701e68093c89177eac78c9110f (diff) | |
download | bcd-f3fa9cd3866b3bb9694d3a927a0e5ac3871cc561.tar bcd-f3fa9cd3866b3bb9694d3a927a0e5ac3871cc561.tar.gz bcd-f3fa9cd3866b3bb9694d3a927a0e5ac3871cc561.tar.bz2 bcd-f3fa9cd3866b3bb9694d3a927a0e5ac3871cc561.tar.xz bcd-f3fa9cd3866b3bb9694d3a927a0e5ac3871cc561.zip |
try to find more space on DUAL
-rwxr-xr-x | create_dual.sh | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/create_dual.sh b/create_dual.sh index b742e12..51020a8 100755 --- a/create_dual.sh +++ b/create_dual.sh @@ -6,17 +6,27 @@ NAMER="mandriva-linux-corporate-DUAL" ./bcd.pl dual.xml all copy noiso ./bcd.pl dual64.xml all copy noiso +echo "- removing some files in the installer to get some more space" rm -vf $HOME/build_bcd/build/$NAMER-$TAGS-i586/i586/install/images/boot.iso rm -vf $HOME/build_bcd/build/$NAMER-$TAGS-x86_64/x86_64/install/images/boot.iso rm -vf $HOME/build_bcd/build/$NAMER-$TAGS-i586/i586/isolinux/alt1 rm -vf $HOME/build_bcd/build/$NAMER-$TAGS-x86_64/x86_64/isolinux/alt1 +rm -vrf $HOME/build_bcd/build/$NAMER-$TAGS-i586/i586/install/images/hd*.img +rm -vrf $HOME/build_bcd/build/$NAMER-$TAGS-x86_64/x86_64/install/images/hd*.img rm -vrf $HOME/build_bcd/build/$NAMER-$TAGS-i586/i586/install/images/alternatives +rm -vrf $HOME/build_bcd/build/$NAMER-$TAGS-i586/i586/install/images/*2.6.33* rm -vrf $HOME/build_bcd/build/$NAMER-$TAGS-x86_64/x86_64/install/images/alternatives +rm -vrf $HOME/build_bcd/build/$NAMER-$TAGS-x86_64/x86_64/install/images/*2.6.33* sync +echo "- Checking whole system space" du -sh $HOME/build_bcd/build/$NAMER-$TAGS-i586/i586 du -sh $HOME/build_bcd/build/$NAMER-$TAGS-x86_64/x86_64 +echo "ENTER twice to continue" +read +read + rm -rf $HOME/build_bcd/build/$NAMER-$TAGS rm -rvf $HOME/build_bcd/iso/$NAMER-$TAGS mkdir -p $HOME/build_bcd/build/$NAMER-$TAGS @@ -40,7 +50,11 @@ do fi done +/home/builduser/mes5_respin/resign_rpm_by_path.pl $HOME/build_bcd/build/$NAMER-$TAGS/i586/media/main/ +/home/builduser/mes5_respin/resign_rpm_by_path.pl $HOME/build_bcd/build/$NAMER-$TAGS/x86_64/media/main/ + create_iso() { +mkdir -p /home/builduser/build_bcd/iso/$NAMER-5.2/ genisoimage -f -r -J -hide-rr-moved -nobak -cache-inodes -no-emul-boot -boot-load-size 4 \ -A 'Mandriva Linux - MES5' \ -publisher 'Mandriva' \ @@ -48,7 +62,7 @@ genisoimage -f -r -J -hide-rr-moved -nobak -cache-inodes -no-emul-boot -boot-loa -p 'Mandriva-Linux BCD' \ -volset 'Mandriva Linux - MES5 - DUAL CD' \ -V 'MES5-DUAL' \ - -o '/home/builduser/build_bcd/iso/$NAMER-5.2/$NAMER.iso' \ + -o "/home/builduser/build_bcd/iso/$NAMER-5.2/$NAMER.iso" \ -b i586/isolinux/isolinux.bin \ -boot-info-table \ $HOME/build_bcd/build/$NAMER-$TAGS/ @@ -61,3 +75,4 @@ cat $HOME/build_bcd/build/$NAMER-$TAGS/x86_64/pkg-*.idx >> $HOME/build_bcd/iso/$ } du -shL $HOME/build_bcd/build/$NAMER-$TAGS/ +create_iso |