On Thu, 2005-08-04 at 21:07 -0700, Bobby Kashani wrote: > On Thu, 2005-08-04 at 20:46 +0000, 3kr1ltp02@xxxxxxxxxxxxxx wrote: > > > 3. Are there some commonly used tools out htere to help me resolve the depdencies quicker? > > I usually use YUM to install into a chroot: oops, I just looked at my script and it seems that I forgot a few things...lol :) > 1. Create a yum repo (place your rpms in a dir i.e. /your/rpms) then > run: > > createrepo /your/rpms > > 2. Create a yum.conf like this: > > [main] > cachedir=/var/cache/yum > debuglevel=2 > logfile=/var/log/yum.log > pkgpolicy=newest > distroverpkg=redhat-release > tolerant=1 > exactarch=1 > obsoletes=1 > tsflags=noscripts notriggers > > [myrepo] > name=myrepo > baseurl=file:///your/rpms gpgcheck=0 > 3. Use your new repo to install into your new chroot: mkdir -p /some/new/rootdir/etc \ /some/new/rootdir/dev /some/new/rootdir/proc \ /some/new/rootdir/sys /some/new/rootdir/var/tmp \ /some/new/rootdir/var/cache/yum touch /some/new/rootdir/etc/fstab mount --bind /proc /some/new/rootdir/proc mount --bind /sys /some/new/rootdir/sys > yum -y -c /my/yum.conf --installroot=/some/new/rootdir install `cat > rpm-list` umount /some/new/rootdir/proc umount /some/new/rootdir/sys > Yum and createrepo can both be found in Fedora or from: > > http://linux.duke.edu/projects/yum/ > http://linux.duke.edu/projects/metadata/generate/ > > Bob > -- Bobby Kashani http://www.ocf.berkeley.edu/~bobk/garnome _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list