fai and backports.org
Paavo Pokkinen
paveq2 at gmail.com
Thu May 11 20:09:46 CEST 2006
On Thursday 11 May 2006 19:08, P.S.S.Camp wrote:
> This patches the package checking to allow apt packages in the
> form of packagename/distro allowing easier use of things like
> backports.org
Great! Just the thing I have had problems with days already. Thank you.
> eg. (providing a correct source and apt/preferences file, but you don't
> need to pin each package)
> package_config/MIRROR_SERVICE
> PACKAGES install
> rsync/sarge-backports
> yaird/sarge-backports
If I understood right, I just put backports repository to the sources.list,
put stable pin to the preferences and then just use packagename/distro. And
that will install all deps automatically? (similar like apt-get -y disto
install packagename) When we might get this to the upstream?
> Phill.
>
> --- /usr/sbin/install_packages 2006-04-20 13:16:33.000000000 +0100
> +++ /usr/lib/fai/nfsroot/usr/sbin/install_packages 2006-05-11
> 16:57:27.000000000 +0100 @@ -381,7 +381,7 @@
>
> # simulate APTs and aptitudes understanding of "special" package names
> # suffixed by -, +
> - elsif ( $pack =~ /^(.+)[_=+-]$/ and $cache->exists($1)) {
> + elsif ( $pack =~ /^([^\/]+)([_=+-]|\/.+)$/ and $cache->exists($1)) {
>
> if (defined ($cache->{$1}{VersionList})) {
> push @known, $pack;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20060511/0e493e8a/attachment.bin
More information about the linux-fai
mailing list