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

[Minios-devel] [UNIKRAFT PATCH v3 03/23] kconfig: Replace the kernel with Unikraft



Search and replace the Kernel with Unikraft

Signed-off-by: Sharan Santhanam <sharan.santhanam@xxxxxxxxx>
---
 support/kconfig.new/Makefile                       |  2 +-
 support/kconfig.new/gconf.glade                    |  2 +-
 support/kconfig.new/mconf.c                        |  6 +-
 support/kconfig.new/nconf.c                        |  2 +-
 .../patches/01-kconfig-kernel-to-unikraft.patch    | 76 ++++++++++++++++++++++
 support/kconfig.new/qconf.cc                       |  2 +-
 6 files changed, 83 insertions(+), 7 deletions(-)
 create mode 100644 
support/kconfig.new/patches/01-kconfig-kernel-to-unikraft.patch

diff --git a/support/kconfig.new/Makefile b/support/kconfig.new/Makefile
index 3f327e2..7b532c5 100644
--- a/support/kconfig.new/Makefile
+++ b/support/kconfig.new/Makefile
@@ -1,6 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0
 # ===========================================================================
-# Kernel configuration targets
+# Unikraft configuration targets
 # These targets are used from top-level makefile
 
 PHONY += xconfig gconfig menuconfig config localmodconfig localyesconfig \
diff --git a/support/kconfig.new/gconf.glade b/support/kconfig.new/gconf.glade
index aa483cb..03e97d7 100644
--- a/support/kconfig.new/gconf.glade
+++ b/support/kconfig.new/gconf.glade
@@ -4,7 +4,7 @@
 
 <widget class="GtkWindow" id="window1">
   <property name="visible">True</property>
-  <property name="title" translatable="yes">Gtk Kernel Configurator</property>
+  <property name="title" translatable="yes">Gtk Unikraft 
Configurator</property>
   <property name="type">GTK_WINDOW_TOPLEVEL</property>
   <property name="window_position">GTK_WIN_POS_NONE</property>
   <property name="modal">False</property>
diff --git a/support/kconfig.new/mconf.c b/support/kconfig.new/mconf.c
index 694091f..53c4a62 100644
--- a/support/kconfig.new/mconf.c
+++ b/support/kconfig.new/mconf.c
@@ -175,9 +175,9 @@ menu_instructions[] =
        "Arrow keys navigate the menu.  "
        "<Enter> selects submenus ---> (or empty submenus ----).  "
        "Highlighted letters are hotkeys.  "
-       "Pressing <Y> includes, <N> excludes, <M> modularizes features.  "
+       "Pressing <Y> selects a feature, while <N> will exclude a feature.  "
        "Press <Esc><Esc> to exit, <?> for Help, </> for Search.  "
-       "Legend: [*] built-in  [ ] excluded  <M> module  < > module capable",
+       "Legend: [*] feature is selected  [ ] feature is excluded",
 radiolist_instructions[] =
        "Use the arrow keys to navigate this window or "
        "press the hotkey of the item you wish to select "
@@ -957,7 +957,7 @@ static int handle_exit(void)
        if (conf_get_changed())
                res = dialog_yesno(NULL,
                                   "Do you wish to save your new 
configuration?\n"
-                                    "(Press <ESC><ESC> to continue kernel 
configuration.)",
+                                    "(Press <ESC><ESC> to continue Unikraft 
configuration.)",
                                   6, 60);
        else
                res = -1;
diff --git a/support/kconfig.new/nconf.c b/support/kconfig.new/nconf.c
index cbafe3b..d3d908c 100644
--- a/support/kconfig.new/nconf.c
+++ b/support/kconfig.new/nconf.c
@@ -29,7 +29,7 @@ static const char nconf_global_help[] =
 "Menu entries\n"
 "------------\n"
 "This interface lets you select features and parameters for the kernel\n"
-"build.  Kernel features can either be built-in, modularized, or removed.\n"
+"build.  Unikraft features can either be selected or deselected.\n"
 "Parameters must be entered as text or decimal or hexadecimal numbers.\n"
 "\n"
 "Menu entries beginning with following braces represent features that\n"
