From 08ff4bee10d51f35cbb55a03cbce420b89433b79 Mon Sep 17 00:00:00 2001 From: Will Woods Date: Mon, 23 Feb 2009 10:43:09 -0500 Subject: Split README into client/server, bring back debuginfofs.sysconfig for the client service --- README | 24 +++--------------------- README.client | 4 ++++ debuginfofs.sysconfig | 6 ++++++ 3 files changed, 13 insertions(+), 21 deletions(-) create mode 100644 README.client create mode 100644 debuginfofs.sysconfig diff --git a/README b/README index 8879236..a74020b 100644 --- a/README +++ b/README @@ -1,26 +1,8 @@ Fetching data for a debuginfofs server: the easy way -1) edit config.sh - the defaults should be fine for most people. -2) edit rsync-fedora-debuginfo.sh - - Change 'server' to something closer to you - - If you need something other than Fedora, you're on your own. - -Fetching data for a debuginfofs server: complete instructions -1) edit config.sh - again, the defaults should be fine for most people. -2) Fetch all the debuginfo RPMs somewhere - - If you've got them on an NFS mount somewhere, this is easy. - - Eventually there'll be a 'fetch-debuginfo-rpms' script that will do the - right thing for Fedora or RHEL, let you use http/ftp mirrors, etc. - - For now: you're on your own. -3) find $rpmdir -name "*.rpm" -exec ./unpack-debuginfo.sh my-debuginfo-dir {} + -4) ./make-links.sh my-debuginfo-dir +1) Edit /etc/debuginfofs.conf (if needed) +2) run debuginfofs-mirror REPO [REPO...] Running the debuginfofs server -1) cp dav-debuginfo.conf /etc/httpd/conf.d +1) vi /etc/httpd/conf.d/dav-debuginfo.conf - Make sure the Alias line matches exportdir in config.sh 2) service httpd start - -Mounting the debuginfofs on the client -1) cp debuginfofs.init /etc/init.d -2) cp debuginfofs.sysconfig /etc/sysconfig/debuginfofs - - Make sure DEBUGINFOFS_HOST matches your server -3) service debuginfofs start diff --git a/README.client b/README.client new file mode 100644 index 0000000..99999e1 --- /dev/null +++ b/README.client @@ -0,0 +1,4 @@ +Mounting the debuginfofs on the client +1) vi /etc/sysconfig/debuginfofs + - Make sure DEBUGINFOFS_HOST matches your server +2) service debuginfofs start diff --git a/debuginfofs.sysconfig b/debuginfofs.sysconfig new file mode 100644 index 0000000..9b9b378 --- /dev/null +++ b/debuginfofs.sysconfig @@ -0,0 +1,6 @@ +# You will need to set this to the correct hostname +DEBUGINFOFS_SERVER="test1085.test.redhat.com" +# You shouldn't need to edit these under normal circumstances +BUILDID_URL="http://$DEBUGINFOFS_SERVER/debuginfofs/build-id/" +BUILDID_MOUNTPOINT="/usr/lib/debug/.build-id" +BUILDID_ARGS="-o umask=022" -- cgit