diff options
author | Parthiban Nallathambi <pn@denx.de> | 2018-02-20 16:49:27 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-04 11:35:40 +0000 |
commit | 8eb7e66246cf7c72dc68862f1c287029080a2e8a (patch) | |
tree | a3ee613773e6401274372ebf2dc0e39fcd64e85c /scripts/lib/wic/help.py | |
parent | 088b3b8c4c041caa73bdcfc2e897bd1d0f4f679b (diff) | |
download | poky-8eb7e66246cf7c72dc68862f1c287029080a2e8a.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.
(From OE-Core rev: 5055489b9ab3fda32a285d0d165d080d11a4d432)
Signed-off-by: Parthiban Nallathambi <pn@denx.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/help.py')
-rw-r--r-- | scripts/lib/wic/help.py | 4 |
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 | |||
576 | partition. In other words, it 'prepares' the final partition | 576 | partition. In other words, it 'prepares' the final partition |
577 | image which will be incorporated into the disk image. | 577 | image which will be incorporated into the disk image. |
578 | 578 | ||
579 | do_post_partition() | ||
580 | Called after the partition is created. It is useful to add post | ||
581 | operations e.g. signing the partition. | ||
582 | |||
579 | do_configure_partition() | 583 | do_configure_partition() |
580 | Called before do_prepare_partition(), typically used to | 584 | Called before do_prepare_partition(), typically used to |
581 | create custom configuration files for a partition, for | 585 | create custom configuration files for a partition, for |