Skip to content
  • Cedric Bosdonnat's avatar
    Copy all needed init programs and all its deps to config subdir · eaeca994
    Cedric Bosdonnat authored and Daniel P. Berrangé's avatar Daniel P. Berrangé committed
    In order to be able to mount a custom host-image as / we need to be able
    to access libvirt-sandbox-init-common and all its needed dependencies.
    In the container case we also need to copy libvirt-sandbox-init-lxc.
    
    They are now copied into SANDBOXCONFIGDIR /.libs. Hard linking is not
    possible since we may be working on separate partitions, and symlinks
    wouldn't help to work with apparmor. Copying makes apparmor happy and
    solves our problem.
    eaeca994