Stephane Bortzmeyer a �crit :

> On Thursday 10 February 2000, at 0 h 56, the keyboard of Martin Quinson 
> <[EMAIL PROTECTED]> wrote:
> 
> > Ca, c'est facile : 
> > 
> > [EMAIL PROTECTED]: ~> dpkg --help 
> > 
> > [...]
> > 
> > Options:
> >   --admindir=<directory>     Use <directory> instead of /var/lib/dpkg
> >   --root=<directory>         Install on alternative system rooted elsewhere
> >   --instdir=<directory>      Change inst'n root without changing admin dir
> 
> Et si le postinst fait un truc du genre :
> 
> machin /usr/lib/chose
> 
> ? � ma connaissance, dpkg ne chroote pas.

Ben...
[EMAIL PROTECTED]:~> man dpkg
[...]
       -R | --root=dir | --admindir=dir | --instdir=dir
              Change default directories.  admindir  defaults  to
              /var/lib/dpkg  and  contains  many  files that give
              information about  status  of  installed  or  unin�
              stalled  packages,  etc.  instdir defaults to / and
              refers to the directory where packages  are  to  be
              installed.  instdir is also the directory passed to
              chroot(2)  before  running  package's  installation
              scripts,  which  means that the scripts see instdir
              as a root directory.  Changing root changes instdir
              to dir and admindir to dir/var/lib/dpkg.

Mais j'ai jamais test� ces options, je fais betement confiance � la
doc...

Bye, Mt.

-- 
La FAQ de la liste [EMAIL PROTECTED] se trouve � l'adresse :
http://www.ens-lyon.fr/~mquinson/debian/faq-french/


Répondre à