Re: [PATCH system-config-keyboard: add dracutSetupString() method

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 08/05/2009 03:02 AM, Lubomir Rintel wrote:
On Tue, 2009-08-04 at 20:26 +0200, Hans de Goede wrote:
Hi Lubomir,

This patch adds a dracutSetupString() method

You probably forgot to attach the patch


Thats what you get from working late in the evening (the patch was
written earlier in the day, but it took a while to finish testing,
anaconda has a slow debug cycle).

I've attached the patch this time :)

Regards,

Hans
Index: lib/keyboard.py
===================================================================
--- lib/keyboard.py	(revision 596)
+++ lib/keyboard.py	(working copy)
@@ -186,3 +186,15 @@
 
         if os.access(argv[0], os.X_OK) == 1:
             call (argv)
+
+    def dracutSetupString(self):
+        args = ""
+        keyboardtype = self._var("KEYBOARDTYPE")
+        keytable = self._var("KEYTABLE")
+
+        if keyboardtype:
+             args += " KEYBOARDTYPE=%s" % keyboardtype
+        if keytable:
+             args += " KEYTABLE=%s" % keytable
+
+        return args
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux