aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
AgeCommit message (Collapse)Author
2014-12-15file-list-generator.py: additional debug output for matchingPatrick Ohly
Print full path of each file and what it gets added to. Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-15file-list-generator.py: also include symlink info for filesPatrick Ohly
For consistency with dir symlinks, also add -> <target> for file symlinks. Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-15file-list-generator.py: handle symlinks to dirsPatrick Ohly
os.walk() unexpectedly reports symlinks to directories as directories. We need to treat them like directory content, ie. like regular files. When listing the content of the install directory, show what the directory symlink points to. Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-05file-list-generator.py: fix packaging of entire directoriesPatrick Ohly
The "is directory" check only worked for directories also present on the build file system because the install directory path was dropped by os.path.join(). Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-05file-list-generator.py: INFO listing of installed filesPatrick Ohly
It is useful to know the output of the install phase. Print an indented listing of files and directories at INFO level. Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-05file-list-generator.py: --keep unmatched filesPatrick Ohly
It may be useful to not delete files that are not in any package. Not used at the moment, though. The original use case was bundling of locale files with Tizen's %find_lang macro. It turned out that not removing the -locale packages from PACKAGES is easier. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-11-19optionally generate file lists during rpmbuildPatrick Ohly
When SRPM_DYNAMIC_FILE_LISTS is set, the .bb FILES and CONFIGFILES semantic for packages is replicated in the .src.rpm, i.e. it is not necessary to override FILES to match the installed files exactly. To achieve this, the generated src.rpm contains a file-list-generator.py that is called after the normal install with information about the .bb FILES and CONFFILES values. The script then generates file lists for the %files section, following the .bb semantic.