| 1 |
** IMPORTANT ** |
| 2 |
mini-dinstall has some error checking, but it is not perfect. |
| 3 |
If it breaks, you get to keep both pieces. |
| 4 |
** IMPORTANT ** |
| 5 |
|
| 6 |
First, you should probably set up a ~/.mini-dinstall.conf (or |
| 7 |
/etc/mini-dinstall.conf), but it's not strictly necessary; the |
| 8 |
defaults may suit you. Try copying the example file. If you do copy |
| 9 |
the example file, be sure to change the "mail_to" variable. |
| 10 |
|
| 11 |
mini-dinstall can be run either as a daemon (the default), or via |
| 12 |
cron. |
| 13 |
|
| 14 |
To run mini-dinstall as a daemon, just type: mini-dinstall |
| 15 |
It will automatically create any directories necessary. You should |
| 16 |
have set up a ~/.mini-dinstall.conf first. |
| 17 |
|
| 18 |
To run via cron: mini-dinstall --batch |
| 19 |
Running from cron is less than ideal. Currently there is no support |
| 20 |
for rejecting stale uploads; plus, it's less efficient. |
| 21 |
|
| 22 |
You may find it useful to run with --no-act at first, to see what is |
| 23 |
going to happen without making any changes. |
| 24 |
|
| 25 |
The archive layout is not (yet) configurable. It consists of separate |
| 26 |
distribution directories (the defaults are "sid" and "woody"), and |
| 27 |
then architecture-specific subdirectories (the defaults are "all", |
| 28 |
"i386", "sparc", and "powerpc"). |
| 29 |
|
| 30 |
Here's what an example apt line looks like: |
| 31 |
|
| 32 |
deb http://monk.debian.net/~walters/debian/ local/$(ARCH)/ |
| 33 |
deb http://monk.debian.net/~walters/debian/ local/all/ |
| 34 |
deb-src http://monk.debian.net/~walters/debian/ local/source/ |
| 35 |
|
| 36 |
In general, this should look like: |
| 37 |
|
| 38 |
deb <URI prefix>/<mini-dinstall directory>/ <respository>/$(ARCH)/ |
| 39 |
deb <URI prefix>/<mini-dinstall directory>/ <respository>/all/ |
| 40 |
deb-src <URI prefix>/<mini-dinstall directory>/ <respository>/source/ |
| 41 |
|
| 42 |
mini-dinstall will pick up on any upload (i.e. .changes) you stick in |
| 43 |
an archive directory, and install the file. It will automatically |
| 44 |
remove older versions of the package files, with one exception: if |
| 45 |
there are both binaries and source for a particular version, and |
| 46 |
you're installing a newer version .changes with source and binaries |
| 47 |
for a different arch, the old source will not be removed. |
| 48 |
|
| 49 |
That's it for now...enjoy! |
| 50 |
|
| 51 |
-- Colin Walters <[email protected]> Tue, 13 Aug 2002 15:35:09 -0400 |