summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/help.py
diff options
context:
space:
mode:
authorParthiban Nallathambi <pn@denx.de>2018-02-20 16:49:27 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-03 17:08:29 +0000
commit5055489b9ab3fda32a285d0d165d080d11a4d432 (patch)
tree81977a408a70fb90224319fc0a889b344815dacc /scripts/lib/wic/help.py
parent0e3a9bed988b5fd4de770fe8cd1160b9f6c8c365 (diff)
downloadopenembedded-core-contrib-5055489b9ab3fda32a285d0d165d080d11a4d432.tar.gz
wic: Add post operation hook for SourcePlugin
do_post_partition hook is needed if some operations like security signing the parition needs to be done. source plugins can make use of this to implement post operatiosn in do_post_partition. do_post_partition is called after do_prepare_partition if present. Signed-off-by: Parthiban Nallathambi <pn@denx.de> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib/wic/help.py')
-rw-r--r--scripts/lib/wic/help.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/lib/wic/help.py b/scripts/lib/wic/help.py
index bf658b94e3..842b868a57 100644
--- a/scripts/lib/wic/help.py
+++ b/scripts/lib/wic/help.py
@@ -576,6 +576,10 @@ DESCRIPTION
partition. In other words, it 'prepares' the final partition
image which will be incorporated into the disk image.
+ do_post_partition()
+ Called after the partition is created. It is useful to add post
+ operations e.g. signing the partition.
+
do_configure_partition()
Called before do_prepare_partition(), typically used to
create custom configuration files for a partition, for