From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1THcHn-0002Xx-D3 for mharc-grub-devel@gnu.org; Fri, 28 Sep 2012 11:15:27 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47803) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THcHc-0002XA-Tz for grub-devel@gnu.org; Fri, 28 Sep 2012 11:15:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1THcHb-0006pg-Px for grub-devel@gnu.org; Fri, 28 Sep 2012 11:15:16 -0400 Received: from mail-la0-f41.google.com ([209.85.215.41]:48433) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THcHb-0006nY-Ir for grub-devel@gnu.org; Fri, 28 Sep 2012 11:15:15 -0400 Received: by lagp5 with SMTP id p5so1110456lag.0 for ; Fri, 28 Sep 2012 08:15:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:date:content-type:x-mailer:mime-version :content-transfer-encoding; bh=eMVO9FSNQh+A12+0/DnOoPUddbf6SnzqJjqpRaTB7xQ=; b=mBMOryXcCmHrgw11qPv432AoS84M/BBvCkEbmzHaqk7w2Gw+FJF1lukts+D3ac0n/1 PaFZCSTH8ZIc4Bc9iTug5yFa1daTR0D/DmrvHgvIADQlMS3AIoS6zybn4+NkCWNhUBj0 nnhC2+8xHXBucz7HuP/HnBxDEClyzIdrDq/w1Sp1JE1pkc5CfjEPd39fR5uUFwHpLADn eU54zZyvOLZUlkbeuU8zJYf0sXbNId4RGTLeehoBwFlNV7BZasa3xu48v675qqpZPd2D yk/IE8QExWCnuiFJOe2ImisTzF1SwiRKwD9P6IUdZLmAnejVTgcfbFcRqU2+Sv5icvFV Jdog== Received: by 10.152.123.133 with SMTP id ma5mr6203143lab.8.1348845314193; Fri, 28 Sep 2012 08:15:14 -0700 (PDT) Received: from [192.168.10.142] (ppp83-237-44-142.pppoe.mtu-net.ru. [83.237.44.142]) by mx.google.com with ESMTPS id c6sm2563525lbn.1.2012.09.28.08.15.12 (version=SSLv3 cipher=OTHER); Fri, 28 Sep 2012 08:15:12 -0700 (PDT) Message-ID: <1348845306.1718.9.camel@opensuse.site> Subject: Existing values of color_normal/color_highlight are ignored when new video driver is loaded. From: Andrey Borzenkov To: grub-devel@gnu.org Date: Fri, 28 Sep 2012 19:15:06 +0400 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.4.4 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.215.41 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 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, 28 Sep 2012 15:15:26 -0000 All video drivers hardcode default text colors, so they ignore any value set before module was loaded. This could be quite confusing if you are looking for issues with colors during boot. Unfortunately fixing this appears somewhat not trivial. Is there any way in GRUB2 to conditionally execute function from another module, something like if module-foo-is-loaded call function-from-foo else do nothing ? Or at least is it possible to test whether specific module is currently loaded? Thank you -andrey