aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2011-03-16 17:06:10 +0000
committerAntoine Ginies <aginies@mandriva.com>2011-03-16 17:06:10 +0000
commit41b9c9a75ce304c70cf4488e103c6df469d82b1b (patch)
tree4f3984f3f80c90946f1a5415b40684cd4b29552f
parentb4b012a4d07fad4c931f42561143b5fa76ee5490 (diff)
downloadbcd-41b9c9a75ce304c70cf4488e103c6df469d82b1b.tar
bcd-41b9c9a75ce304c70cf4488e103c6df469d82b1b.tar.gz
bcd-41b9c9a75ce304c70cf4488e103c6df469d82b1b.tar.bz2
bcd-41b9c9a75ce304c70cf4488e103c6df469d82b1b.tar.xz
bcd-41b9c9a75ce304c70cf4488e103c6df469d82b1b.zip
5.2 releasemes5
-rwxr-xr-xcompare_idx_32_64.sh12
-rwxr-xr-xcreate_mini_dual32.sh19
-rwxr-xr-xcreate_mini_dual64.sh19
3 files changed, 50 insertions, 0 deletions
diff --git a/compare_idx_32_64.sh b/compare_idx_32_64.sh
new file mode 100755
index 0000000..50f0759
--- /dev/null
+++ b/compare_idx_32_64.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+WDIR="/home/builduser/build_bcd/build/"
+
+D32="$WDIR/mandriva-linux-corporate-mes5-i586/i586"
+D64="$WDIR/mandriva-linux-corporate-mes5-x86_64/x86_64"
+
+cat $D32/*.idx | cut -d " " -f 2 | perl -pi -e "s/i586|x86_64|i386//g" | sort > /tmp/idx_d32
+cat $D64/*.idx | sed -e "s/lib64/lib/g" | cut -d " " -f 2 | perl -pi -e "s/i586|x86_64|i386//g" | sort > /tmp/idx_d64
+
+diff -ru /tmp/idx_d32 /tmp/idx_d64
+
diff --git a/create_mini_dual32.sh b/create_mini_dual32.sh
new file mode 100755
index 0000000..c591c70
--- /dev/null
+++ b/create_mini_dual32.sh
@@ -0,0 +1,19 @@
+#!/bin/sh +xv
+
+TAGS=mes5
+NAMER="mandriva-linux-corporate-DUAL"
+
+./bcd.pl dual.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-i586/i586/isolinux/alt1
+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*
+sync
+./bcd.pl dual.xml resign
+
+echo "- Checking whole system space"
+du -sh $HOME/build_bcd/build/$NAMER-$TAGS-i586/i586
+
+./bcd.pl dual.xml iso
diff --git a/create_mini_dual64.sh b/create_mini_dual64.sh
new file mode 100755
index 0000000..c200491
--- /dev/null
+++ b/create_mini_dual64.sh
@@ -0,0 +1,19 @@
+#!/bin/sh +xv
+
+TAGS=mes5
+NAMER="mandriva-linux-corporate-DUAL"
+
+./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-x86_64/x86_64/install/images/boot.iso
+rm -vf $HOME/build_bcd/build/$NAMER-$TAGS-x86_64/x86_64/isolinux/alt1
+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
+./bcd.pl dual64.xml resign
+
+echo "- Checking whole system space"
+du -sh $HOME/build_bcd/build/$NAMER-$TAGS-x86_64/x86_64
+
+./bcd.pl dual64.xml iso