summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-11-22 14:36:42 +0100
committerDaniel Baumann <daniel@debian.org>2009-11-22 14:38:00 +0100
commita62f12110b19a52a58d7eae871012202cfa16055 (patch)
tree0bd188079c808ee8956fb5304c46ce8266b49f75 /contrib
downloadvyos-live-build-a62f12110b19a52a58d7eae871012202cfa16055.tar.gz
vyos-live-build-a62f12110b19a52a58d7eae871012202cfa16055.zip
Renaming categories to archive areas (Closes: #519690).
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/graph-helpers/graph-helpers.py74
-rw-r--r--contrib/grub-splash/COPYING26
-rw-r--r--contrib/grub-splash/klowner.rlebin0 -> 9519 bytes
-rw-r--r--contrib/grub-splash/klowner_debboot.pngbin0 -> 6329 bytes
-rw-r--r--contrib/grub-splash/live.xpm.gzbin0 -> 7763 bytes
-rw-r--r--contrib/grub-splash/live_debboot.pngbin0 -> 15765 bytes
-rw-r--r--contrib/syslinux-splash/COPYING26
-rw-r--r--contrib/syslinux-splash/klowner.rlebin0 -> 9519 bytes
-rw-r--r--contrib/syslinux-splash/klowner_debboot.pngbin0 -> 6329 bytes
-rw-r--r--contrib/syslinux-splash/live.rlebin0 -> 10489 bytes
-rw-r--r--contrib/syslinux-splash/live_debboot.pngbin0 -> 103088 bytes
11 files changed, 126 insertions, 0 deletions
diff --git a/contrib/graph-helpers/graph-helpers.py b/contrib/graph-helpers/graph-helpers.py
new file mode 100755
index 000000000..a0eceb870
--- /dev/null
+++ b/contrib/graph-helpers/graph-helpers.py
@@ -0,0 +1,74 @@
+#!/usr/bin/env python
+
+"""
+ live-helper simulated execution graph generator.
+ Copyright (C) 2007 Chris Lamb <chris@chris-lamb.co.uk>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+"""
+
+import sys, re
+import pygraphviz
+
+groups = {
+ 'lh_bootstrap' : 'orange',
+ 'lh_chroot' : 'red',
+ 'lh_source' : 'blue',
+ 'lh_binary' : 'green',
+ 'lh_build' : 'brown'
+}
+pattern = re.compile(r'^(lh_.+?) ')
+
+def main(start):
+ global prev
+ G = pygraphviz.AGraph(directed=True)
+ G.graph_attr['label'] = 'Simulated execution trace for live-helper.'
+
+ def helper(filename):
+ global prev
+ for line in gen_matches(filename):
+ G.add_edge(prev, line)
+ style(G.get_node(prev), prev)
+ prev = line
+ helper(line)
+
+ prev = start
+ helper(start)
+ G.layout(prog='dot')
+ print G.draw(format='svg')
+
+def style(node, name):
+ if name in groups.keys():
+ node.attr['shape'] = 'box'
+ node.attr['style'] = 'bold'
+ else:
+ node.attr['fontsize'] = '11'
+ for group_name, color in groups.iteritems():
+ if name.startswith(group_name):
+ node.attr['color'] = color
+ return node
+
+def gen_matches(filename):
+ f = open('/usr/bin/%s' % filename, 'r')
+ for line in f.xreadlines():
+ match = pattern.match(line)
+ if match:
+ yield match.group(1)
+ f.close()
+
+if __name__ == "__main__":
+ if len(sys.argv) == 2:
+ main(sys.argv[1])
+ else:
+ main('lh_build')
diff --git a/contrib/grub-splash/COPYING b/contrib/grub-splash/COPYING
new file mode 100644
index 000000000..f06b0e648
--- /dev/null
+++ b/contrib/grub-splash/COPYING
@@ -0,0 +1,26 @@
+The grub splash for Debian Live was made by Daniel Baumann <daniel@debian.org>
+based on the original work of Mark Riedesel.
+
+The contribution of Daniel is hereby placed in the public domain (no rights
+reserved).
+
+---------------
+http://dugnet.com/klown/pics/klowner_debboot.png
+by Mark Riedesel, license same as open use logo
+
+To create klowner.rle:
+
+ 1. convert klowner.png klowner.bmp
+ 2. bmptoppm < klowner.bmp | ppmtolss16 #FBFDFA=7 > klowner.rle
+
+ (FBFDFA is the color used for the inside of the "n" in Debian.)
+---------------
+
+Debian Open Use Logo License
+
+Copyright (c) 1999 Software in the Public Interest
+This logo or a modified version may be used by anyone to refer to the Debian
+project, but does not indicate endorsement by the project.
+
+Note: we would appreciate that you make the image a link to
+http://www.debian.org/ if you use it on a web page.
diff --git a/contrib/grub-splash/klowner.rle b/contrib/grub-splash/klowner.rle
new file mode 100644
index 000000000..126b6b2ee
--- /dev/null
+++ b/contrib/grub-splash/klowner.rle
Binary files differ
diff --git a/contrib/grub-splash/klowner_debboot.png b/contrib/grub-splash/klowner_debboot.png
new file mode 100644
index 000000000..5ca51d816
--- /dev/null
+++ b/contrib/grub-splash/klowner_debboot.png
Binary files differ
diff --git a/contrib/grub-splash/live.xpm.gz b/contrib/grub-splash/live.xpm.gz
new file mode 100644
index 000000000..ea1623b4d
--- /dev/null
+++ b/contrib/grub-splash/live.xpm.gz
Binary files differ
diff --git a/contrib/grub-splash/live_debboot.png b/contrib/grub-splash/live_debboot.png
new file mode 100644
index 000000000..a246cfb29
--- /dev/null
+++ b/contrib/grub-splash/live_debboot.png
Binary files differ
diff --git a/contrib/syslinux-splash/COPYING b/contrib/syslinux-splash/COPYING
new file mode 100644
index 000000000..440fcaa86
--- /dev/null
+++ b/contrib/syslinux-splash/COPYING
@@ -0,0 +1,26 @@
+The syslinux splash for Debian Live was made by Daniel Baumann
+<daniel@debian.org> based on the original work of Mark Riedesel.
+
+The contribution of Daniel is hereby placed in the public domain (no rights
+reserved).
+
+---------------
+http://dugnet.com/klown/pics/klowner_debboot.png
+by Mark Riedesel, license same as open use logo
+
+To create klowner.rle:
+
+ 1. convert klowner.png klowner.bmp
+ 2. bmptoppm < klowner.bmp | ppmtolss16 #FBFDFA=7 > klowner.rle
+
+ (FBFDFA is the color used for the inside of the "n" in Debian.)
+---------------
+
+Debian Open Use Logo License
+
+Copyright (c) 1999 Software in the Public Interest
+This logo or a modified version may be used by anyone to refer to the Debian
+project, but does not indicate endorsement by the project.
+
+Note: we would appreciate that you make the image a link to
+http://www.debian.org/ if you use it on a web page.
diff --git a/contrib/syslinux-splash/klowner.rle b/contrib/syslinux-splash/klowner.rle
new file mode 100644
index 000000000..126b6b2ee
--- /dev/null
+++ b/contrib/syslinux-splash/klowner.rle
Binary files differ
diff --git a/contrib/syslinux-splash/klowner_debboot.png b/contrib/syslinux-splash/klowner_debboot.png
new file mode 100644
index 000000000..5ca51d816
--- /dev/null
+++ b/contrib/syslinux-splash/klowner_debboot.png
Binary files differ
diff --git a/contrib/syslinux-splash/live.rle b/contrib/syslinux-splash/live.rle
new file mode 100644
index 000000000..df3e15de2
--- /dev/null
+++ b/contrib/syslinux-splash/live.rle
Binary files differ
diff --git a/contrib/syslinux-splash/live_debboot.png b/contrib/syslinux-splash/live_debboot.png
new file mode 100644
index 000000000..6944a0b06
--- /dev/null
+++ b/contrib/syslinux-splash/live_debboot.png
Binary files differ