diff options
| author | Joey Hess <joeyh@joeyh.name> | 2017-04-09 16:49:38 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2017-04-09 16:49:38 -0400 |
| commit | 9dbd25a91c88a99832db5a2b31f0e87f0bff47e8 (patch) | |
| tree | 9816fc6860505c40fea1a28013fa74ef3080b1e9 /src/Propellor/Property/Bootstrap.hs | |
| parent | 08c6ac8f3cd769290e81f1c21b07663292144737 (diff) | |
well, that didnt work :(
Diffstat (limited to 'src/Propellor/Property/Bootstrap.hs')
| -rw-r--r-- | src/Propellor/Property/Bootstrap.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Propellor/Property/Bootstrap.hs b/src/Propellor/Property/Bootstrap.hs index 6158d967..4a60276e 100644 --- a/src/Propellor/Property/Bootstrap.hs +++ b/src/Propellor/Property/Bootstrap.hs @@ -77,6 +77,9 @@ clonedFrom reposource = property ("Propellor repo cloned from " ++ originloc) $ -- | Runs the shell command with the true localdir exposed, -- not the one bind-mounted into a chroot. +-- +-- FIXME: unshare -m does not work in a chroot! +-- "unshare: cannot change root filesystem propagation: Invalid argument" exposeTrueLocaldir :: String -> Propellor Bool exposeTrueLocaldir s = do s' <- ifM inChroot |
