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

Re: schroot



On 10/9/13, Roger Leigh <rleigh@codelibre.net> wrote:
> On Mon, Oct 07, 2013 at 12:38:04PM -0400, shawn wilson wrote:
>> This is at the top of every config file, but I can't find it documented:
>>
>> . "$SETUP_DATA_DIR/common-data"
>> . "$SETUP_DATA_DIR/common-functions"
>> . "$SETUP_DATA_DIR/common-config"
>>
>> Where is this being sourced from (ie, where is the 'common-data'
>> file?) and (more important) where is this documented?
>
> It's set in the environment which the setup scripts run in.  It
> should be documented in schroot-setup(5), but appears to be missing.
> Mea culpa.  This probably stems from this historically being an
> internal implementation detail; it should probably be considered
> part of the public interface at this point.
>
> It's /usr/share/schroot/setup at present on Debian,

This implies might have been useful to run:
dpkg -L schroot

or:
dpkg -L schroot | egrep -v doc\|man\|lib

or:
dpkg -L schroot | grep common-data

I often run the first of these three, sometimes with |grep bin


Reply to: