e0814b481f
Before, the script skipped none existing ro paths even if the path existed below /rw. This would require someone who wants to use bind-dirs only in TemplateBasedVM to ensure that the paths exist before the bind-dirs script gets called. This patch changes this behavior so that if the path exists below /rw, it is ensured that an (empty) file/directory is present in ro (where the corresponding path from /rw is then bind mounted over). Requires: Docs update. I can open a PR when this PRs looks good. Fixes limitation: "Does not work if the file / folder in question does not already exist in the root image. I.e. a file that does not exist in the root image cannot be bind mounted in the TemplateBasedVM." Example use case: https://github.com/debops/ansible-persistent_paths Tested on: Qubes OS 3.2; Debian 8 TemplateBasedVM (and Template) Related to: https://github.com/QubesOS/qubes-issues/issues/2661 |
||
---|---|---|
archlinux | ||
autostart-dropins | ||
debian | ||
doc | ||
init | ||
misc | ||
network | ||
patches.debian | ||
pkgs | ||
qrexec | ||
qubes-rpc | ||
rpm_spec | ||
vm-init.d | ||
vm-systemd | ||
.gitignore | ||
.travis.yml | ||
debian-quilt | ||
LICENSE | ||
Makefile | ||
Makefile.builder | ||
series-debian-vm.conf | ||
version |