diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Iurt/Chroot.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm index 5f055fa..54ff787 100644 --- a/lib/Iurt/Chroot.pm +++ b/lib/Iurt/Chroot.pm @@ -467,6 +467,7 @@ sub build_chroot { } system($sudo, 'chown', '-R', 499, "$tmp_chroot/home/builder"); sudo($run, $config, "--rm", "$tmp_chroot/var/lib/rpm/__db*"); + system("sudo umount $tmp_chroot/proc"); return !system($sudo, 'tar', 'czf', $chroot_tar, '-C', $tmp_chroot, '.'); } } |