Add optional root_is_mountpoint parameter to the _call_script method. When set the provided root path is turned into a bind mount such that it appears as / being a mountpoint in the chrooted call. Apply the argument to the call_disk_script method such that is becomes effective for the disk.sh script hook. |
||
|---|---|---|
| .. | ||
| data | ||
| scripts | ||
| unit | ||