Hi, On Monday 20 June 2005 14:29, you wrote: > > Why ? If you do softupdates, your machine has been set up allready. > ?! > prepareapt copies the dpkg and apt conffiles _before_ messing around with > apt; if an updated sources.list points to sarge while it pointed before at > woody, you are able to pull your box from woody to sarge without > reinstallation.
Even though this is nice and fancy, it's a bad hack. IMHO you should provide/use classes WOODY and SARGE and use scripts/SARGE to change sources.list on that machine. In task_configure not in task_prepareapt. I'm aware that your approach is slightly more effective/faster, but I do believe it's to hackish. On softupdates apt is set up allready. No need (and no sane way) of updating it _as_default_. > > please not as DEFAULT. Maybe in FAIBASE which I propose not to use in > > default softupdates ;-) > that's what _I_ use in the config for my machines here, which is quite > different from the fai simple-example. Please keep in mind the scope of the simple examples... (which in a lot of peoples opinion should become part of a default config some day.) regards, Holger
pgp1wYsxJAecP.pgp
Description: PGP signature