[issue865] grml-debootstrap, split out chroot part

Tong Sun bts at bts.grml.org
Thu Jun 10 00:39:38 CEST 2010


Tong Sun <suntong001 at gmail.com> added the comment:

On Wed, Jun 9, 2010 at 6:51 AM, Michael Prokop <bts at bts.grml.org> wrote:

>
> > I believe that the chroot part in grml-debootstrap and grml-chroot share
> a good
> > portion of common ground in preparing chroot, and restoring it. So would
> it a
> > good idea to split out chroot part of grml-debootstrap into grml-chroot,
> so that
> > we have a single code base to maintain/enhance?
>
> Nice idea!
>
> But AFAIK grml-chroot isn't yet reliable enough to be able to deal
> with several instances of grml-chroot at the same time. So this
> would be an option as soon as grml-chroot provides a stable
> mechanism/feature for that.
>

Having thinking it over again, I now think the best approach is to create a
function file in  grml-scripts package, say,

/usr/share/grml-scripts/functions/grml-chroot

and move all chroot related common functions from grml-chroot and
grml-debootstrap in there (even we have two set of duplicated
functionality), then make grml-debootstrap depends on grml-scripts.

So the integration can happen gradually. Because the integration involves
only a single file, it is much easy to manage and track.

How is that?

----------
files: unnamed
messages: 3207, 3213, 3214
nosy: gebi, mika, suntong
priority: feature
status: chatting
title: grml-debootstrap, split out chroot part
topic: grml-chroot, grml-debootstrap

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue865>
_____________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ml.grml.org/pipermail/bugs-changes/attachments/20100609/e59d2bfa/attachment.htm>


More information about the Bugs-changes mailing list