~smoser/curtin/trunk.1703755-install-in-virtualenv

Viewing all changes in revision 521.

  • Committer: Ryan Harper
  • Author(s): Scott Moser
  • Date: 2017-08-15 14:59:11 UTC
  • mfrom: (519.2.4 trunk.no-collect-symlinks)
  • Revision ID: ryan.harper@canonical.com-20170815145911-ow6z22609ij2dxap
vmtest: get info about collected symlinks and then delete them.

Some of the 'collect' scripts collect files with 'cp -a' or other
means that would collect a symbolic link. Since none of our
scripts yet handle properly resolving absolute symlinks we just
remove all symlinks and write a file 'symlinks.txt' with info about them.

At a later date we might need to also clean out sockets or other content.

The primary motivation for this is to
a.) make sure tests don't inadvertantly read the target of the symlink
    and thus "verify" files on the host
b.) jenkins can produce a zip file of the artifacts, and we suspect that
    it is bothered by the symbolic links.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: