[git pull] Fixes for Petitboot 1.7.x
Klaus Heinrich Kiwi
klaus at linux.vnet.ibm.com
Fri Jan 17 03:08:06 AEDT 2020
Hi Jeremy,
can you pull the fixes below into 1.7.x? We did some IPL testing on a
Boston system, and If you're satisfied with them, I think a new 1.7.6
release might be tagged.
Thanks,
-Klaus
----------------------------------------------------------------
The following changes since commit 47038255f6ec971e8273c441066f8b1cba3380b7:
lib/url: Include port in pb_url_to_string() (2019-02-01 15:06:50 +1100)
are available in the Git repository at:
https://github.com/klauskiwi/petitboot.git petitboot_1.7.x_backports
for you to fetch changes up to 7b4d036f3894ad66234e52d59d24fdbc9ae12508:
test/parser: Add RHEL8 grub config test (2019-12-23 11:36:34 -0300)
----------------------------------------------------------------
Brandon Bergren (1):
Fix pb-discover segfaults caused by list corruption.
Brett Grandbois (3):
discover/grub: Add cmdline signature support for BLS entries
lib/file: remove mkstemp umask in copy_file_secure_dest
discover/boot: abort kexec on any error from validation
Geoff Levand (1):
lib/talloc: Fix TALLOC_ABORT
Javier Martinez Canillas (10):
discover/grub: Add blscfg command support to parse BootLoaderSpec
files
discover/grub: Allow to choose a different BLS directory
discover/grub: Reverse BLS entries sorting to match Petitboot's
boot order
discover/grub: Don't add discover context boot options in blscfg
handler
discover/grub: Allow to set a default index for BLS entries
test/parser: Make parser_scandir() ignore files with path len
less than dir
discover/grub: Use different paths to search for the BLS directory
discover/grub: Improve BLS grub environment variables expansion
discover/grub2: Allow using title for default even if id was defined
discover/grub2: Allow to separate the --id argument using a space
char
Jeremy Kerr (14):
discover/grub2: 'search' set-variable defaults to root
discover/grub2: Use getopt for `search` argument parsing
discover/grub2: test for (ignored) --no-floppy argument
discover/grub2: Add support for UUID and label for 'search' command
discover/grub2: expose a struct for grub2 file references
discover/grub2: Add parsing code for grub2 file specifiers
discover/grub2: add support for grub2-style path specifiers in
resources
discover/grub2: Allow (device)/path references in general script
usage
discover/grub2: Add a reference from script to parser
discover/grub2: expose internal parse function
discover/grub2: make statements_execute non-static
discover/grub2: implement 'source' command
test/parser: Add test for recent RHCOS grub2 config
test/parser: Add RHEL8 grub config test
Samuel Mendoza-Jonas (10):
discover/pxe-parser: Avoid potential null dereference
lib/file: Avoid off-by-one error in array
lib/security: Fix broken if statements in gpg_validate_boot_files()
discover: Rescan SCSI devices on reinit
discover/udev: Don't require ID_NET_NAME_PATH property
discover/user-event: Check for required parameters
discover/boot: Fix talloc parent for resource URLs
discover: Display warning if saving config fails
utils/pb-console: Ignore SIGINT
utils: Quote plugin name and vendor variables
configure.ac | 1 +
discover/boot.c | 20 ++--
discover/device-handler.c | 8 +-
discover/grub2/Makefile.am | 1 +
discover/grub2/blscfg.c | 328
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
discover/grub2/builtins.c | 215
++++++++++++++++++++++++++++++++------
discover/grub2/grub2-parser.y | 17 ++-
discover/grub2/grub2.c | 110
++++++++++++++++----
discover/grub2/grub2.h | 32 +++++-
discover/grub2/script.c | 26 +++--
discover/parser.c | 16 +++
discover/parser.h | 8 ++
discover/pxe-parser.c | 7 +-
discover/syslinux-parser.c | 1 +
discover/udev.c | 5 +-
discover/user-event.c | 10 +-
discover/yaboot-parser.c | 1 +
lib/file/file.c | 5 +-
lib/security/gpg.c | 6 +-
lib/system/system.c | 1 +
lib/system/system.h | 1 +
lib/talloc/talloc.c | 23 ++--
test/parser/Makefile.am | 19 ++++
test/parser/data/grub2-rhcos-ootpa.conf | 194
++++++++++++++++++++++++++++++++++
test/parser/data/grub2-rhel8.conf | 190
++++++++++++++++++++++++++++++++++
test/parser/test-grub2-blscfg-default-filename.c | 31 ++++++
test/parser/test-grub2-blscfg-default-index.c | 47 +++++++++
test/parser/test-grub2-blscfg-default-title.c | 38 +++++++
test/parser/test-grub2-blscfg-multiple-bls.c | 47 +++++++++
test/parser/test-grub2-blscfg-opts-config.c | 31 ++++++
test/parser/test-grub2-blscfg-opts-grubenv.c | 36 +++++++
test/parser/test-grub2-default-id-space.c | 34 ++++++
test/parser/test-grub2-default-id.c | 34 ++++++
test/parser/test-grub2-default-multiword.c | 4 +-
test/parser/test-grub2-devpath-scripting.c | 56 ++++++++++
test/parser/test-grub2-devpath.c | 88 ++++++++++++++++
test/parser/test-grub2-rhcos-ootpa.c | 38 +++++++
test/parser/test-grub2-rhel8.c | 21 ++++
test/parser/test-grub2-search-args.c | 35 +++++++
test/parser/test-grub2-search-label.c | 47 +++++++++
test/parser/test-grub2-search-uuid.c | 55 ++++++++++
test/parser/test-grub2-source-functions.c | 46 ++++++++
test/parser/test-grub2-source-recursion-infinite.c | 43 ++++++++
test/parser/test-grub2-source-recursion.c | 58 +++++++++++
test/parser/test-grub2-source.c | 54 ++++++++++
test/parser/utils.c | 62 +++++++++++
utils/Makefile.am | 3 +-
utils/pb-console | 2 +
utils/pb-plugin | 4 +-
utils/scsi-rescan | 5 +
50 files changed, 2054 insertions(+), 110 deletions(-)
create mode 100644 discover/grub2/blscfg.c
create mode 100644 test/parser/data/grub2-rhcos-ootpa.conf
create mode 100644 test/parser/data/grub2-rhel8.conf
create mode 100644 test/parser/test-grub2-blscfg-default-filename.c
create mode 100644 test/parser/test-grub2-blscfg-default-index.c
create mode 100644 test/parser/test-grub2-blscfg-default-title.c
create mode 100644 test/parser/test-grub2-blscfg-multiple-bls.c
create mode 100644 test/parser/test-grub2-blscfg-opts-config.c
create mode 100644 test/parser/test-grub2-blscfg-opts-grubenv.c
create mode 100644 test/parser/test-grub2-default-id-space.c
create mode 100644 test/parser/test-grub2-default-id.c
create mode 100644 test/parser/test-grub2-devpath-scripting.c
create mode 100644 test/parser/test-grub2-devpath.c
create mode 100644 test/parser/test-grub2-rhcos-ootpa.c
create mode 100644 test/parser/test-grub2-rhel8.c
create mode 100644 test/parser/test-grub2-search-args.c
create mode 100644 test/parser/test-grub2-search-label.c
create mode 100644 test/parser/test-grub2-search-uuid.c
create mode 100644 test/parser/test-grub2-source-functions.c
create mode 100644 test/parser/test-grub2-source-recursion-infinite.c
create mode 100644 test/parser/test-grub2-source-recursion.c
create mode 100644 test/parser/test-grub2-source.c
create mode 100755 utils/scsi-rescan
--
Klaus Heinrich Kiwi <klaus at linux.vnet.ibm.com>
More information about the Petitboot
mailing list