/[smeserver]/builds_bin/update_repos
ViewVC logotype

Diff of /builds_bin/update_repos

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.91 by jpp, Fri Feb 8 06:26:53 2019 UTC Revision 1.92 by jpp, Sun Jun 14 05:54:38 2020 UTC
# Line 24  $opts{r} ||= ''; Line 24  $opts{r} ||= '';
24    
25  my $rpm_flags = RPM2->vsf_nodsaheader | RPM2->vsf_norsaheader | RPM2->vsf_nodsa | RPM2->vsf_norsa;  my $rpm_flags = RPM2->vsf_nodsaheader | RPM2->vsf_norsaheader | RPM2->vsf_nodsa | RPM2->vsf_norsa;
26    
27  my $osdir = 'SME';  my $osdir = 'Packages';
28  my $disttag = 'sme';  my $disttag = 'sme';
29  my $repotag = 'sme';  my $repotag = 'sme';
30    
# Line 95  my $repos = { "${repotag}os" Line 95  my $repos = { "${repotag}os"
95  # list here the path on our local mirror to each upstream and our mirrors  # list here the path on our local mirror to each upstream and our mirrors
96  # ~A will be expanded to architecture  # ~A will be expanded to architecture
97  # ~C will be expanded to Centos main version number, i.e. 7 for SME 10.  # ~C will be expanded to Centos main version number, i.e. 7 for SME 10.
98    # ~s will be expanded to SME version
99    # ~S expanded to repo root
100  my $baserepo = { "~S${repotag}os/~A/" => "${repotag}os",  my $baserepo = { "~S${repotag}os/~A/" => "${repotag}os",
101                   "~S${repotag}updates/~A/" => "${repotag}updates",                   "~S${repotag}updates/~A/" => "${repotag}updates",
102                   "~S${repotag}updates-testing/~A/" => "${repotag}updates-testing",                   "~S${repotag}updates-testing/~A/" => "${repotag}updates-testing",
# Line 570  foreach my $ver ( sort { $a <=> $b } key Line 572  foreach my $ver ( sort { $a <=> $b } key
572                  my $checksum = "--checksum $distrepo->{$ver}->{checksum}";                  my $checksum = "--checksum $distrepo->{$ver}->{checksum}";
573    
574                  my $exclude = "";                  my $exclude = "";
575                  $exclude .= " --exclude ${osdir}/*" if -d "$dir/Packages";                  $exclude .= " --exclude ${osdir}/*" if ( -d "$dir/Packages" &&  ${osdir} ne "Packages" );
576                  $exclude .= " --exclude *smeserver-release*.rpm" if $dir =~ m{test/|-testing/};                  $exclude .= " --exclude *smeserver-release*.rpm" if $dir =~ m{test/|-testing/};
577    
578                  my $groupfile = "";                  my $groupfile = "";


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed