garmin / pyrex

Seamless container setup for developing with OpenEmbedded/Yocto Project
Apache License 2.0
36 stars 29 forks source link

Allow run::bind config to specify different destination #91

Closed matthoosier-garmin closed 1 month ago

matthoosier-garmin commented 1 month ago

Until now, the directories mentioned in this config key have always been mounted at the same absolute path in the container as they exist on the host. Extend this to allow a different destination path in the container:

... [run] bind = ... /src-path:/dst-path ...

All of the usual options already recognized are valid for entries specified using this expanded syntax.

Change-Id: Iaa0e70325f576d71ea672da082ce1a76c9c81c94