)]}'
{
  "commit": "6a7f560e60837fc2ce82a7aa976035656f7d231e",
  "tree": "5a6f06694b4eaef5b8ec6ccb1e4976d8594d3dc2",
  "parents": [
    "5b4318143648272b36736c1d1d5d1acbda9a5876"
  ],
  "author": {
    "name": "Michael Brown",
    "email": "mcb30@ipxe.org",
    "time": "Wed May 24 10:20:31 2023 +0100"
  },
  "committer": {
    "name": "Michael Brown",
    "email": "mcb30@ipxe.org",
    "time": "Wed May 24 10:20:31 2023 +0100"
  },
  "message": "[efi] Implement \"shim\" as a dummy command on non-EFI platforms\n\nThe \"shim\" command will skip downloading the shim binary (and is\ntherefore a conditional no-op) if there is already a selected EFI\nimage that can be executed directly via LoadImage()/StartImage().\nThis allows the same iPXE script to be used with Secure Boot either\nenabled or disabled.\n\nGeneralise this further to provide a dummy \"shim\" command that is an\nunconditional no-op on non-EFI platforms.  This then allows the same\niPXE script to be used for BIOS, EFI with Secure Boot disabled, or EFI\nwith Secure Boot enabled.\n\nThe same effect could be achieved by using \"iseq ${platform} efi\"\nwithin the script, but this would complicate end-user documentation.\n\nTo minimise the code size impact, the dummy \"shim\" command is a pure\nno-op that does not call parse_options() and so will ignore even\nstandardised arguments such as \"--help\".\n\nSigned-off-by: Michael Brown \u003cmcb30@ipxe.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "998bdcc1605440eed66af2d5d2ea854f408798be",
      "old_mode": 33188,
      "old_path": "src/config/defaults/efi.h",
      "new_id": "8e53b9ab6a435cf958906007ca00e9d328aec700",
      "new_mode": 33188,
      "new_path": "src/config/defaults/efi.h"
    },
    {
      "type": "modify",
      "old_id": "2a371d0e6ad37e1691d18191a277702b919672c8",
      "old_mode": 33188,
      "old_path": "src/config/general.h",
      "new_id": "6e8e86b2b47ef462074b5d2b065a8c0cfe8f728b",
      "new_mode": 33188,
      "new_path": "src/config/general.h"
    },
    {
      "type": "modify",
      "old_id": "9150af3fd195d9a6f8bcd8ea34b6dfc59cfba76e",
      "old_mode": 33188,
      "old_path": "src/hci/commands/shim_cmd.c",
      "new_id": "11956290a00972fee978aecf63647b6caca59af6",
      "new_mode": 33188,
      "new_path": "src/hci/commands/shim_cmd.c"
    }
  ]
}
