Changeset 2146


Ignore:
Timestamp:
Jul 13, 2016, 10:19:28 AM (3 years ago)
Author:
mabarracus
Message:

Add blacklist packages

Location:
germinate/trunk/fuentes
Files:
5 added
3 edited

Legend:

Unmodified
Added
Removed
  • germinate/trunk/fuentes/.pc/applied-patches

    r1926 r2146  
    22enhanced_recursive
    33ignore_gpg_check
     4blacklist_packages
  • germinate/trunk/fuentes/debian/patches/series

    r1926 r2146  
    22enhanced_recursive
    33ignore_gpg_check
     4blacklist_packages
  • germinate/trunk/fuentes/germinate/scripts/germinate_update_metapackage.py

    r733 r2146  
    323323            packages = seed_packages(germinator.get_seed_entries,
    324324                                     structure, seed_name)
     325            semilla = germinator._get_seed(structure,seed_name)
     326            blacklist = semilla._blacklist
     327           
    325328            for package in packages:
    326329                if package == meta_name:
     
    334337                    print("%s/%s: Skipping package %s (essential)" %
    335338                          (seed_name, architecture, package))
     339                elif package in blacklist:
     340                    print("%s/%s: Skipping blacklisted package %s" %
     341                         (seed_name, architecture, package))
    336342                else:
    337343                    new_list.append(package)
    338344
    339345            new_list.sort()
     346           
    340347            with open(output_filename, 'w') as output:
    341348                for package in new_list:
Note: See TracChangeset for help on using the changeset viewer.