On Mon, Feb 22, 2010 at 08:48:32PM -0700, Anthony Foiani wrote:
Richard --
First, thanks for the excellent tool! I'm trying to use it to create a root
FS for doing development on an embedded PPC board.
(Out of curiosity, just how much work do you think implementing a
"--foreign" capability is? I happened to have an old PPC machine with an
f12 install on it, so I dodged that bullet, but it would be fantastic to be
able to build this root on my modern x86-64 workstation hardware...)
Anyway, I tried to use the "-u" flag to febootstrap (hoping / believing that
it would provide my new root with the most up-to-date packages in my root),
and it failed to find the update repo metadata. I tried it again, without
the "-u" flag, and it mostly succeeded; it failed to install the
"filesystem", and "nscd" (?, error has already scrolled off my
terminal) was
throwing "must be root" errors.
I can duplicate this to get you more info if it would help...
Anyway, the error message and a uname:
$ uname -a
Linux
shiny.int.foiani.com 2.6.31.9-174.fc12.ppc #1 Mon Dec 21 04:59:46 UTC
2009 ppc ppc ppc GNU/Linux
$ febootstrap \
> -i bash -i 'boost*' -i 'g++' -i 'httpd' -i httpd-tools
\
> -u fedora-released-f12 \
> fedora-12 f12-ppc-root
febootstrap | 4.2 kB 00:00
febootstrap/primary_db | 12 MB 00:11
Error: Cannot retrieve repository metadata (repomd.xml) for repository:
febootstrap-updates. Please verify its path and try again
It cannot find the fedora-released-f12 repository for whatever
reason. You should probably find out what path yum is trying
to access.
chroot: failed to run command `rm': No such file or directory
chroot: failed to run command `rm': No such file or directory
These are just a consequence of yum failing.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v