Commit e3cfb02e authored by Morten Linderud's avatar Morten Linderud 🏄 Committed by Kristian Klausen
Browse files

debuginfod: Implement index website

Signed-off-by: Morten Linderud's avatarMorten Linderud <>
parent 5257b651
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="" lang="en" xml:lang="en">
<!-- HTML is shamelessly copied from -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Debuginfod service &#x2013; Arch Linux</title>
<meta name="generator" content="Org mode" />
<script type="text/javascript">
@licstart The following is the entire license notice for the
JavaScript code in this tag.
Copyright (C) 2012-2020 Free Software Foundation, Inc.
The JavaScript code in this tag is free software: you can
redistribute it and/or modify it under the terms of the GNU
General Public License (GNU GPL) as published by the Free Software
Foundation, either version 3 of the License, or (at your option)
any later version. The code is distributed WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
As additional permission under GNU GPL version 3 section 7, you
may distribute non-source (e.g., minimized or compacted) forms of
that code without the copy of the GNU GPL normally required by
section 4, provided you include this license notice and a URL
through which recipients can access the Corresponding Source.
@licend The above is the entire license notice
for the JavaScript code in this tag.
function CodeHighlightOn(elem, id)
var target = document.getElementById(id);
if(null != target) {
elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className;
target.className = "code-highlighted";
elem.className = "code-highlighted";
function CodeHighlightOff(elem, id)
var target = document.getElementById(id);
elem.className = elem.cacheClassElem;
target.className = elem.cacheClassTarget;
<div id="content">
<h1 class="title">Debuginfod service &#x2013; Arch Linux</h1>
<div class="figure">
<p><img src="archlinux.png" align="center" />
This is the <a href="">debuginfod</a> service for Arch Linux. For more information about
it, please refer to <a href=""></a>.
The following environment variable must be set in your shell to use it:
<div class="org-src-container">
<pre class="src src-shell">DEBUGINFOD_URLS=""
A dashboard can be found on <a href=""></a>.
List of currently available packages can be found on <a href="/packages">here</a>.
......@@ -3,4 +3,4 @@ Description=Synchronize package list
ExecStart=/usr/bin/bash -c "find /srv/ftp/pool/*-debug/ -type f -not -name *.sig > /srv/http/debuginfod/index.html"
ExecStart=/usr/bin/bash -c "find /srv/ftp/pool/*-debug/ -type f -not -name *.sig > /srv/http/debuginfod/packages"
......@@ -19,6 +19,12 @@
- name: create http directory for debuginfod website files
file: path=/srv/http/debuginfod state=directory owner=root group=root mode=0755
- name: install website files
copy: src={{ item }} dest=/srv/http/debuginfod/{{ item }} owner=root group=root mode=0644
- archlinux.png
- index.html
- name: install packagelist units
copy: src={{ item }} dest=/etc/systemd/system/{{ item }} owner=root group=root mode=0644
......@@ -32,12 +32,15 @@ server {
index index.html;
location / {
proxy_set_header X-Forwarded-For $remote_addr;
try_files $uri $uri/ @debuginfod;
location /packages {
location = /packages {
default_type "text/plain";
alias /srv/http/debuginfod/;
location @debuginfod {
proxy_set_header X-Forwarded-For $remote_addr;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment