xref: /openbmc/pldm/docs/fw_update_configuration.md (revision 6a3f9906a774644a8f0ca2978a81b769e948206f)
1# Firmware Update Configuration
2
3PLDM supports firmware updates through two mechanisms:
4
51. **D-Bus API**: Using the StartUpdate D-Bus interface for firmware updates
62. **Inotify monitoring**: Automatic detection of firmware packages placed in
7   `/tmp/images`
8
9The inotify-based firmware update monitoring can be enabled or disabled using
10the meson option `fw-update-pkg-inotify`. When enabled, pldmd will automatically
11monitor the `/tmp/images` directory for new firmware packages and process them
12automatically. When disabled, only D-Bus API-based firmware updates will be
13supported. To disable inotify-based firmware update monitoring (default):
14
15```bash
16meson setup build -Dfw-update-pkg-inotify=disabled
17```
18
19To enable inotify-based firmware update monitoring:
20
21```bash
22meson setup build -Dfw-update-pkg-inotify=enabled
23```
24