| # Firmware Update Configuration |
| |
| PLDM supports firmware updates through two mechanisms: |
| |
| 1. **D-Bus API**: Using the StartUpdate D-Bus interface for firmware updates |
| 2. **Inotify monitoring**: Automatic detection of firmware packages placed in |
| `/tmp/images` |
| |
| The inotify-based firmware update monitoring can be enabled or disabled using |
| the meson option `fw-update-pkg-inotify`. When enabled, pldmd will automatically |
| monitor the `/tmp/images` directory for new firmware packages and process them |
| automatically. When disabled, only D-Bus API-based firmware updates will be |
| supported. To disable inotify-based firmware update monitoring (default): |
| |
| ```bash |
| meson setup build -Dfw-update-pkg-inotify=disabled |
| ``` |
| |
| To enable inotify-based firmware update monitoring: |
| |
| ```bash |
| meson setup build -Dfw-update-pkg-inotify=enabled |
| ``` |