Displaying 9 results from an estimated 9 matches for "opt_quiet".
2010 Apr 27
4
Patch sensible callback framework
...int)(((float)cur / (float)total) * 100.0);
+ if (percent >= 100)
+ printf(" OK\n");
+}
+
int main(int argc, char *argv[])
{
const char *kernel_name;
@@ -118,11 +145,13 @@ int main(int argc, char *argv[])
size_t kernel_len;
bool opt_dhcpinfo = false;
bool opt_quiet = false;
+ bool opt_percent = false;
void *dhcpdata;
size_t dhcplen;
char **argp, *arg, *p;
- openconsole(&dev_null_r, &dev_stdcon_w);
+
+ console_ansi_raw();
(void)argc;
argp = argv + 1;
@@ -157,16 +186,23 @@ int main(int argc, char *argv[])
if (f...
2017 Mar 05
0
[PATCH] Fix recognition of keeppxe option
...>
> - /* "keeppxe" handling */
> -#if IS_PXELINUX
> - extern char KeepPXE;
> -
> - if (strstr(cmdline, "keeppxe"))
> - KeepPXE |= 1;
> -#endif
> -
> if (strstr(cmdline, "quiet"))
> opt_quiet = true;
>
> --- syslinux-6.04-pre1.orig/com32/lib/syslinux/load_linux.c 2016-03-01 21:06:02.000000000 -0800
> +++ syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c 2016-06-08 20:08:48.000000000 -0700
> @@ -48,6 +48,7 @@
> #include <syslinux/movebits.h>
> #include <...
2016 Jun 10
4
[PATCH] Fix recognition of keeppxe option
...inux_kernel(char *okernel, char
sprintf(cmdline, "BOOT_IMAGE=%s %s", kernel_name, args);
- /* "keeppxe" handling */
-#if IS_PXELINUX
- extern char KeepPXE;
-
- if (strstr(cmdline, "keeppxe"))
- KeepPXE |= 1;
-#endif
-
if (strstr(cmdline, "quiet"))
opt_quiet = true;
--- syslinux-6.04-pre1.orig/com32/lib/syslinux/load_linux.c 2016-03-01 21:06:02.000000000 -0800
+++ syslinux-6.04-pre1/com32/lib/syslinux/load_linux.c 2016-06-08 20:08:48.000000000 -0700
@@ -48,6 +48,7 @@
#include <syslinux/movebits.h>
#include <syslinux/firmware.h>
#includ...
2010 Apr 23
1
Path simple menu integrated progress indicator
...------------------------------------------------------------- */
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <fcntl.h>
+#include <sys/stat.h>
+#include <syslinux/linux.h>
+
#include <com32.h>
#include "menu.h"
+bool opt_quiet = false;
+
+static const char *refdup_word(char **p)
+{
+ char *sp = *p;
+ char *ep = sp;
+
+ while (*ep && !my_isspace(*ep))
+ ep++;
+
+ *p = ep;
+ return refstrndup(sp, ep - sp);
+}
+
+
+// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+c...
2016 Mar 20
0
[PATCH 0/1] EFI image booting capabilities
...ux/loadfile.h>
> #include <syslinux/linux.h>
> #include <syslinux/pxe.h>
> +#include <syslinux/firmware.h>
> #include "core.h"
>
> const char *globaldefault = NULL;
> @@ -23,6 +28,9 @@ int new_linux_kernel(char *okernel, char
> bool opt_quiet = false;
> char *initrd_name, *cmdline;
>
> + if(firmware && firmware->clear_screen)
> + firmware->clear_screen();
> +
> dprintf("okernel = %s, ocmdline = %s", okernel, ocmdline);
>
> if (okernel)
The fir...
2015 Feb 20
6
[PATCH 0/1] EFI image booting capabilities
....h>
@@ -7,6 +11,7 @@
#include <syslinux/loadfile.h>
#include <syslinux/linux.h>
#include <syslinux/pxe.h>
+#include <syslinux/firmware.h>
#include "core.h"
const char *globaldefault = NULL;
@@ -23,6 +28,9 @@ int new_linux_kernel(char *okernel, char
bool opt_quiet = false;
char *initrd_name, *cmdline;
+ if(firmware && firmware->clear_screen)
+ firmware->clear_screen();
+
dprintf("okernel = %s, ocmdline = %s", okernel, ocmdline);
if (okernel)
@@ -129,3 +137,70 @@ bail:
printf("%s\n", strerror...
2012 Apr 17
2
[GIT PULL] elflink warning fixes and auto extension support
...l be called from readconfig.c */
int new_linux_kernel(char *okernel, char *ocmdline)
{
- const char *kernel_name;
+ const char *kernel_name = NULL;
struct initramfs *initramfs = NULL;
char *temp;
void *kernel_data;
@@ -23,7 +23,6 @@ int new_linux_kernel(char *okernel, char *ocmdline)
bool opt_quiet = false;
char initrd_name[256];
char cmdline_buf[256], *cmdline;
- int i;
dprintf("okernel = %s, ocmdline = %s", okernel, ocmdline);
diff --git a/com32/elflink/ldlinux/ldlinux.c b/com32/elflink/ldlinux/ldlinux.c
index 6c306ad..da93c54 100644
--- a/com32/elflink/ldlinux/ldlinux.c...
2012 Mar 23
19
[PATCH 00/19][elflink] Improve compatibility with 4.x
From: Matt Fleming <matt.fleming at intel.com>
The following patch series is available at,
git://git.zytor.com/users/mfleming/syslinux.git elflink
All patches are against the 'elflink' branch.
This series fixes a few serious bugs and some behavioural
incompatibilities with the 4.x series.
Matt Fleming (19):
ldlinux: Initialise 'p' before using it.
ldlinux: Parse
2011 Apr 16
20
[PATCH 00/20] Switch to ELF modules
From: Matt Fleming <matt.fleming at linux.intel.com>
This series fixes some bugs and switches the elflink branch to be
entirely ELF modules. It applies on top of,
http://syslinux.zytor.com/archives/2011-April/016369.html
The deletions in the diff stat below are mainly from deleting
com32/elflink/modules (finally!). Now there should be no duplicate
code because we don't need COM32 and