RFC: Profile support
Junichi Uekawa
dancer at netfort.gr.jp
Mon Dec 21 13:34:50 UTC 2009
Hi,
I'd like this profile thing to support reasonable use of qemubuilder,
so I can target build for ARM and MIPS. Currently I need to specify
--configfile, and it's a bit annoying, because I have a script which
just does that.
I don't quite follow your proposal, do you have a prototype?
At Mon, 14 Dec 2009 13:31:48 +0100,
Loïc Minier wrote:
>
> Hey folks
>
> A very large number of people running pbuilder use it with multiple
> build environments. Backports, sponsoring, company builds, Debian from
> Ubuntu or Ubuntu from Debian uploads, local repo, ...
>
> For instance, the ubuntu-dev-tools package ships two wrappers
> (pbuilder-dist and pbuilder-dist-simple) around pbuilder to manage
> multiple tarballs (one per $DIST). I recently discovered another
> package of pbuilder scripts which would wrap pbuilder to offer one
> tarball per "project". I use a relatively large set of wrappers
> myself.
>
> So I think pbuilder should support this better; it's easy to customize
> almost everything pbuilder does, but there is no standard way to save
> and re-use these customizations.
>
> I think we should consider a "profile" feature. This would be a
> simple unix-name which would:
> - point to a /etc/pbuilder/$profile.pbuilderrc main config file
> - adapt pbuilder's pathnames for the tarball and result dirs, e.g.
> /var/cache/pbuilder/base-$profile.tgz and
> /var/cache/pbuilder/result-$profile or similar
> - store custom settings in the $profile.pbuilderrc, notably:
> * --distribution => DISRIBUTION=, --components etc.
> * --mirror => MIRROR=, --othermirror etc.
>
> So on --create, the profile would be created with the settings used at
> this time, and subsequent --build, --update etc. with --profile foo
> would use the same settings automatically. It's some kind of glorified
> --configfile.
>
> A couple of other related things I think would be worth improving are:
> * cross-arch support; this should simply work out of the box for the
> bi-arch cases (e.g. i386/amd64), but I'd also like to work
> * support of multiple APT repos; currently this is supported via
> aptconfdir, but is not too nice to setup IMHO
>
> What do other maintainers think of the profile concept?
>
> Thanks,
> --
> Loïc Minier
>
> _______________________________________________
> Pbuilder-maint mailing list
> Pbuilder-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pbuilder-maint
>
More information about the Pbuilder-maint
mailing list