[PATCH 2/4] Add the kssendsn parameter and corresponding flag.

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

 



---
 loader/loader.c |    2 ++
 loader/loader.h |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/loader/loader.c b/loader/loader.c
index 53e00fd..479909f 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -951,6 +951,8 @@ static void parseCmdLineFlags(struct loaderData_s * loaderData,
 #endif
         else if (!strcasecmp(argv[i], "kssendmac"))
             flags |= LOADER_FLAGS_KICKSTART_SEND_MAC;
+        else if (!strcasecmp(argv[i], "kssendsn"))
+            flags |= LOADER_FLAGS_KICKSTART_SEND_SERIAL;
         /* deprecated hardware bits */
         else if (!strcasecmp(argv[i], "nousbstorage"))
             mlAddBlacklist("usb-storage");
diff --git a/loader/loader.h b/loader/loader.h
index 4808fc8..10eb4ea 100644
--- a/loader/loader.h
+++ b/loader/loader.h
@@ -69,6 +69,7 @@
 #define LOADER_FLAGS_ALLOW_WIRELESS     (((uint64_t) 1) << 36)
 #define LOADER_FLAGS_HAVE_CMSCONF       (((uint64_t) 1) << 37)
 #define LOADER_FLAGS_NOKILL		(((uint64_t) 1) << 38)
+#define LOADER_FLAGS_KICKSTART_SEND_SERIAL   (((uint64_t) 1) << 39)
 
 #define FL_TESTING(a)            ((a) & LOADER_FLAGS_TESTING)
 #define FL_TEXT(a)               ((a) & LOADER_FLAGS_TEXT)
@@ -105,6 +106,7 @@
 #define FL_ALLOW_WIRELESS(a)     ((a) & LOADER_FLAGS_ALLOW_WIRELESS)
 #define FL_HAVE_CMSCONF(a)       ((a) & LOADER_FLAGS_HAVE_CMSCONF)
 #define FL_NOKILL(a)		 ((a) & LOADER_FLAGS_NOKILL)
+#define FL_KICKSTART_SEND_SERIAL(a) ((a) & LOADER_FLAGS_KICKSTART_SEND_SERIAL)
 
 void startNewt(void);
 void stopNewt(void);
-- 
1.6.4

_______________________________________________
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