Comment 1 for bug 1850276

Revision history for this message
Cyrille Bollu (stcyr) wrote :

Looks like commit 20d7c1a2fa4a248f660461508620417ef9dbbcc2 should have been cherry-picked to the ubuntu-master branch?

root@vps612142:~/packages# git show 20d7c1a2fa4a248f660461508620417ef9dbbcc2
commit 20d7c1a2fa4a248f660461508620417ef9dbbcc2
Author: Frank Lichtenheld <email address hidden>
Date: Tue Mar 29 01:42:32 2016 +0200

    create_index_pages: make sure to actually fill the "virtual" indices

    Before virtual packages were only added to the allpackages
    indices and the virtual "subsection" indices were always
    empty.
    Closes: #766381

diff --git a/bin/create_index_pages b/bin/create_index_pages
index 66d7838..143a0d1 100755
--- a/bin/create_index_pages
+++ b/bin/create_index_pages
@@ -356,6 +356,10 @@ foreach my $pkg (@PACKAGES) {
            warn "\t\t$suite/$p{$key}\n" if DEBUG;
            print {$fh{"$suite/$p{$key}"}} $html;
        }
+ if (@{$p{providers}} && $fh{"$suite/virtual"}) {
+ warn "\t\t$suite/virtual\n" if DEBUG;
+ print {$fh{"$suite/virtual"}} $html;
+ }
     }
 }

root@vps612142:~/packages#