[git pull] Fixes for Petitboot 1.7.x
Klaus Heinrich Kiwi
klaus at linux.vnet.ibm.com
Tue Feb 18 08:00:10 AEDT 2020
On 1/29/2020 12:12 PM, Klaus Heinrich Kiwi wrote:
>
> On 1/28/2020 10:53 PM, Klaus Heinrich Kiwi wrote:
>>
>> On 1/28/2020 10:02 PM, Jeremy Kerr wrote:
>>> There's a bit of docker infrastructure under the docker/ directory (and
>>> a README) - that should help reproducing, as it should be a very
>>> similar environment to what travis performs.
>> Thanks, will take a look soon.
Jeremy,
I noted you merged this patch (894fdb6) - Can we tag a release? I'm
attaching the summary since v1.7.5 below.
Moving forward, would you like me to maintain a personal branch and do
this through Pull Requests?
Thanks,
-Klaus
----------------------------------------------------------------
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
Klaus Heinrich Kiwi (1):
travis: update dist from trusty to bionic
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
.travis.yml | 2 +-
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 +++
51 files changed, 2055 insertions(+), 111 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