dracutdevs / dracut

dracut the event driven initramfs infrastructure
https://github.com/dracutdevs/dracut/wiki
GNU General Public License v2.0
573 stars 396 forks source link

fix(dracut-install): Copy xattr when use clone ioctl #2660

Open HuaxinLu opened 1 week ago

HuaxinLu commented 1 week ago

When use clone ioctl to copy a file, the extended attributes of files are missing, which is inconsistent with the result by using the cp command. This commit add the process to copy extended attributes after clone_file().

Changes

Add the process to copy extended attributes after clone_file().

Checklist

Fixes #

aafeijoo-suse commented 5 days ago

This repo is no longer maintained. Could you submit this PR to https://github.com/dracut-ng/dracut-ng? Thanks.

HuaxinLu commented 3 days ago

This repo is no longer maintained. Could you submit this PR to https://github.com/dracut-ng/dracut-ng? Thanks.

OK, the new PR has been submited