aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--lib/Iurt/Chroot.pm5
2 files changed, 2 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index 2e064fc..4eb4420 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
0.6.9 (unreleased)
+- failing to mount /dev/pts is not a fatal error
0.6.8
- fix import loop
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");