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

Re: dpkg-cross



+++ Nikita V. Youshchenko [04-06-04 00:40 +0400]:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> > > And about stag-get: it seems that it replaces /etc/apt/sources.list
> > > and other files for a time; I believe it's a very bad idea, because it
> > > will left host system broken if it's interrupted. Probably some games
> > > with trap shell builtin may make situation a bit better, but still it
> > > will be unsafe. On the other hand, apt allows to redefine almost any
> > > parameter in command line or in a configuration file! You may make it
> > > to use other files instead of /etc/apt/sources.list, /var/cache/apt/*,
> > > etc, etc
> > > I believe this should be used instead of altering important system
> > > configuration files...
> >
> > I wrote that do do some quick test. It should indeed be re-implemented.
> > Because of the reasons you mention, but also because of the limitations
> > of the current wrapper, you can for example only select one package at a
> > time. I howver did not find an option to let apt use other files, I
> > probabely overlooked them.
> 
> See /usr/share/doc/apt/examples/configure-index.gz for complete list of apt 
> configuration parameters.

HAving realised just how horrible this was a few days ago I fixed stag-get
last night to use the appropriate -o options in stead (I haven't tested it
yet). It may actually be best for the script to just use apt-get -o
<config.$ARCH> so that there is a config file for each arch with the right
runes in and then it is easier for people to fiddle with without changing
the script. This only makes sense if people are actually ever going to
change these options...

> Btw, David has created an alioth project for dpkg-cross, and my work is 
> already in alioth CVS :)

OK. I'll now move the stuff out of stag-addons that is also in dpkg-cross
and do another version.

I need to test what I've done and see if it works too...and it should go in
emdebian CVS (or maybe it should all just go in dpkg-cross and there is no
need for extra stag-addons things?)

Wookey
-- 
Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK  Tel +44 (0) 1223 811679
work: http://www.aleph1.co.uk/     play: http://www.chaos.org.uk/~wookey/



Reply to: