From e0932c556c79ed51d6858fbccce9d0688c73bfd2 Mon Sep 17 00:00:00 2001 From: Robert Nelson <robertcnelson@gmail.com> Date: Fri, 23 Oct 2015 14:59:44 -0500 Subject: [PATCH] chroot: weve been shipping this in jessie already... ubuntu looked like it was special Signed-off-by: Robert Nelson <robertcnelson@gmail.com> --- scripts/chroot.sh | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/scripts/chroot.sh b/scripts/chroot.sh index 466899baf..4c5f7d789 100755 --- a/scripts/chroot.sh +++ b/scripts/chroot.sh @@ -161,10 +161,6 @@ chroot_mount () { if [ "$(mount | grep ${tempdir}/dev/pts | awk '{print $3}')" != "${tempdir}/dev/pts" ] ; then sudo mount -t devpts devpts "${tempdir}/dev/pts" fi - - if [ "$(mount | grep ${tempdir}/run | awk '{print $3}')" != "${tempdir}/run" ] ; then - sudo mount -t tmpfs run "${tempdir}/run" - fi } chroot_umount () { @@ -200,17 +196,6 @@ chroot_umount () { exit 1 fi fi - - if [ "$(mount | grep ${tempdir}/run | awk '{print $3}')" = "${tempdir}/run" ] ; then - echo "Log: umount: [${tempdir}/run]" - sync - sudo umount -fl "${tempdir}/run" - - if [ "$(mount | grep ${tempdir}/run | awk '{print $3}')" = "${tempdir}/run" ] ; then - echo "Log: ERROR: umount [${tempdir}/run] failed..." - exit 1 - fi - fi } chroot_stopped () { -- GitLab