kiwi-el8/kiwi/utils
Marcus Schäfer bbb7efdf2f
Added force_trailing_slash argument to sync_data
A speciality of the rsync tool is that it behaves differently
if the given source_dir ends with a '/' or not. If it ends
with a slash the data structure below will be synced to the
target_dir. If it does not end with a slash the source_dir
and its contents are synced to the target_dir. For example:

    source
      └── some_data

1. $ rsync -a source target

    target
      └── source
            └── some_data

2. $ rsync -a source/ target

    target
      └── some_data

The parameter force_trailing_slash in the DataSync::sync_data
method can be used to make sure rsync behaves like shown in
the second case. This Fixes #1786
2021-09-06 11:18:30 +02:00
..
__init__.py Refactor data subpackage 2016-03-17 10:42:08 +01:00
block.py Fix use of by-label device persistency in grub 2021-03-09 12:19:51 +01:00
checksum.py Fixed use of encoding in open calls 2021-01-19 15:24:25 +01:00
codec.py Handle UnicodeDecode errors more gracefully 2021-07-20 15:27:55 +02:00
command_capabilities.py Make CommandCapabilities.check_version take the longest match 2020-04-16 10:25:21 +02:00
compress.py Moving temp data handling to its own namespace 2021-07-22 13:31:44 +02:00
fstab.py Allow to enable volumes for filesystem check 2021-03-30 15:10:03 +02:00
output.py Moving temp data handling to its own namespace 2021-07-22 13:31:44 +02:00
rpm_database.py Make use of Path.which including root_dir parameter 2020-01-22 16:12:08 +01:00
rpm.py Do not create empty macros file 2020-02-18 14:08:30 +01:00
size.py Stop inheriting from object 2019-08-22 15:43:27 +02:00
sync.py Added force_trailing_slash argument to sync_data 2021-09-06 11:18:30 +02:00
sysconfig.py Stop inheriting from object 2019-08-22 15:43:27 +02:00
temporary.py Fixed LVM/btrfs volume based image builds 2021-07-24 11:04:45 +02:00