			Building the grip-config package
			================================

Emdebian SVN includes the necessary Debian packaging to build
the grip-config package to replace the default versions of
install-info and update-alternatives with ones that will work
with Emdebian Grip. The package, by default, has 
'Priority: Required' which means that deboostrap will 
automatically add it to your installation once added to the
relevant repository.

The package itself is built directly from Emdebian SVN and
includes the relevant changelog, copyright and rules files
as well as lintian overrides. The package build-depends
on emdebian-qa, but only for the lintian support.

The package build files are not currently in the emdebian-grip
package. It is not possible to add the grip-config package
to Debian.

In the checked out Emdebian SVN, you will find the grip-config/ 
directory, you can cd into that directory and build the package
using dpkg-buildpackage. Use the '-I.svn' option to omit the
subversion directories.

Note that debuild will complain about the non-standard
directory name, so use dpkg-buildpackage instead.

Include the built package directly into the Grip repository
(not the filter repository):

#!/bin/sh
GRIP_REPO=/opt/reprepro/grip/
CHANGES=grip-config_0.0.1em1_amd64.changes
reprepro -b $GRIP_REPO include unstable $CHANGES

There is currently no upload queue directly to the Grip
incoming/ directory - scp the files individually. A simple script
can do the job:

#!/bin/sh
if [ -z "$1" ]; then
	echo "Need the .changes file as an argument"
	exit 1
fi
FILES=`dcmd ls -1 $1`
for file in $FILES; do
	scp $file emdebian:/org/emdebian/grip/incoming/
done
