>> 1. edit your conf file so it doesn't have any $releasever in it and you >> won't need to install fedora-release first. > >Knew that already. :) But I like the flexibility of being able to >install the release.rpm that I want into the chroot. This way I can pick >which release I want to install. It works better for my situation. > >> 2. use the gpgkey= option for repositories and yum will import gpg keys >> into the rpmdb for you. > >Cool. Unfortunately it doesn't seem to work when using --installroot :( > >I get this error: > >The GPG key at >http://download.fedora.redhat.com/pub/fedora/linux/extras/RPM-GPG-KEY- >Fedora-Extras (0x1AC70CE6) >is already installed but is not the correct key for this package. >Check that this is the correct key for the "Fedora Extras - 3 - i386" >repository. i bet dollars to donuts that the gpg key installer is not opening the installroot rpmdb. I'll check that out. thanks. >> 3. if you want to avoid problems with scripts/triggers on install you >> can add: >> tsflags=noscripts notriggers >> to your [main] in your yum.conf - it will keep %scripts and triggers >> from your rpms from running. > >Cool. But I get lots of user/group blah does not exist warnings. Not >really a big deal though. I guess I can just add the user/groups myself. very true. I tend to install with scripts and triggers enabled and just cope with the warnings :) >> 6. if you're doing this on x86_64 for x86 you can run 'setarch i686' >> first to make it believe it is an i686 system. > >Thanks, I'll keep that one in mind. :) I use it all the time and it comes in handy b/c it means I only need one build machine, not two. -sv