smart package manager unterstuetzung

Stephan Hermann sh at sourcecode.de
Wed Jun 27 13:49:19 CEST 2007


Add:

BTS: #430798

\sh
Am Mittwoch, den 27.06.2007, 12:59 +0200 schrieb Stephan Hermann:
> Moins,
> 
> Thomas, can you add this to fai 3.1.8 or to fai TRUNK?
> 
> smart is a good package manager for all distros. It supports apt repos,
> rpm xml metadata repos (like for yum) and yast repositories.
> 
> Thx,
> 
> \sh
> 
> ------------------
> 
> 
> 
> diff -ur fai-3.1.8.orig/bin/install_packages
> fai-3.1.8/bin/install_packages
> --- fai-3.1.8.orig/bin/install_packages 2006-10-10 01:30:53.000000000
> +0200
> +++ fai-3.1.8/bin/install_packages      2007-06-27 12:56:32.725215223
> +0200
> @@ -65,7 +65,7 @@
>  
>  my $aptopt='-y -o Dpkg::Options::="--force-confdef" -o
> Dpkg::Options::="--force-confold"';
>  
> - at commands = qw/y2i y2r yast rpmr urpmi urpme yumgroup yumi yumr hold
> taskrm taskinst clean aptitude aptitude-r install unpack remove
> dselect-upgrade/;
> + at commands = qw/y2i y2r yast rpmr urpmi urpme yumgroup yumi yumr hold
> taskrm taskinst clean aptitude aptitude-r install unpack remove
> dselect-upgrade smarti smartr/;
>  %command = (
>             install => "apt-get $aptopt --fix-missing install",
>            ninstall => "apt-get $aptopt --fix-missing -s install",
> @@ -90,6 +90,8 @@
>               y2r   => "y2pmsh remove",
>               yast  => "yast -i",
>                rpmr => "rpm -e",
> +           smarti  => "smart -y install",
> +           smartr  => "smart -y remove",
>  );
>  
>  $test = 0;
> 
> 
> 
-- 
Stephan Hermann
eMail: sh at sourcecode.de         Blog: http://linux.blogweb.de/
JID: sh at linux-server.org        
OSS-Developer and Admin




More information about the linux-fai mailing list