[Fai-commit] r6625 - trunk/lib

Michael Tautschnig mt at debian.org
Thu Jul 21 10:57:43 CEST 2011


Hi Thomas,

Could you please add a warning about existing (but now unused) *.asc files?
After all, this was supported since version 3.3 and fixed bugs #363701,#504018,
hence I'd expect a number of users of this feature who will find their config no
longer works.

Thanks a lot,
Michael

> Author: lange
> Date: 2011-07-21 08:08:06 +0000 (Thu, 21 Jul 2011)
> New Revision: 6625
> 
> Modified:
>    trunk/lib/updatebase
> Log:
> load apt keys by class names
> 
> 
> Modified: trunk/lib/updatebase
> ===================================================================
> --- trunk/lib/updatebase	2011-07-21 07:58:41 UTC (rev 6624)
> +++ trunk/lib/updatebase	2011-07-21 08:08:06 UTC (rev 6625)
> @@ -9,8 +9,8 @@
>  echo "Updating base"
>  
>  # add apt keys for signed repositories
> -# TODO: add keys by using classes as file names
> -for keyfile in `cd $FAI/package_config; ls *.asc 2>/dev/null`; do
> +for keyfile in $classes; do
> +    [ ! -f $FAI/package_config/$keyfile ] && continue
>      echo -n "Loading APT key from $keyfile "
>      cat $FAI/package_config/$keyfile | $ROOTCMD apt-key add -
>  done
> 
> 
> _______________________________________________
> Fai-commit mailing list
> Fai-commit at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/fai-commit
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.uni-koeln.de/pipermail/linux-fai-devel/attachments/20110721/f6bb1132/attachment.bin>


More information about the linux-fai-devel mailing list