Include binary packages on cd.
This commit is contained in:
parent
a3bda44a41
commit
087c550186
1 changed files with 15 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
PACKAGEDIR=/usr/bigports/Packages
|
||||||
secs=`expr 32 '*' 64`
|
secs=`expr 32 '*' 64`
|
||||||
|
|
||||||
make_hdimage()
|
make_hdimage()
|
||||||
|
@ -259,6 +260,20 @@ sh mkboot cdfdboot
|
||||||
cp $IMAGE $CDFILES/bootflop.img
|
cp $IMAGE $CDFILES/bootflop.img
|
||||||
cp release/cd/* $CDFILES
|
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=
|
h_opt=
|
||||||
bootimage=$IMAGE
|
bootimage=$IMAGE
|
||||||
if [ "$HDEMU" -ne 0 ]; then
|
if [ "$HDEMU" -ne 0 ]; then
|
||||||
|
|
Loading…
Reference in a new issue