Add background image for grub.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 19 May 2012 16:24:42 +0000 (18:24 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 19 May 2012 16:24:42 +0000 (18:24 +0200)
Makefile
bootloader/Makefile [new file with mode: 0644]
bootloader/background.svg [new file with mode: 0644]

index 7253e1b..614ad8a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@
 include Makeconf
 include Makerules
 
-SUBDIRS = icons plymouth
+SUBDIRS = bootloader icons plymouth
 
 all:
        for subdir in $(SUBDIRS); do \
diff --git a/bootloader/Makefile b/bootloader/Makefile
new file mode 100644 (file)
index 0000000..023804f
--- /dev/null
@@ -0,0 +1,24 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+include ../Makeconf
+include ../Makerules
+
+GRUB_THEME_PATH = $(DESTDIR)/boot/grub/themes/system/
+
+BOOTLOADER_BACKGROUND_IN  = background.svg
+BOOTLOADER_BACKGROUND_OUT = background.png
+
+all: $(BOOTLOADER_BACKGROUND_OUT)
+
+$(BOOTLOADER_BACKGROUND_OUT): $(BOOTLOADER_BACKGROUND_IN)
+       convert $< $@
+
+install: $(BOOTLOADER_BACKGROUND_OUT)
+       -mkdir pv $(GRUB_THEME_PATH)
+       install -m 644 $< $(GRUB_THEME_PATH)
+
+clean:
+       rm -vf $(BOOTLOADER_BACKGROUND_OUT)
diff --git a/bootloader/background.svg b/bootloader/background.svg
new file mode 100644 (file)
index 0000000..e79804d
--- /dev/null
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:xlink="http://www.w3.org/1999/xlink"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="2048"
+   height="1536"
+   id="svg2"
+   version="1.1"
+   inkscape:version="0.48.1 r9760"
+   sodipodi:docname="New document 1">
+  <defs
+     id="defs4">
+    <linearGradient
+       id="linearGradient3013">
+      <stop
+         style="stop-color:#880400;stop-opacity:1;"
+         offset="0"
+         id="stop3015" />
+      <stop
+         style="stop-color:#000000;stop-opacity:1;"
+         offset="1"
+         id="stop3017" />
+    </linearGradient>
+    <inkscape:perspective
+       sodipodi:type="inkscape:persp3d"
+       inkscape:vp_x="0 : 768 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_z="2048 : 768 : 1"
+       inkscape:persp3d-origin="1024 : 512 : 1"
+       id="perspective2995" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient3013"
+       id="linearGradient3019"
+       x1="997.14288"
+       y1="661.71429"
+       x2="997.14288"
+       y2="1456"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(0.9752381,0,0,0.98281533,25.07755,-474.09047)" />
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="0.35"
+     inkscape:cx="952.14286"
+     inkscape:cy="742.85714"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     inkscape:window-width="1280"
+     inkscape:window-height="966"
+     inkscape:window-x="0"
+     inkscape:window-y="26"
+     inkscape:window-maximized="1" />
+  <metadata
+     id="metadata7">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(0,483.63782)">
+    <rect
+       style="fill:url(#linearGradient3019);fill-opacity:1;stroke:none"
+       id="rect3011"
+       width="2048"
+       height="1536"
+       x="0"
+       y="-483.63782" />
+  </g>
+</svg>