From e8ddfa8c44dd59e19711e8ab02788d6163215ba6 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 3 Sep 2012 17:29:37 +0000 Subject: (clean_and_build_chroot) failing to mount /dev/pts is not a fatal error --- lib/Iurt/Chroot.pm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm index c1a76cc..67f93ff 100644 --- a/lib/Iurt/Chroot.pm +++ b/lib/Iurt/Chroot.pm @@ -89,10 +89,7 @@ sub clean_and_build_chroot { return; } if (system("$sudo mount none -t tmpfs $chroot/dev/shm")) { - plog('ERROR', "Failed to mount /dev/shm"); - sudo($config, "--umount", "$chroot/proc"); - sudo($config, "--umount", "$chroot/dev/pts"); - return; + plog('WARNING', "Failed to mount /dev/shm"); } if ($run->{icecream}) { system("$sudo mkdir -p $chroot/var/cache/icecream"); -- cgit v1.2.1