Remove absolutely useless functionality to build source kits. This is
unlikely to work with the changes in bootstrap itself anyway.
This commit is contained in:
parent
b81a545933
commit
ffe432cecd
1 changed files with 0 additions and 49 deletions
|
@ -1,49 +0,0 @@
|
|||
#! /bin/sh
|
||||
#
|
||||
# $NetBSD: mkbootstrapkit,v 1.9 2007/03/02 16:48:48 wiz Exp $
|
||||
#
|
||||
# Usage: mkbootstrapkit [kitdir]
|
||||
#
|
||||
# Make a source bootstrap kit. By default, the "kitdir" is
|
||||
# ${TMPDIR}/bootstrap-kit-<today>, the resulting archive will extract
|
||||
# a directory tree rooted in "bootstrap-kit-<today>".
|
||||
|
||||
date=`date +%Y%m%d`
|
||||
kitdir=${1:-${TMPDIR:=/tmp}/bootstrap-kit-${date}}
|
||||
kitfile=${1:-${TMPDIR:=/tmp}/bootstrap-kit-${date}.tgz}
|
||||
|
||||
bootstrapdir=`pwd`
|
||||
pkgsrcdir=`dirname $bootstrapdir`
|
||||
|
||||
echo "Creating $kitdir."
|
||||
rm -rf $kitdir
|
||||
mkdir -p $kitdir
|
||||
cd $pkgsrcdir
|
||||
for dir in \
|
||||
archivers/pax \
|
||||
bootstrap \
|
||||
devel/bmake \
|
||||
lang/nawk \
|
||||
mk \
|
||||
net/tnftp \
|
||||
pkgtools/bootstrap-extras \
|
||||
pkgtools/bootstrap-mk-files \
|
||||
pkgtools/digest \
|
||||
pkgtools/libnbcompat \
|
||||
pkgtools/mtree \
|
||||
pkgtools/pax \
|
||||
pkgtools/pkg_install \
|
||||
pkgtools/tnftp \
|
||||
sysutils/install-sh \
|
||||
textproc/nbsed
|
||||
do
|
||||
echo "Copying $dir."
|
||||
tar hcf - $dir | ( cd $kitdir; tar xf - )
|
||||
done
|
||||
|
||||
echo "Archiving to $kitfile."
|
||||
rm -f $kitfile
|
||||
cd `dirname $kitdir` && tar cpf - `basename $kitdir` | gzip -c > $kitfile
|
||||
|
||||
echo "Removing $kitdir."
|
||||
rm -rf $kitdir
|
Loading…
Reference in a new issue