From 087c55018668470adfe41ba3a37c9e66bd6df213 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Thu, 2 Feb 2006 17:11:10 +0000 Subject: [PATCH] Include binary packages on cd. --- tools/release.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 -- 2.44.0