Re: [T(A)ILS-dev] [PATCH] document building from alternate m…

Delete this message

Reply to this message
Autor: John Wyzer
Data:  
A: intrigeri, tails-dev
Assumpte: Re: [T(A)ILS-dev] [PATCH] document building from alternate mirror
On 04/02/11 18:42, intrigeri wrote:
> hi,
>
> (any reason not to reply on the mailing-list? anyway, your choice.)


No, sorry. Did not pay attention. Cited the whole thing for this reason.
Agree to your reasoning at the EOF.
No further new text from me in this email.


> John Wyzer wrote (04 Feb 2011 08:28:57 GMT) :
>> On 04/02/11 07:55, intrigeri wrote:
>
>>>> +Visit config/chroot_sources and adjust the files found there according to
>>>> +your mirror of choice.
>>>
>>> Manually editing such generated configuration files is strongly
>>> recommended against by the Debian Live authors and documentation...
>>> with good reasons. The only supported ways of configuring the build
>>> process are:
>>>
>>>     - using live-build's config file: /etc/live/build.conf
>>>     - using "lb config" in a clean build tree

>
>> Hmm. Ok. Will try that next time. However, it seems odd to assume that one would
>> want
>> the same mirror configuration for every project.
>
> Quoting our build doc page:
>
>    "Initialize the Live system's configuration with lb config in a
>    clean build tree. Most lb config options are supported, have a look
>    to the lb_config(1) manpage for details."

>
> See `--mirror-*' options there.
>
>> And oddly, whatever I tried to throw at lb_config, the debian
>> servers were still contacted during the build process until I
>> changed config/chroot_sources manually (did not bother to check
>> /etc).
>
> You might have missed the "in a clean build tree" part, haven't you?
>
>> Hmm. Odd. Somewhere in the build process I was missing packages.
>> Started to recursively grep files to find that only main was
>> included in some sources.list. But I don't remember exactly where.
>
> I have the general feeling you are using an old live-build version, or
> are attempting to do things manually in a non-clean build tree.
>
>>>> +    --apt-secure false \
>>>> +    --volatile false \
>>>> +    --security false \

>
>> I generally agree to your complaints concerning the last three
>> options. However, I used a mirror that I built with reprepro which
>> included security updates and had to be signed by myself after that.
>> So - perhaps it's still valid to mention this for this special use
>> case.
>
> This is nothing specific to T(A)ILS, and this is a corner case I
> think. Moreover this is documented in lb_config(1) our doc page
> references so I have the feeling this is enough. The less doc we
> duplicate from the Debian Live manual, the less obsolete doc we'll
> have in a few months. I'm sure you'll understand this :)
>
> Bye,
> --
>    intrigeri<intrigeri@???>
>    | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
>    | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc
>    | The impossible just takes a bit longer.

>