aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-01-12 15:52:08 +0000
committerThierry Vignaud <tv@mandriva.org>2008-01-12 15:52:08 +0000
commitc862549cee9820a811b349d4a87aca2b12a502c5 (patch)
treefc85d0ad621493460aaf2854b28233fd88a04ca4 /lib/Iurt
parent3506014f9e264dcaaddd58acad159f8c3b43acbc (diff)
downloadiurt-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.pm2
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
#