From e71d0af563ba22f5be6c9740de418f4113334657 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 2 Feb 2012 09:47:06 -0600 Subject: documentation/poky-ref-manual/ref-variables.xml: CONFFILES and FILES edits Final edits to the new CONFFILES entry and an updated more robust FILES entry in the glossary. These two entries are good examples of the depth of detail we should have for all glossary entries. Kudos to Paul Eggleton for tirelessly working with me to get the descriptions just right. Reported-by: Paul Eggleton (From yocto-docs rev: 88e9836a964a9057aaf6ac472b4fb09981a069ac) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/poky-ref-manual/ref-variables.xml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'documentation/poky-ref-manual/ref-variables.xml') diff --git a/documentation/poky-ref-manual/ref-variables.xml b/documentation/poky-ref-manual/ref-variables.xml index 0d9f0c696d..d526981a1e 100644 --- a/documentation/poky-ref-manual/ref-variables.xml +++ b/documentation/poky-ref-manual/ref-variables.xml @@ -235,28 +235,25 @@ In other words, editable files might exist in the package that you do not want reset as part of the package update process. You can use the CONFFILES variable to list the files in the - package that wish to prevent PMS from overwriting during this update process. - The CONFFILES variable essentially tells the PMS about - files in the package that you do not want updated as part of the package - update process. + package that you wish to prevent the PMS from overwriting during this update process. To use the CONFFILES variable, provide a package name override that identifies the package. - Then, provide a list of space-separated files that identify the - editable files you want the PMS to exclude from the update process. + Then, provide a space-separated list of files. Here is an example: - CONFFILES_${PN} += "${bindir}/file1 ${bindir}/file2" + CONFFILES_${PN} += "${sysconfdir}/file1 \ + ${sysconfdir}/file2 ${sysconfdir}/file3" A relationship exists between the CONFFILES and FILES variables. - The files listed with CONFFILES must be a subset of - the files listed with FILES. + The files listed within CONFFILES must be a subset of + the files listed within FILES. Because the configuration files you provide with CONFFILES are simply being identified so that the PMS will not overwrite them, it makes sense that @@ -538,7 +535,7 @@ To use the FILES variable, provide a package name override that identifies the package. - Then, provide a list of space-separated files or paths that identify the + Then, provide a space-separated list of files or paths that identifies the files you want included as part of the package. Here is an example: @@ -558,7 +555,7 @@ - If some of files you provide with the FILES variable + If some of the files you provide with the FILES variable are editable and you know they should not be overwritten during the package update process by the Package Management System (PMS), you can identify these files so that the PMS will not -- cgit v1.2.3-54-g00ecf