diff options
author | Marcelo Leitner <mrl@mandriva.com> | 2007-05-29 13:00:25 +0000 |
---|---|---|
committer | Marcelo Leitner <mrl@mandriva.com> | 2007-05-29 13:00:25 +0000 |
commit | 161ff4ac43f61e65eb140be37002f6cd932b31ac (patch) | |
tree | bb05d8813709f0c0e4cded5ce1afa9c94a990d45 /lib | |
parent | 21df31dc333662db662feafa49f249ba7c611028 (diff) | |
download | iurt-161ff4ac43f61e65eb140be37002f6cd932b31ac.tar iurt-161ff4ac43f61e65eb140be37002f6cd932b31ac.tar.gz iurt-161ff4ac43f61e65eb140be37002f6cd932b31ac.tar.bz2 iurt-161ff4ac43f61e65eb140be37002f6cd932b31ac.tar.xz iurt-161ff4ac43f61e65eb140be37002f6cd932b31ac.zip |
- Umount /proc prior to tar() the chroot.
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, '.'); } } |