Subject: Re: mksandbox
To: Jan Danielsson <jan.m.danielsson@gmail.com>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: pkgsrc-users
Date: 04/22/2007 15:13:51
On Sun, 22 Apr 2007 20:53:29 +0200
Jan Danielsson <jan.m.danielsson@gmail.com> wrote:
>
> There is a /usr/bin/ftp. Why isn't it trying to use that instead? I
> guess I can use FETCH_CMD=/usr/bin/ftp in my mk.conf.. But I want to
> understand why I have to do that.
>
> Do I need to bootstrap pkgsrc in my sandbox?
>
mksandbox is using chroot, so /usr/bin/ftp isn't visible.
You may want to try pkg_comp instead; it's designed for precisely this
purpose.
--Steve Bellovin, http://www.cs.columbia.edu/~smb