[Yum] Building a liveCD with yum

seth vidal skvidal at phy.duke.edu
Wed May 19 19:04:52 UTC 2004


On Wed, 2004-05-19 at 12:27 -0500, 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?
> 

yum --installroot=/some/place install foo bar baz

that's an easier way. :)

-sv






More information about the Yum mailing list