~sourcemage/sorcery

09ade572b5cdab33037c22a58332e0f9f24ef709 — Ismael Luceno 8 months ago 8094b28
libtrack: Simplify unmounting of castfs
1 files changed, 1 insertions(+), 5 deletions(-)

M var/lib/sorcery/modules/libtrack
M var/lib/sorcery/modules/libtrack => var/lib/sorcery/modules/libtrack +1 -5
@@ 124,11 124,7 @@ real_devoke_stage_root()
{
  unset CASTFS_LOGFILE
  unset CASTFS_DBGLVL
  for dir in /dev/pts /dev /proc /sys
  do
    umount -l "${STAGE_DIRECTORY}/MOUNT$dir"
  done &&
  umount -l "${STAGE_DIRECTORY}/MOUNT"
  umount -l "${STAGE_DIRECTORY}/MOUNT"{/dev/pts,/dev,/proc,/sys,}
}

#---------------------------------------------------------------------