Changeset 3446


Ignore:
Timestamp:
Jan 30, 2017, 12:31:30 PM (3 years ago)
Author:
hectorgh
Message:

supporting global blacklist file

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

Legend:

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

    r2146 r3446  
    33ignore_gpg_check
    44blacklist_packages
     5llx_global_bans
  • germinate/trunk/fuentes/debian/patches/series

    r2146 r3446  
    33ignore_gpg_check
    44blacklist_packages
     5llx_global_bans
  • germinate/trunk/fuentes/germinate/scripts/germinate_update_metapackage.py

    r2146 r3446  
    305305            sys.exit(1)
    306306
     307        print("[%s] Loading dist blacklist..." % architecture)
     308        try:
     309            f=open("seeds/%s/blacklist"%seed_dist)
     310            germinator.parse_blacklist(structure,f)
     311            blacklist=germinator._output[structure]._blacklist
     312        except Exception as blacklist_exception:
     313            pass
     314
    307315        print("[%s] Merging seeds with available package lists..." %
    308316              architecture)
     
    323331            packages = seed_packages(germinator.get_seed_entries,
    324332                                     structure, seed_name)
     333
    325334            semilla = germinator._get_seed(structure,seed_name)
    326             blacklist = semilla._blacklist
    327            
     335            local_blacklist = semilla._blacklist
     336
    328337            for package in packages:
    329338                if package == meta_name:
     
    337346                    print("%s/%s: Skipping package %s (essential)" %
    338347                          (seed_name, architecture, package))
    339                 elif package in blacklist:
     348                elif package in blacklist or package in local_blacklist:
    340349                    print("%s/%s: Skipping blacklisted package %s" %
    341350                         (seed_name, architecture, package))
Note: See TracChangeset for help on using the changeset viewer.