On Thu, 2004-01-22 at 19:26, Fredrik Wikstrom wrote:
> Thank you all for the help. The first answer gave me a hint and I came up
> with just about the same solutions as you "emerge `cat filename` seems to
> work quite well. One dieadvantage though is that emerge quits as soon as it
> hits a masked package or similar.

 You can do (assuming you have a $HOME/tmp/ directory) :
  for p in $(<my_list_of_packages_file); do
    nice -n 20 emerge -v $p \
      && echo $p >>$HOME/tmp/success.log \
      || echo $p >>$HOME/tmp/failure.log
  done

> 
> Anyway, thanks all.
> 
> //Fredrik
> 
> -----Original Message-----
> From: Doug Gorley [mailto:[EMAIL PROTECTED]
> Sent: den 22 januari 2004 02:32
> To: [EMAIL PROTECTED]
> Subject: Re: [gentoo-user] emerge a list of packages?
> 
> 
> Matt Wilson wrote:
> 
> >>This may be a stupid question and perhaps nothing that's recommended to do
> >>but:
> >>Is it possible to make emerge take a file list as argument?
> >>I've been searching gentoo forums and the internet but I haven't found any
> >>solution. What I'm thinking of is if it's possible to pipe a file with
> >>packages listed to the emerge command?
> >>
> >>
> >
> >I've used;
> >$ emerge `cat package_list`
> >before, and I seem to recall that working :)
> >
> >
> >
> Take a look at this bug report:
> 
> http://bugs.gentoo.org/show_bug.cgi?id=13940
> 
> It shows a slightly different approach that's worked well for me.
> 
> Thanks,
> 
> Doug
> 
> --
> [EMAIL PROTECTED] mailing list
> 
> 
> --
> [EMAIL PROTECTED] mailing list
> 
> 


--
[EMAIL PROTECTED] mailing list

Reply via email to