You probably want to look at the installer I wrote for PlanetLab nodes. I'm doing exactly this, building a system up from scratch using yum. All the source code is available at http://cvs.planet-lab.org - the repository is alpina. Let me know if you have any specific questions, I'd be more that glad to help, Aaron PlanetLab Operations http://www.planet-lab.org On Wednesday 19 May 2004 01:27 pm, Matt Lawrence wrote: > Ok, I'm probably using yum for something it wasn't intended for. > > Having said that, I'm building a directory, installing yum into a > directory before doing a chroot into that directory and installing the > rest of the system. Here's the problem I'm seeing: > > + yum -y -c /root/livecd/master/etc/yum.conf -d1 > --installroot=/root/livecd/master install yum > /var/tmp/rpm-tmp.73854: line 1: /dev/null: No such file or directory > /var/tmp/rpm-tmp.29072: line 11: /dev/null: No such file or directory > /var/tmp/rpm-tmp.29072: line 12: /dev/null: No such file or directory > warning: user rpm does not exist - using root > warning: group rpm does not exist - using root > > [last 2 lines repeated many times] > > I can grep rpm from /etc/passwd, group, shadow & gshadow to create the > files in the new directory, but I was wondering if there is a cleaner way. > Help? > > > -- Matt > The American Non-Sequiteur Society: We may not make sense, but we do like > pizza. > > _______________________________________________ > Yum mailing list > Yum@xxxxxxxxxxxxxxxxxxxx > https://lists.dulug.duke.edu/mailman/listinfo/yum