On Sat, 9 Aug 2003, Ben Reser wrote:
> On Fri, Aug 08, 2003 at 03:17:25PM -0400, Frank Griffin wrote:
> > The current install gives you a way to save your package selections to a
> > floppy which can then be used in later installs to avoid having to
> > manually re-select everything.
> >
> > Is there any way to generate such a floppy from a running system ? In
> > other words, once I get a particular cooker "stocked" with various
> > packages added over time (many post-install), can I create a floppy that
> > can be fed to another install which will select all of the packages in
> > the first system, whether they were selected during installation or
> > after installation ?
>
> Not really. However you could do:
> rpm -qa --qf '%{NAME}\n' > package.list
And then you can open the autoinst.cfg file on the floppy, edit it, and
add the missing packages to the list.
>
> Then run urpmi for each package name after the install:
> for package in `cat package.list`; do
> urpmi "$package"
> done
Or:
# urpmi `cat package.list`
should be a bit faster.
Regards,
Buchan
--
|----------------Registered Linux User #182071-----------------|
Buchan Milne Mechanical Engineer, Network Manager
Cellphone * Work +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
******************************************************************
Please click on http://www.cae.co.za/disclaimer.htm to read our
e-mail disclaimer or send an e-mail to [EMAIL PROTECTED] for a copy.
******************************************************************