Merge lp:~smoser/maas/lp-1313550 into lp:~maas-committers/maas/trunk
Proposed by
Scott Moser
Status: | Merged |
---|---|
Merged at revision: | 4028 |
Proposed branch: | lp:~smoser/maas/lp-1313550 |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
60 lines (+31/-15) 1 file modified
src/provisioningserver/import_images/uec2roottar.py (+31/-15) |
To merge this branch: | bzr merge lp:~smoser/maas/lp-1313550 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mike Pontillo (community) | Needs Fixing | ||
Review via email: mp+261981@code.launchpad.net |
Description of the change
use xattr flags when available
Currently when maas collects the tarball from a image, it does not collect
xattrs. This means its a lossy conversion, which can cause problems
in runtime such as those seen in bug 1313550.
The change here adds the flags
--xattrs '--xattrs-
if and only if the system 'tar' supports those. Note, tar on 12.04
does *not* support xattrs.
To post a comment you must log in.
Note, I know tests are broken by this. Probably need to mock tar_xattr_opts and then test both possible returns.