diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-01-12 15:52:08 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-01-12 15:52:08 +0000 |
commit | c862549cee9820a811b349d4a87aca2b12a502c5 (patch) | |
tree | fc85d0ad621493460aaf2854b28233fd88a04ca4 /lib/Iurt | |
parent | 3506014f9e264dcaaddd58acad159f8c3b43acbc (diff) | |
download | iurt-c862549cee9820a811b349d4a87aca2b12a502c5.tar iurt-c862549cee9820a811b349d4a87aca2b12a502c5.tar.gz iurt-c862549cee9820a811b349d4a87aca2b12a502c5.tar.bz2 iurt-c862549cee9820a811b349d4a87aca2b12a502c5.tar.xz iurt-c862549cee9820a811b349d4a87aca2b12a502c5.zip |
(build_chroot) sort output of rpm -qa
Diffstat (limited to 'lib/Iurt')
-rw-r--r-- | lib/Iurt/Chroot.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm index cde647c..5848ffa 100644 --- a/lib/Iurt/Chroot.pm +++ b/lib/Iurt/Chroot.pm @@ -559,7 +559,7 @@ sub build_chroot { sudo($run, $config, "--rm", "$tmp_chroot/etc/urpmi/urpmi.cfg"); sudo($run, $config, "--rm", "$tmp_chroot/var/lib/urpmi/*"); - system($sudo, 'sh', '-c', "chroot $tmp_chroot rpm -qa --qf '\%{NAME}-\%{VERSION}-\%{RELEASE}.\%{ARCH}.rpm\n' > $tmp_chroot/var/log/qa"); + system($sudo, 'sh', '-c', "chroot $tmp_chroot rpm -qa --qf '\%{NAME}-\%{VERSION}-\%{RELEASE}.\%{ARCH}.rpm\n' | sort > $tmp_chroot/var/log/qa"); # # CM: Choose a sub-500 uid to prevent collison with $luser # |