diff --git a/support/kconfig.new/patches/01-kconfig-kernel-to-unikraft.patch 
b/support/kconfig.new/patches/01-kconfig-kernel-to-unikraft.patch
new file mode 100644
index 0000000..f0d63b4
--- /dev/null
+++ b/support/kconfig.new/patches/01-kconfig-kernel-to-unikraft.patch
@@ -0,0 +1,76 @@
+diff --git a/support/kconfig.new/Makefile b/support/kconfig.new/Makefile
+index 3f327e2..7b532c5 100644
+--- a/support/kconfig.new/Makefile
++++ b/support/kconfig.new/Makefile
+@@ -1,6 +1,6 @@
+ # SPDX-License-Identifier: GPL-2.0
+ # ===========================================================================
+-# Kernel configuration targets
++# Unikraft configuration targets
+ # These targets are used from top-level makefile
+ 
+ PHONY += xconfig gconfig menuconfig config localmodconfig localyesconfig \
+diff --git a/support/kconfig.new/gconf.glade b/support/kconfig.new/gconf.glade
+index aa483cb..03e97d7 100644
+--- a/support/kconfig.new/gconf.glade
++++ b/support/kconfig.new/gconf.glade
+@@ -4,7 +4,7 @@
+ 
+ <widget class="GtkWindow" id="window1">
+   <property name="visible">True</property>
+-  <property name="title" translatable="yes">Gtk Kernel Configurator</property>
++  <property name="title" translatable="yes">Gtk Unikraft 
Configurator</property>
+   <property name="type">GTK_WINDOW_TOPLEVEL</property>
+   <property name="window_position">GTK_WIN_POS_NONE</property>
+   <property name="modal">False</property>
+diff --git a/support/kconfig.new/mconf.c b/support/kconfig.new/mconf.c
+index 694091f..53c4a62 100644
+--- a/support/kconfig.new/mconf.c
++++ b/support/kconfig.new/mconf.c
+@@ -175,9 +175,9 @@ menu_instructions[] =
+       "Arrow keys navigate the menu.  "
+       "<Enter> selects submenus ---> (or empty submenus ----).  "
+       "Highlighted letters are hotkeys.  "
+-      "Pressing <Y> includes, <N> excludes, <M> modularizes features.  "
++      "Pressing <Y> selects a feature, while <N> will exclude a feature.  "
+       "Press <Esc><Esc> to exit, <?> for Help, </> for Search.  "
+-      "Legend: [*] built-in  [ ] excluded  <M> module  < > module capable",
++      "Legend: [*] feature is selected  [ ] feature is excluded",
+ radiolist_instructions[] =
+       "Use the arrow keys to navigate this window or "
+       "press the hotkey of the item you wish to select "
+@@ -957,7 +957,7 @@ static int handle_exit(void)
+       if (conf_get_changed())
+               res = dialog_yesno(NULL,
+                                  "Do you wish to save your new 
configuration?\n"
+-                                   "(Press <ESC><ESC> to continue kernel 
configuration.)",
++                                   "(Press <ESC><ESC> to continue Unikraft 
configuration.)",
+                                  6, 60);
+       else
+               res = -1;
+diff --git a/support/kconfig.new/nconf.c b/support/kconfig.new/nconf.c
+index cbafe3b..d3d908c 100644
+--- a/support/kconfig.new/nconf.c
++++ b/support/kconfig.new/nconf.c
+@@ -29,7 +29,7 @@ static const char nconf_global_help[] =
+ "Menu entries\n"
+ "------------\n"
+ "This interface lets you select features and parameters for the kernel\n"
+-"build.  Kernel features can either be built-in, modularized, or removed.\n"
++"build.  Unikraft features can either be selected or deselected.\n"
+ "Parameters must be entered as text or decimal or hexadecimal numbers.\n"
+ "\n"
+ "Menu entries beginning with following braces represent features that\n"
+diff --git a/support/kconfig.new/qconf.cc b/support/kconfig.new/qconf.cc
+index ce7fc87..0021aa6 100644
+--- a/support/kconfig.new/qconf.cc
++++ b/support/kconfig.new/qconf.cc
+@@ -46,7 +46,7 @@ static inline QString qgettext(const char* str)
+ }
+ 
+ ConfigSettings::ConfigSettings()
+-      : QSettings("kernel.org", "qconf")
++      : QSettings("unikraft.org", "qconf")
+ {
+ }
+ 
diff --git a/support/kconfig.new/qconf.cc b/support/kconfig.new/qconf.cc
index ce7fc87..0021aa6 100644
--- a/support/kconfig.new/qconf.cc
+++ b/support/kconfig.new/qconf.cc
@@ -46,7 +46,7 @@ static inline QString qgettext(const char* str)
 }
 
 ConfigSettings::ConfigSettings()
-       : QSettings("kernel.org", "qconf")
+       : QSettings("unikraft.org", "qconf")
 {
 }
 
-- 
2.7.4


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.