static/usr/lib/wsl: create empty wsl dir in base#430
static/usr/lib/wsl: create empty wsl dir in base#430alfonsosanchezbeato merged 2 commits intocanonical:mainfrom
Conversation
/usr/lib/wsl dir in base
alfonsosanchezbeato
left a comment
There was a problem hiding this comment.
Please make the directory from 020-extra-files.chroot instead
|
@jpm-canonical thinking about this now, where does the content that you need to put it |
|
Hi @alfonsosanchezbeato, the content comes from the WSL2 container, which on its turn gets it from the Windows on the host. So basically what we have is:
This needs to be done at runtime, as the libraries and drivers that are mounted in, depends very much on the Windows on the host system. For example, the libraries in |
See comment 1: canonical/snapd#16726 (comment)
See comment 2: canonical/snapd#16726 (comment)
This PR adds the
/usr/lib/wsldirectory to the static content of the base. The directory is empty, except for a readme explaining what it is for. The content of/usr/lib/wslfrom a WSL2 host will be mounted over this directory at runtime.Please also cherrypick this commit on to core22, core24 and core26.