Re: depcheck
seth vidal <skvidal-c/MNwgJ9CEH2fBVCVOL8/[email protected]> Wed, 16 Feb 2005 01:52:13 -0500
| Newsgroups | gmane.linux.redhat.rpm.python |
|---|---|
| Message-ID | <1108536733.3368.2.camel@cutter> |
>rpmdb >My script should take a package name (e.g. postgresql) and returns all >needed packages (by *all* here i mean all packages needed to make a >custom RedHat build to run e.g. a postgresql database server or >something like this - I am not dealing with RedHat groups here ;) just >the minimal needed packages to run some application/service), what do >you think about this, do you have any suggestions? > I know this is not what you wanted but you can just do: yum --installroot=/some/misc/place install postgresql-server and yum will just print out, for confirmation a list of the packages needed to install postgresql-server. since you're doing it into an empty chroot then you know you'll get every package that is absolutely required. -sv