summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorRichard Jones <rjones@trick.home.annexia.org>2009-08-03 11:35:43 +0100
committerRichard Jones <rjones@trick.home.annexia.org>2009-08-03 11:35:43 +0100
commit41598e9bc5576b3b555abd82c2bf0fbaec6451eb (patch)
tree2c60cb13ed289c6d7460a958e387df04b83bce17 /README
parent0a0783983a6e985c171c9d3ab8d50eb2ba541ba4 (diff)
downloadfebootstrap-41598e9bc5576b3b555abd82c2bf0fbaec6451eb.tar.gz
febootstrap-41598e9bc5576b3b555abd82c2bf0fbaec6451eb.tar.xz
febootstrap-41598e9bc5576b3b555abd82c2bf0fbaec6451eb.zip
doc: Add a section about debugging febootstrap problems.
Diffstat (limited to 'README')
-rw-r--r--README28
1 files changed, 28 insertions, 0 deletions
diff --git a/README b/README
index 8551df9..6ea5511 100644
--- a/README
+++ b/README
@@ -53,6 +53,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
-----------------