[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Using dpkg outside Debian



On Thu, 22 Aug 2002, Henning Spruth wrote:

> a) "dpkg -l" does not pass the root directory to dpkg-query
>
> b) "dpkg-checkbuilddeps" has the name /var/lib/dpkg/status hardcoded in it
>
> My questions:
>
> 1. Are there patches out already to address these problems?

Nope.

> 2. Would the maintainers be interested in accepting patches?

Sure.

> 3. If I were to fix this, would it be an acceptable approach to use an
> environment variable named e.g. DPKG_ROOT (as opposed to command line
> switches) to globally set the root directory? This would have the advantage
> of (possibly) allowing to build existing package "rule" scripts without
> modification.

Maybe.  Doing a chroot might be the right way to do this.



Reply to: