def __init__(self, url, url_config=None, arch=None, featureset=None, flavour=None): self.log = sys.stdout.write self.url = self.url_config = url if url_config is not None: self.url_config = url_config self.override_arch = arch self.override_featureset = featureset self.override_flavour = flavour changelog = Changelog(version=VersionLinux) while changelog[0].distribution == 'UNRELEASED': changelog.pop(0) changelog = changelog[0] self.source = changelog.source self.version = changelog.version.linux_version self.version_source = changelog.version.complete self.config = ConfigCoreDump( fp=open("debian/config.defines.dump", "rb")) self.version_abi = self.config['version', ]['abiname']
def __init__(self, arch=None, featureset=None, flavour=None): self.log = sys.stdout.write self.override_arch = arch self.override_featureset = featureset self.override_flavour = flavour changelog = Changelog(version=VersionLinux) while changelog[0].distribution == 'UNRELEASED': changelog.pop(0) changelog = changelog[0] self.source = changelog.source self.version = changelog.version.linux_version self.version_source = changelog.version.complete if changelog.distribution.endswith('-security'): self.urls = [url_base_security] else: self.urls = [ url_base, url_base_ports, url_base_incoming, url_base_ports_incoming ] self.config = ConfigCoreDump( fp=open("debian/config.defines.dump", "rb")) self.version_abi = self.config['version', ]['abiname']
def __init__(self, url, url_config=None, arch=None, featureset=None, flavour=None): self.log = sys.stdout.write self.url = self.url_config = url if url_config is not None: self.url_config = url_config self.override_arch = arch self.override_featureset = featureset self.override_flavour = flavour changelog = Changelog(version=VersionLinux) while changelog[0].distribution == 'UNRELEASED': changelog.pop(0) changelog = changelog[0] self.source = changelog.source self.version = changelog.version.linux_version self.version_source = changelog.version.complete self.config = ConfigCoreDump(fp=open("debian/config.defines.dump", "rb")) self.version_abi = self.config['version', ]['abiname']