From 2bb66b8b9ba4f44028d9fe4d1e20d632519c3f3c Mon Sep 17 00:00:00 2001
From: Adriaan de Groot <groot@kde.org>
Date: Tue, 7 Aug 2018 14:10:40 -0400
Subject: [PATCH] [preservefiles] Example with REQUIRES

 - preservefiles generally needs to have the target filesystems
   mounted, so that it can preserve to them; but you can also
   configure it such that there is no need for mounted filesystems
   (e.g. in OEM setup).
 - Add an example line in CMakeLists.txt to show how that would be done.
---
 src/modules/preservefiles/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/modules/preservefiles/CMakeLists.txt b/src/modules/preservefiles/CMakeLists.txt
index c1021eeda..f6cd98008 100644
--- a/src/modules/preservefiles/CMakeLists.txt
+++ b/src/modules/preservefiles/CMakeLists.txt
@@ -8,6 +8,7 @@ calamares_add_plugin( preservefiles
         PreserveFiles.cpp
     LINK_PRIVATE_LIBRARIES
         calamares
+    # REQUIRES mount  # To set the rootMountPoint
     SHARED_LIB
     EMERGENCY
 )