User setup and erlang installation
A bit fiddly, but this lets us run a realistic erlang install script from userspace, and then re-enter userspace later without wiping the installation.
This commit is contained in:
Vendored
+3
-1
@@ -18,8 +18,10 @@ cleanup_mount() {
|
||||
|
||||
if test -e "$ROOT"
|
||||
then
|
||||
cleanup_mount "$ROOT/proc"
|
||||
cleanup_mount "$ROOT/dev/pts"
|
||||
cleanup_mount "$ROOT/dev"
|
||||
cleanup_mount "$ROOT/sys"
|
||||
cleanup_mount "$ROOT/proc"
|
||||
echo "Removing $ROOT"
|
||||
rm -r "$ROOT"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user