[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.
This commit is contained in:
Adriaan de Groot 2018-08-07 14:10:40 -04:00
parent b0bcdba867
commit 2bb66b8b9b

View File

@ -8,6 +8,7 @@ calamares_add_plugin( preservefiles
PreserveFiles.cpp PreserveFiles.cpp
LINK_PRIVATE_LIBRARIES LINK_PRIVATE_LIBRARIES
calamares calamares
# REQUIRES mount # To set the rootMountPoint
SHARED_LIB SHARED_LIB
EMERGENCY EMERGENCY
) )