diff options
author | Tiago Gomes <tiago.gomes@codethink.co.uk> | 2015-02-25 10:13:44 +0000 |
---|---|---|
committer | Tiago Gomes <tiago.gomes@codethink.co.uk> | 2015-02-27 17:28:39 +0000 |
commit | 7298d113860abb651fabdeaf35b5bcbda20cbe5a (patch) | |
tree | 117fd6985fc5fe19c9e83fa5c4df26b35d64615e /pxeboot.write | |
parent | e5a646f600d9da11804791e5e5cd565feea92eca (diff) | |
download | definitions-7298d113860abb651fabdeaf35b5bcbda20cbe5a.tar.gz |
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.
Diffstat (limited to 'pxeboot.write')
-rwxr-xr-x | pxeboot.write | 2 |
1 files changed, 1 insertions, 1 deletions
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), |