From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1O0FLs-0005B6-8H for mharc-grub-devel@gnu.org; Fri, 09 Apr 2010 10:38:32 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O0FLq-0005AU-9J for grub-devel@gnu.org; Fri, 09 Apr 2010 10:38:30 -0400 Received: from [140.186.70.92] (port=45917 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0FLn-00059l-UO for grub-devel@gnu.org; Fri, 09 Apr 2010 10:38:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O0FLl-0000Mp-4j for grub-devel@gnu.org; Fri, 09 Apr 2010 10:38:27 -0400 Received: from mail-fx0-f212.google.com ([209.85.220.212]:51352) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0FLk-0000Mi-VX for grub-devel@gnu.org; Fri, 09 Apr 2010 10:38:25 -0400 Received: by fxm4 with SMTP id 4so3006964fxm.26 for ; Fri, 09 Apr 2010 07:38:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type; bh=YS3CjcmkRAhM908jAEpaCVyAOsIWkPWY2oYpoSoX7y0=; b=b4RmL8BmkDDF7Nm/5v49t5w0e0t+NLGJBV5v0aCdyO/Q91ovwurszMGpUaos6kgDwQ 1bGklvU973S92LXc8aUgyPiX2tH/ViwlJO6KLlWMkDvPQE22T0CR4Ac+dNglkel8Yjzi HLOSiK+whxRqdDnkqi3oe9rj8aK5SkxQzch70= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=ws/PdHwyMqgDxWp8u1fQvZRY3TasT/j1ss1XYLc4p9xFXPKGPbdkLIOvWbl9Xbo5hH cKxSky1c4uDJ24oE2xBt8zPCzjWwlmvaCuUeZIg16mDPNVngj+63lJbFNLed3EptChsV BJdxFL3y3Xn++JIi9Uk93h03D+TRrMwklkNWE= Received: by 10.223.63.76 with SMTP id a12mr182135fai.10.1270823903778; Fri, 09 Apr 2010 07:38:23 -0700 (PDT) Received: from debian.bg45.phnet (125-149.203-62.cust.bluewin.ch [62.203.149.125]) by mx.google.com with ESMTPS id 1sm2978207fks.54.2010.04.09.07.38.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 09 Apr 2010 07:38:22 -0700 (PDT) Message-ID: <4BBF3BD5.8050609@gmail.com> Date: Fri, 09 Apr 2010 16:38:13 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109) MIME-Version: 1.0 To: The development of GNU GRUB References: In-Reply-To: X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigAE1C17151537E6706B0F78A1" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: grub themes fail to load due to missing dependencies X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Apr 2010 14:38:30 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigAE1C17151537E6706B0F78A1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Mario Vazquez wrote: > Grub 1.98 comes with the gfxmenu patch. The code used to include the > entries in 00_header currently only adds the theme name, but nothing > else. Due to either a bug or feature, currently grub do not load > dependencies automatically. This means that when using a theme, it > will not load the image modules or fonts required by the selected > theme, causing it to fail to load at all. > > =20 Good idea but the implementation has problems like e.g: it may load the same module twice in a setup like: a.png b.jpg c.png I've made my patch based on your idea and I'm currently testing and comitting it. > I included a patch that searches the theme directory, and add the > entries just before the theme file. > > How to reproduce: > 1. Put a GRUB_THEME entry with your theme in /etc/default/grub. > 2. Generate your grub.cfg with grub-mkconfig > 3. Reboot > 4. The theme will not load at all. > > The patch was tested against both grub 1.98 and trunk r2263 > https://savannah.gnu.org/bugs/?29251 > =20 > -----------------------------------------------------------------------= - > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enigAE1C17151537E6706B0F78A1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iF4EAREKAAYFAku/O9sACgkQNak7dOguQgmFuQD/T4bmCtkxVRC6RSpsYlah3rRl 95NwNJKqDlakbNmxavQBAJlqfvgN1H6+tpz8fH9b/4443JywS4MRSLIkjR9F/DK1 =yNc7 -----END PGP SIGNATURE----- --------------enigAE1C17151537E6706B0F78A1--