[Lunar-commits] r21012 - moonbase/trunk/utils/grub

Zbigniew Luszpinski zbiggy at o2.pl
Sat Sep 1 16:06:17 CEST 2007


Author: v3rt1g0
Date: 2006-08-16 02:34:26 +0000 (Wed, 16 Aug 2006)
New Revision: 21012

Added:
   moonbase/trunk/utils/grub/CONFIGURE
Modified:
   moonbase/trunk/utils/grub/BUILD
   moonbase/trunk/utils/grub/DETAILS
Log:
  New feature: grub (0.97)

   *  Added the option to compile Grub with an eye-candy patch allowing
      the grub boot menu to have an image in the background (like lilo).
      This is the same patch used by other distros (gentoo,ubuntu,etc).

   *  Enabling this doesn't give you an automatic background on the
      boot menu.  It just allows the user the choice to set one if they
      wish.  dveatch and/or I might create a WIKI artical on howto 
      actually set the image (though googling "Grub splash" should find
      the user plenty of HowTos already).

   *  I am not bumping the UPDATED date, as this is obvisouly not
      important enough to make the world recompile their Grubs.


Modified: moonbase/trunk/utils/grub/BUILD
===================================================================
--- moonbase/trunk/utils/grub/BUILD	2006-08-16 00:31:44 UTC (rev 21011)
+++ moonbase/trunk/utils/grub/BUILD	2006-08-16 02:34:26 UTC (rev 21012)
@@ -1,5 +1,14 @@
 (
 
+  # Handle the optional splash patch
+  if [ $WITH_SPLASH = "y" ]; then
+    message "Adding support for grub bootmenu splash images..."
+    patch_it  $SOURCE_CACHE/$SOURCE2  1  &&
+    autoconf  &&
+    aclocal   &&
+    automake
+  fi
+
   unset CFLAGS CXXFLAGS CPPFLAGS &&
   default_build &&            
   gzip -9 ChangeLog &&

Added: moonbase/trunk/utils/grub/CONFIGURE
===================================================================
--- moonbase/trunk/utils/grub/CONFIGURE	                        (rev 0)
+++ moonbase/trunk/utils/grub/CONFIGURE	2006-08-16 02:34:26 UTC (rev 21012)
@@ -0,0 +1 @@
+mquery WITH_SPLASH "Enable unoffical support for bootmenu splash images?" n

Modified: moonbase/trunk/utils/grub/DETAILS
===================================================================
--- moonbase/trunk/utils/grub/DETAILS	2006-08-16 00:31:44 UTC (rev 21011)
+++ moonbase/trunk/utils/grub/DETAILS	2006-08-16 02:34:26 UTC (rev 21012)
@@ -1,9 +1,12 @@
           MODULE=grub
          VERSION=0.97
           SOURCE=$MODULE-$VERSION.tar.gz
+         SOURCE2=grub-splash.patch
    SOURCE_URL[0]=ftp://alpha.gnu.org/gnu/grub/
    SOURCE_URL[1]=http://www.funet.fi/pub/gnu/alpha/gnu/grub/
+     SOURCE2_URL=$PATCH_URL/
       SOURCE_VFY=sha1:2580626c4579bd99336d3af4482c346c95dac4fb
+     SOURCE2_VFY=sha1:ad02a3d37fb6efccbf7f6acd1f8c5cdb6c8a378d
         WEB_SITE=http://www.gnu.org/software/grub
          ENTERED=20020310
          UPDATED=20050508


v3rt1g0,

how to use bootsplash with your patch?
It looks this patch is trying to add splashimage command but it does not work.
However patch adds splashimage to grub code but it is not accessible on boot 
or elsewhere. Also /boot/grub/stage2 file does not have it inside.

Such grub boot screen patch usually work by adding splashimage command to 
stage2 so it can be then used in menu.lst together with image.xpm.gz picture.

have a nice day,
zbiggy


More information about the Lunar-dev mailing list