]> Zhao Yanbai Git Server - minix.git/commitdiff
Added 'xxl' binsizes size for x.
authorBen Gras <ben@minix3.org>
Fri, 3 Mar 2006 12:44:22 +0000 (12:44 +0000)
committerBen Gras <ben@minix3.org>
Fri, 3 Mar 2006 12:44:22 +0000 (12:44 +0000)
Leave sh and make at normal size for 'big'.
Call binsizes normal after creating release.

commands/scripts/binsizes.sh
etc/Makefile
etc/binary_sizes
etc/binary_sizes.big
etc/binary_sizes.xxl [new file with mode: 0644]
tools/chrootmake.sh

index 36ffcd5b147b078f39de07c6fd72cdba48aef050..4b13c3427973f5f3b0516796bed7479f14a81a55 100644 (file)
@@ -7,9 +7,10 @@ then   echo "Usage: $0 <big|normal>"
        exit 1
 fi
 
-if [ "$1" = big ]
-then t=$t.big
+if [ "$1" != normal ]
+then   t=$t.$1
 fi
+
 chmem =250000 /usr/lib/* /usr/lib/i386/* >/dev/null 2>&1
 chmem =600000 /usr/lib/ego/*  >/dev/null 2>&1
 if [ -f $t ]
index 4645585f47dd867223911cc0eb22275469d39966..57832b8207072a286b15ba9e744e43e2743e6f1d 100644 (file)
@@ -1,7 +1,7 @@
 
 ETC=/etc/
 USRETC=/usr/etc/
-FILES1=fstab group hostname.file inet.conf motd mtab passwd profile protocols rc services termcap ttytab utmp rc.cd binary_sizes binary_sizes.big rc.rescue
+FILES1=fstab group hostname.file inet.conf motd mtab passwd profile protocols rc services termcap ttytab utmp rc.cd binary_sizes binary_sizes.big binary_sizes.xxl rc.rescue
 FILES2=shadow
 FILES3=daily dhcptags.conf rc
 
index 94063f717d6413ce95b2634ae1a42f07a8f0cde9..0370fc4f6d9e4cf40f07622cb5bb063a53799a36 100644 (file)
@@ -5,3 +5,5 @@
 /usr/lib/em_opt 148044
 /usr/lib/i386/as 45000
 /usr/lib/i386/cg 50655
+/bin/sh 102400
+/usr/bin/make 337920
index 8e21938d1831ac6bed7e493c30e76e7d6a1aaffb..c944a84173a2e4f81380b0c123ae1d52691142da 100644 (file)
@@ -5,6 +5,5 @@
 /usr/lib/em_opt 1370162
 /usr/lib/i386/as 1239922
 /usr/lib/i386/cg 1285513
-/usr/bin/make 2000000
-/bin/sh        1000000
-/usr/bin/lex 1000000
+/bin/sh 102400
+/usr/bin/make 337920
diff --git a/etc/binary_sizes.xxl b/etc/binary_sizes.xxl
new file mode 100644 (file)
index 0000000..8e21938
--- /dev/null
@@ -0,0 +1,10 @@
+/usr/lib/cpp.ansi 1416004
+/usr/lib/cv 3738570
+/usr/lib/em_cemcom.ansi 10683676
+/usr/lib/em_led 4078088
+/usr/lib/em_opt 1370162
+/usr/lib/i386/as 1239922
+/usr/lib/i386/cg 1285513
+/usr/bin/make 2000000
+/bin/sh        1000000
+/usr/bin/lex 1000000
index 783d67050e8e43e4992792942ac1eed6bd8be84a..a18ba5e284b6edceb23e586f24be788b1822971b 100755 (executable)
@@ -18,5 +18,6 @@ su bin -c 'makewhatis /usr/man'
 su bin -c 'makewhatis /usr/gnu/man'
 su bin -c 'makewhatis /usr/local/man'
 mv /usr/src/commands /usr/src.commands
+binsizes normal
 exit 0