| Index: src/platform/update_engine/filesystem_copier_action.h
|
| diff --git a/src/platform/update_engine/filesystem_copier_action.h b/src/platform/update_engine/filesystem_copier_action.h
|
| index 9e7f0606796edad379f2c0faf5a6540361a1dfc9..786c2ab083c3653c928e7685463cc6262343c7b6 100644
|
| --- a/src/platform/update_engine/filesystem_copier_action.h
|
| +++ b/src/platform/update_engine/filesystem_copier_action.h
|
| @@ -32,8 +32,9 @@ class ActionTraits<FilesystemCopierAction> {
|
|
|
| class FilesystemCopierAction : public Action<FilesystemCopierAction> {
|
| public:
|
| - FilesystemCopierAction()
|
| - : src_stream_(NULL),
|
| + explicit FilesystemCopierAction(bool copying_kernel_install_path)
|
| + : copying_kernel_install_path_(copying_kernel_install_path),
|
| + src_stream_(NULL),
|
| dst_stream_(NULL),
|
| canceller_(NULL),
|
| read_in_flight_(false),
|
| @@ -69,6 +70,10 @@ class FilesystemCopierAction : public Action<FilesystemCopierAction> {
|
| // was_cancelled should be true if TerminateProcessing() was called.
|
| void Cleanup(bool success, bool was_cancelled);
|
|
|
| + // If true, this action is copying to the kernel_install_path from
|
| + // the install plan, otherwise it's copying just to the install_path.
|
| + const bool copying_kernel_install_path_;
|
| +
|
| // The path to copy from. If empty (the default), the source is from the
|
| // passed in InstallPlan.
|
| std::string copy_source_;
|
|
|