rpm --root equivalent?
Panu Matilainen
pmatilai at laiskiainen.org
Mon May 8 06:52:36 PDT 2006
On Mon, 8 May 2006, Vincent Danen wrote:
> Another question. Is there a way to point apt to a chroot to do an
> install? For instance, with rpm, you can use --root to point to a
> directory or other filesystem to make rpm install stuff in that
> directory rather than the "real" root. urpmi can do the same thing (in
> fact, I use urpmi to do the whole system installation as a result).
>
> Can apt be coerced into doing the same thing somehow? If not, then I
> have to keep urpmi (more's the pity) if for nothing else than the
> installer (and for building the installer).
Sure, you can use -o rpm::rootdir=/some/path from the command line or set
it in configuration file.
BTW if you're dealing a lot with chroot environments you might want to
have a look at mach: http://thomas.apestaart.org/projects/mach/
- Panu -
More information about the Apt-Rpm
mailing list