X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=README;h=b8df88ec270c4a231c34a4e1e536d8b75180c3b9;hb=f0893a62d46605305ae14baba6cae3eebffc6005;hp=8551df903972fa5198dbba5c67c7ccad3ce07718;hpb=d42e3067d9fe488acd20a8db8c936fe3f53223e3;p=febootstrap.git diff --git a/README b/README index 8551df9..b8df88e 100644 --- a/README +++ b/README @@ -1,5 +1,6 @@ febootstrap - Bootstrap a basic Fedora system by Richard W.M. Jones (rjones@redhat.com) +http://people.redhat.com/~rjones/febootstrap ---------------------------------------------------------------------- febootstrap is a Fedora equivalent to Debian's debootstrap. You can @@ -32,10 +33,7 @@ Requirements bash - MAKEDEV - - upx - - Ultimate Packer for eXecutables, for minimizing binaries + gcc qemu - If you want to test-run your systems. @@ -53,6 +51,34 @@ you have to set the $PATH to the current directory, ie: PATH=$(pwd):$PATH febootstrap [...] +Debugging +--------- + +If you get segfaults while running febootstrap or errors in the %post +scripts, these are often caused by some incompatibility in the +emulation provided by fakeroot/fakechroot. You can track them down by +running the yum command explicitly. Try: + + fakeroot fakechroot -s \ + yum -y -c /tmp/repo \ + --disablerepo=\* --enablerepo=febootstrap \ + --noplugins --nogpgcheck \ + --installroot=/tmp/root \ + install "@Core" + +where /tmp/repo would be a file like this (change repo and arch +parameters as appropriate): + + [febootstrap] + name=febootstrap + failovermethod=priority + enabled=1 + gpgcheck=0 + mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=x86_64 + +You can insert gdb in the appropriate place in the fakeroot / +fakechroot / yum command. + Feedback and bugs -----------------