Hi Michael, > rpm -qa --queryformat "%{NAME}\n" I think that is for querying all the packages which are already installed in a system. But as far as I understand, Anthony is asking for the complete list of rpms of the given RPM based distro. This may be the one which can do the trick. cd /tftpboot/distro/[DISTRO_FULL_NAME] rpm -qp --queryformat "%{NAME}\n" * | uniq
Regards, - DongInn Michael Edwards wrote: > Try this > rpm -qa --queryformat "%{NAME}\n" > > On Wed, May 21, 2008 at 9:13 AM, Walls, Anthony <[EMAIL PROTECTED]> wrote: >> Is there a way to get a list with only the base name from say the rpm >> database? Obviously editing a complete list of rpms is going to take >> forever? >> >> >> Anthony Walls >> Compuware Corporation >> [EMAIL PROTECTED] >> 513-967-1694 >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of Michael >> Edwards >> Sent: Tuesday, May 20, 2008 1:00 PM >> To: oscar-users@lists.sourceforge.net >> Subject: Re: [Oscar-users] Installing all RPMS to Nodes >> >> If you look at the way the other rpm lists are set up, they use only >> the base name of the rpm in the file and not the filename of the rpm. >> So when you put in the whole filename, the pattern matching doesn't >> find any packages by that name and only installs the oscar packages. >> >> On Tue, May 20, 2008 at 12:52 PM, Walls, Anthony <[EMAIL PROTECTED]> >> wrote: >>> I've tried do a complete RedHat install to all nodes by creating my >> own >>> rpmlist by doing an ls /tftpboot/distro/rhblahblah >> my.rpmlist. I >> put the >>> list in /opt/oscar/oscarsamples and pointed to it during image build >> however >>> none of the rpm's I've added get installed only the defualt oscar >> ones. Can >>> anyone explain how to get this to work? >>> >>> >>> >>> >>> >>> Anthony Walls >>> >>> Compuware Corporation >>> >>> [EMAIL PROTECTED] >>> >>> 513-967-1694 >>> >>> >>> >>> >> ------------------------------------------------------------------------ >> - >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> Oscar-users mailing list >>> Oscar-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/oscar-users >>> >>> >> ------------------------------------------------------------------------ >> - >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Oscar-users mailing list >> Oscar-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/oscar-users >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Oscar-users mailing list >> Oscar-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/oscar-users >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Oscar-users mailing list > Oscar-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/oscar-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Oscar-users mailing list Oscar-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oscar-users