diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-03-30 05:50:14 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-03-30 05:50:14 +0100 |
commit | ac3147a9c58f339f9b978ab087464912c16bc8f8 (patch) | |
tree | ca4b8099ba40b864e2dc88609d18353e9510dddb /sys/include | |
parent | dea28126ae9cf24556ae7a1957368df4377e06aa (diff) |
dist/mkfile: aux/stub -d /n/src9/usr to avoid overbinding /usr in case /n/src9 an / alias
when /n/src9 is an alias for / (bind / /n/src9), then the bind
from /sys/lib/dist/usr on /n/src9/usr would also overbind
/usr and potentially make the build target file inaccessible.
the solution is to run aux/stub -d /n/src9/usr.
this works as aux/stub mounts itself on /n/src9, so the bind
for /n/src9/usr will not override /usr in the root filesystem
but the stub directory from aux/stub.
Diffstat (limited to 'sys/include')
0 files changed, 0 insertions, 0 deletions