From: "Brian C. Lane" bcl@redhat.com
rsync tries to remove xattrs even though -x has been specified. They don't need to be copied anyway so exclude /dev/ /proc/ and /sys/ --- pyanaconda/packaging/livepayload.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pyanaconda/packaging/livepayload.py b/pyanaconda/packaging/livepayload.py index 8de3258..ca02c85 100644 --- a/pyanaconda/packaging/livepayload.py +++ b/pyanaconda/packaging/livepayload.py @@ -102,7 +102,8 @@ class LiveImagePayload(ImagePayload): # symlinks, hardlinks # go recursively, include devices and special files, don't cross # file system boundaries - args = ["-pogAXtlHrDx", INSTALL_TREE+"/", ROOT_PATH] + args = ["-pogAXtlHrDx", "--exclude", "/dev/", "--exclude", "/proc/", + "--exclude", "/sys/", INSTALL_TREE+"/", ROOT_PATH] try: rc = iutil.execWithRedirect(cmd, args, stderr="/dev/tty5", stdout="/dev/tty5")
rsync tries to remove xattrs even though -x has been specified. They don't need to be copied anyway so exclude /dev/ /proc/ and /sys/
pyanaconda/packaging/livepayload.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
ACK as far as getting anaconda fixed right now goes, but it really doesn't seem like rsync should be behaving this way. Will there also be an rsync bug?
- Chris
On Mon, Nov 05, 2012 at 05:13:03PM -0500, Chris Lumens wrote:
rsync tries to remove xattrs even though -x has been specified. They don't need to be copied anyway so exclude /dev/ /proc/ and /sys/
pyanaconda/packaging/livepayload.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
ACK as far as getting anaconda fixed right now goes, but it really doesn't seem like rsync should be behaving this way. Will there also be an rsync bug?
I can try.
anaconda-patches@lists.fedorahosted.org