Supermin appliance.
[febootstrap.git] / README
diff --git a/README b/README
index ffc6608..38afbb3 100644 (file)
--- a/README
+++ b/README
@@ -34,9 +34,6 @@ Requirements
 
   MAKEDEV
 
-  upx
-    - Ultimate Packer for eXecutables, for minimizing binaries
-
   qemu
     - If you want to test-run your systems.
 
@@ -47,6 +44,40 @@ Building and installing
   make
   sudo make install
 
+Note, if you want to run the scripts locally without installing,
+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
 -----------------