calamares/src/modules/unpackfs
Kevin Kofler 0131d7fbf1 [unpackfs] Do not fail if rsync returns exit code 23.
Unfortunately, rsync returns exit code 23 (Partial transfer due to
error) if it cannot write extended attributes (with -X) because the
target file system does not support it, e.g., the FAT EFI system
partition. We need -X because distributions using file system
capabilities and/or SELinux require the extended attributes. But
distributions using SELinux may also have SELinux labels set on files
under /boot/efi, and rsync complains about those. The only clean way
would be to split the rsync into one with -X and --exclude /boot/efi and
a separate one without -X for /boot/efi, but only if /boot/efi is
actually an EFI system partition. For now, this hack will have to do.

See also:
https://bugzilla.redhat.com/show_bug.cgi?id=868755#c50
for the same issue in Anaconda, which uses a similar workaround.
2016-11-04 01:37:08 +01:00
..
main.py [unpackfs] Do not fail if rsync returns exit code 23. 2016-11-04 01:37:08 +01:00
module.desc Replace unsquashfs with unpackfs 2014-08-19 11:55:34 +02:00
unpackfs.conf Replace unsquashfs with unpackfs 2014-08-19 11:55:34 +02:00