summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Gomes <tiago.gomes@codethink.co.uk>2015-02-25 10:13:44 +0000
committerTiago Gomes <tiago.gomes@codethink.co.uk>2015-02-27 15:23:51 +0000
commita6f81eefff6e9ea78942215a3a4f78ec21b74a05 (patch)
treeaff2409104759d29f29b8a0abd89e927d0b2c866
parent8630ac06ecc1813b76ae58d1fc27ea6158ac781b (diff)
downloaddefinitions-a6f81eefff6e9ea78942215a3a4f78ec21b74a05.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.
-rwxr-xr-xpxeboot.write2
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),