From: Ben Gras Date: Fri, 3 Mar 2006 12:44:22 +0000 (+0000) Subject: Added 'xxl' binsizes size for x. X-Git-Tag: v3.1.2a~308 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/ddns-confgen.html?a=commitdiff_plain;h=aa3932eb8bc66ecf78ccceb90cf8ed9f59798401;p=minix.git Added 'xxl' binsizes size for x. Leave sh and make at normal size for 'big'. Call binsizes normal after creating release. --- diff --git a/commands/scripts/binsizes.sh b/commands/scripts/binsizes.sh index 36ffcd5b1..4b13c3427 100644 --- a/commands/scripts/binsizes.sh +++ b/commands/scripts/binsizes.sh @@ -7,9 +7,10 @@ then echo "Usage: $0 " 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 ] diff --git a/etc/Makefile b/etc/Makefile index 4645585f4..57832b820 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -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 diff --git a/etc/binary_sizes b/etc/binary_sizes index 94063f717..0370fc4f6 100644 --- a/etc/binary_sizes +++ b/etc/binary_sizes @@ -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 diff --git a/etc/binary_sizes.big b/etc/binary_sizes.big index 8e21938d1..c944a8417 100644 --- a/etc/binary_sizes.big +++ b/etc/binary_sizes.big @@ -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 index 000000000..8e21938d1 --- /dev/null +++ b/etc/binary_sizes.xxl @@ -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 diff --git a/tools/chrootmake.sh b/tools/chrootmake.sh index 783d67050..a18ba5e28 100755 --- a/tools/chrootmake.sh +++ b/tools/chrootmake.sh @@ -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