Version of the distribution or the Archive name (stable, testing, unstable)

shaulka at 012.net.il shaulka at 012.net.il
Sun May 21 13:44:51 CEST 2006


  I am using 2.10.

  /usr/sbin/make-fai-nfsroot:copy_fai_files() has 

       rm -f $NFSROOT/etc/fai/make-fai-nfsroot.conf


  Are there reasons to rm it other then having a bit more cleaner $NFSROOT?

  I want to extract from $NFSROOT/etc/fai/make-fai-nfsroot.conf the the version
of the distribution or the Archive name (stable, testing, unstable), much like I did
when I have created the $NFSROOT. I would then expect to use it at least in 
task_{updatebase,instsoft} by means of a -t switch to apt. 
  Any comments? As far as I can tell, fai-multi-distribution has not been upgraded
to 2.10.

  As a side note, my $NFSROOT still has make-fai-nfsroot.conf.dpkg-dist because
that file was not rm by /usr/sbin/make-fai-nfsroot:copy_fai_files().


  In  addition, I noticed that $NFSROOT/usr/sbin/install_packages has 

    my $aptopt='-y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold"';

and $NFSROOT/usr/lib/fai/updatebase has

    export aptopt='-y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold"'

Am I right that install_packages and updatebase are not fully cooperating about aptopt?
Wouldn't it be better to define aptopt in one place and have both using that?




More information about the linux-fai-devel mailing list