From: Ben Gras Date: Thu, 2 Feb 2006 17:11:10 +0000 (+0000) Subject: Include binary packages on cd. X-Git-Tag: v3.1.2a~394 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/man.rndc.html?a=commitdiff_plain;h=087c55018668470adfe41ba3a37c9e66bd6df213;p=minix.git Include binary packages on cd. --- diff --git a/tools/release.sh b/tools/release.sh index 98bba1bd1..9db55896a 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -1,5 +1,6 @@ #!/bin/sh +PACKAGEDIR=/usr/bigports/Packages secs=`expr 32 '*' 64` make_hdimage() @@ -259,6 +260,20 @@ sh mkboot cdfdboot cp $IMAGE $CDFILES/bootflop.img cp release/cd/* $CDFILES +DESTPACKAGES=`pwd`/release/cd/Packages +rm -rf $DESTPACKAGES +mkdir $DESTPACKAGES + +( cd $PACKAGEDIR + for f in *tar* + do + shortname="`echo $f | sed 's/\.tar\..*//' | tr -dc '[a-z][A-z][0-9]' | sed 's/^\(........\).*/\1/' | tr '[a-z]' '[A-Z]'`.TBZ" + cp $f $DESTPACKAGES/$shortname + echo $shortname $f >>$DESTPACKAGES/List + echo " * Copied $f to $shortname" + done +) + h_opt= bootimage=$IMAGE if [ "$HDEMU" -ne 0 ]; then