]> Zhao Yanbai Git Server - minix.git/commitdiff
Include .minixpackage info file
authorBen Gras <ben@minix3.org>
Tue, 4 Apr 2006 12:57:48 +0000 (12:57 +0000)
committerBen Gras <ben@minix3.org>
Tue, 4 Apr 2006 12:57:48 +0000 (12:57 +0000)
commands/scripts/binpackage.sh

index 6993d449849dab444aa157fc31334f14825c17e8..064b06abc4fbf0ac33e93cf17026d488b0ca9e1d 100644 (file)
@@ -1,6 +1,7 @@
 #!/bin/sh 
 
 PI=.postinstall
+INFO=.minixpackage
 
 set -e
 
@@ -57,7 +58,8 @@ else  sh -e build
 fi
 
 echo " * Building package"
-( if [ -f $PI ]; then echo $PI; fi; find / -cnewer $packagestart | egrep -v "^($srcdir|/(dev|tmp)|/usr/(tmp|log|adm|run)|/etc/utmp|/var/run)" ) | pax -w -d | bzip2 >$tarbz
+echo "Minix package $dir built `date`." >$INFO
+( echo $INFO ; if [ -f $PI ]; then echo $PI; fi; find / -cnewer $packagestart | egrep -v "^($srcdir|/(dev|tmp)|/usr/(tmp|log|adm|run)|/etc/utmp|/var/run)" ) | pax -w -d | bzip2 >$tarbz
 rm -f $packagestart $findlist $tarcmd
 binsizes normal
 mv $tarbz $pdir