From 7298d113860abb651fabdeaf35b5bcbda20cbe5a Mon Sep 17 00:00:00 2001 From: Tiago Gomes Date: Wed, 25 Feb 2015 10:13:44 +0000 Subject: pxeboot: disable preserving extended attributes Running rsync with the '-X' option causes the following error to occur: ERROR: pxeboot.write failed with code 1: rsync: get_xattr_names: llistxattr(""/src/tmp/deployments/tmpcMabnt/tmp0jCu5s"",1024) failed: Function not implemented (38) This requires more investigation to understand why it is failing (the attr devel libraries were installed). AFAIK we are not using extended attributes in the rootfs that we create, so disable this option for the time being. --- pxeboot.write | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pxeboot.write b/pxeboot.write index 38fa4846..c2148081 100755 --- a/pxeboot.write +++ b/pxeboot.write @@ -367,7 +367,7 @@ class PXEBoot(morphlib.writeexts.WriteExtension): as tempdir: nfsroot = urlparse.urlunsplit((url.scheme, url.netloc, tempdir, url.query, url.fragment)) - cliapp.runcmd(['rsync', '-asXSPH', '--delete', rootfs, nfsroot], + cliapp.runcmd(['rsync', '-asSPH', '--delete', rootfs, nfsroot], stdin=None, stdout=open(os.devnull, 'w'), stderr=None) yield os.path.join(os.path.basename(tempdir), -- cgit v1.2.1