[PATCH 0/7] Resubmit: Yocto and musl libc fixes, syslinux parser support
Brett Grandbois
brett.grandbois at opengear.com
Thu Feb 8 13:07:05 AEDT 2018
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
--
2.7.4
More information about the Petitboot
mailing list