diff --git a/README.md b/README.md index 71f98a4..f3167cd 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # grub-theme-openmamba +openmamba default theme for GRUB 2. + diff --git a/grub-theme-openmamba-conf b/grub-theme-openmamba-conf new file mode 100644 index 0000000..2e9ba7e --- /dev/null +++ b/grub-theme-openmamba-conf @@ -0,0 +1,8 @@ +#!/bin/bash + +cat << _EOF +insmod png +background_image /boot/grub/openmamba-grub-1024x768.png +set menu_color_normal=white/black +set menu_color_highlight=white/green +_EOF diff --git a/grub-theme-openmamba.spec b/grub-theme-openmamba.spec new file mode 100644 index 0000000..94575c1 --- /dev/null +++ b/grub-theme-openmamba.spec @@ -0,0 +1,47 @@ +Name: grub-theme-openmamba +Version: 1.0 +Release: 2mamba +Summary: openmamba default theme for GRUB 2 +Group: System/Kernel and Hardware +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.openmamba.org +Source: grub-theme-openmamba-conf +Source1: openmamba-grub-1024x768.png +License: GPL +BuildRoot: %{_tmppath}/%{name}-%{version}-root +BuildArch: noarch +PreReq: grub2 + +%description +openmamba default theme for GRUB 2. + +%prep + +%build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +install -D -m0755 %{SOURCE0} %{buildroot}%{_sysconfdir}/grub.d/05_theme_openmamba +install -D -m0644 %{SOURCE1} %{buildroot}/boot/grub/openmamba-grub-1024x768.png + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +[ -x %{_sbindir}/update-grub -a -e /boot/grub/grub.cfg ] && \ + %{_sbindir}/update-grub +exit 0 + +%files +%defattr(-,root,root) +%{_sysconfdir}/grub.d/05_theme_openmamba +/boot/grub/openmamba-grub-1024x768.png + +%changelog +* Sat Jul 24 2010 Silvan Calarco 1.0-2mamba +- remove openmamba logo from bottom right image corner to impove console usability + +* Tue May 19 2009 Silvan Calarco 1.0-1mamba +- package created diff --git a/openmamba-grub-1024x768.png b/openmamba-grub-1024x768.png new file mode 100644 index 0000000..18f178b Binary files /dev/null and b/openmamba-grub-1024x768.png differ