Update a module with template changes
Update your module to keep it current with PDK or custom module template changes.
Ensure that the module
you are updating is compatible with PDK version 1.3.0 or later. If the module was
created with versions of PDK
earlier than 1.3.0, convert the module to the current template with the pdk convert
command. See Converting modules for more
information.
The pdk update
function updates your module based on the template you used when you created or
converted your module. If there have been any changes to that template, PDK updates your module to incorporate
them.
To check for template changes without making changes,
run update
with the
--noop
option.
This option runs the command in "no operation" mode, which shows what changes would
be made, but doesn't actually make them.
- From the command line, change into the module's directory with
cd <MODULE_NAME>
- Run the update command:
pdk update
- If any module metadata is missing, respond to PDK prompts to provide metadata information.
- Confirm the change summary PDK displays and either continue or cancel the update.
Results
Whether you confirm or
cancel changes, PDK generates a
detailed change report, update_report.txt
, in the top directory of the module. This report is
updated every time you run the update
command.
If you confirm changes, PDK applies the reported changes to the module.