mbox series

[0/7] Resubmit: Yocto and musl libc fixes, syslinux parser support

Message ID 1518055632-11462-1-git-send-email-brett.grandbois@opengear.com
Headers show
Series Resubmit: Yocto and musl libc fixes, syslinux parser support | expand

Message

Grandbois, Brett Feb. 8, 2018, 2:07 a.m. UTC
Hi Sam,

Resubmitting this due to some STMP server issues we were having likely would 
have labeled the prior attempt as junk.

Various minor fixes for building and running in a Yocto-based musl libc environment.

Add parser support for SYSLINUX following the specifcation:
http://www.syslinux.org/wiki/index.php?title=SYSLINUX#How_do_I_Configure_SYSLINUX.3F

Brett Grandbois (7):
  discover/pb-discover: #include <locale.h> for musl libc
  ncurses/nc-cui: musl libc fixes
  ncurses/nc-cui: fix unreferenced assertion variable
  grub2/grub2-parser: accept no whitespace in grub menuentry
  grub2/grub2: add Yocto paths to default grub2 conf search paths
  test/parser: test no whitespace on grub menuentry
  syslinux: add syslinux parser support

 discover/Makefile.am                         |   3 +-
 discover/grub2/grub2-parser.y                |   2 +-
 discover/grub2/grub2.c                       |   2 +
 discover/pb-discover.c                       |   1 +
 discover/syslinux-parser.c                   | 486 +++++++++++++++++++++++++++
 test/parser/Makefile.am                      |  14 +-
 test/parser/data/syslinux-include-nest-1.cfg |   7 +
 test/parser/data/syslinux-include-nest-2.cfg |   6 +
 test/parser/data/syslinux-include-root.cfg   |  18 +
 test/parser/test-grub2-single-yocto.c        |  38 +++
 test/parser/test-syslinux-explicit.c         |  41 +++
 test/parser/test-syslinux-global-append.c    |  56 +++
 test/parser/test-syslinux-nested-config.c    |  41 +++
 test/parser/test-syslinux-single-yocto.c     |  36 ++
 ui/ncurses/nc-cui.c                          |   6 +-
 15 files changed, 751 insertions(+), 6 deletions(-)
 create mode 100644 discover/syslinux-parser.c
 create mode 100644 test/parser/data/syslinux-include-nest-1.cfg
 create mode 100644 test/parser/data/syslinux-include-nest-2.cfg
 create mode 100644 test/parser/data/syslinux-include-root.cfg
 create mode 100644 test/parser/test-grub2-single-yocto.c
 create mode 100644 test/parser/test-syslinux-explicit.c
 create mode 100644 test/parser/test-syslinux-global-append.c
 create mode 100644 test/parser/test-syslinux-nested-config.c
 create mode 100644 test/parser/test-syslinux-single-yocto.c

Comments

Sam Mendoza-Jonas Feb. 8, 2018, 4:12 a.m. UTC | #1
On Thu, 2018-02-08 at 12:07 +1000, Brett Grandbois wrote:
> Hi Sam,
> 
> Resubmitting this due to some STMP server issues we were having likely would 
> have labeled the prior attempt as junk.

Looks like the first series arrived.. eventually, must have taken the
long way.
Sam Mendoza-Jonas Feb. 12, 2018, 4:04 a.m. UTC | #2
On Thu, 2018-02-08 at 12:07 +1000, Brett Grandbois wrote:
> Hi Sam,
> 
> Resubmitting this due to some STMP server issues we were having likely would 
> have labeled the prior attempt as junk.
> 
> Various minor fixes for building and running in a Yocto-based musl libc environment.
> 
> Add parser support for SYSLINUX following the specifcation:
> http://www.syslinux.org/wiki/index.php?title=SYSLINUX#How_do_I_Configure_SYSLINUX.3F
> 
> Brett Grandbois (7):
>   discover/pb-discover: #include <locale.h> for musl libc
>   ncurses/nc-cui: musl libc fixes
>   ncurses/nc-cui: fix unreferenced assertion variable
>   grub2/grub2-parser: accept no whitespace in grub menuentry
>   grub2/grub2: add Yocto paths to default grub2 conf search paths
>   test/parser: test no whitespace on grub menuentry
>   syslinux: add syslinux parser support

Thanks, merged as 02af1caf

I do plan to combine syslinux-parser and pxe-parser at some point, but
since there are a few differences that need to be resolved no need to
hold this up in the meantime.

Cheers,
Sam

> 
>  discover/Makefile.am                         |   3 +-
>  discover/grub2/grub2-parser.y                |   2 +-
>  discover/grub2/grub2.c                       |   2 +
>  discover/pb-discover.c                       |   1 +
>  discover/syslinux-parser.c                   | 486 +++++++++++++++++++++++++++
>  test/parser/Makefile.am                      |  14 +-
>  test/parser/data/syslinux-include-nest-1.cfg |   7 +
>  test/parser/data/syslinux-include-nest-2.cfg |   6 +
>  test/parser/data/syslinux-include-root.cfg   |  18 +
>  test/parser/test-grub2-single-yocto.c        |  38 +++
>  test/parser/test-syslinux-explicit.c         |  41 +++
>  test/parser/test-syslinux-global-append.c    |  56 +++
>  test/parser/test-syslinux-nested-config.c    |  41 +++
>  test/parser/test-syslinux-single-yocto.c     |  36 ++
>  ui/ncurses/nc-cui.c                          |   6 +-
>  15 files changed, 751 insertions(+), 6 deletions(-)
>  create mode 100644 discover/syslinux-parser.c
>  create mode 100644 test/parser/data/syslinux-include-nest-1.cfg
>  create mode 100644 test/parser/data/syslinux-include-nest-2.cfg
>  create mode 100644 test/parser/data/syslinux-include-root.cfg
>  create mode 100644 test/parser/test-grub2-single-yocto.c
>  create mode 100644 test/parser/test-syslinux-explicit.c
>  create mode 100644 test/parser/test-syslinux-global-append.c
>  create mode 100644 test/parser/test-syslinux-nested-config.c
>  create mode 100644 test/parser/test-syslinux-single-yocto.c
>