Skip to content
Snippets Groups Projects
  1. Feb 26, 2020
    • Simon McVittie's avatar
      utils: Add a method to copy a directory tree using hard links · 181337cd
      Simon McVittie authored
      
      This will let us duplicate a runtime and edit it in-place. The major
      appeal of doing this is that it's something we can do in a Flatpak
      environment, where recursively invoking bubblewrap isn't allowed.
      
      It also seems like it might yield a more reliable way to overwrite parts
      of the runtime with their host-system equivalents than the tricks we
      currently use with files and directories mounted over their runtime
      counterparts.
      
      The major down side is that after we've done this, we have a copy of
      the runtime, which we need to garbage-collect and clean up eventually.
      
      Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
      181337cd
Loading