Fix undo step in boot_sequence plugin parser 59/275359/7
authorChanggyu Choi <changyu.choi@samsung.com>
Mon, 23 May 2022 07:43:57 +0000 (16:43 +0900)
committerChanggyu Choi <changyu.choi@samsung.com>
Mon, 23 May 2022 09:06:05 +0000 (18:06 +0900)
commit1d5d80a6f2e8827e8623f7f5e47f525a20ea54e0
treecce4fa5cac001040f6a219181cf0b4f0b86d389c
parentf32363b4d2a47c53aa034df6f7439d3e9268ac50
Fix undo step in boot_sequence plugin parser

Undo step not performs Init().
So, when it performs args_->GetPackage() in StepUninstall(),
it has caused crash.
This problem is before calling Undo(), the plugin is loaded newly.

Change-Id: I9538b24b490fbcdddc022ecd2cdca2fa8ce9a683
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
parser/boot-sequencer/event_type.hh
parser/boot-sequencer/pkgmgr_interface.cc