...
 
Commits (2599)

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

!/patches
!*.patch
!*.diff
*.debhelper*
*.local
*.pyc
*.substvars
*-di
/build/
/config.defines.dump
/control
/control.md5sum
/files
/linux-*
/po/
/rules.gen
/stamps/
/xen-linux-system-*
...@@ -6,7 +6,7 @@ Patches ...@@ -6,7 +6,7 @@ Patches
Debian applies small changes to the kernel source. These are split up into Debian applies small changes to the kernel source. These are split up into
separated patches addressing individual problems. Each of the patch files separated patches addressing individual problems. Each of the patch files
contains a description and mentions the author. The patches can be found contains a description and mentions the author. The patches can be found
at http://svn.debian.org/wsvn/kernel/dists/trunk/linux/debian/patches/. at https://anonscm.debian.org/cgit/kernel/linux.git/tree/debian/patches.
Config Files Config Files
------------ ------------
......
...@@ -15,7 +15,7 @@ Updating the upstream source ...@@ -15,7 +15,7 @@ Updating the upstream source
installed) installed)
3) Unpack linux_<version>.orig.tar.gz, cd into the new directory, 3) Unpack linux_<version>.orig.tar.gz, cd into the new directory,
and do a 'svn export' to get the debian/ subdirectory. and do a 'git archive' to get the debian/ subdirectory.
Alternatively unpack using "make -f debian/rules orig". Alternatively unpack using "make -f debian/rules orig".
(the orig target of the Makefiles requires rsync) (the orig target of the Makefiles requires rsync)
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -16,6 +16,7 @@ from debian_linux.debian import * ...@@ -16,6 +16,7 @@ from debian_linux.debian import *
default_url_base = "http://ftp.de.debian.org/debian/" default_url_base = "http://ftp.de.debian.org/debian/"
default_url_base_incoming = "http://incoming.debian.org/" default_url_base_incoming = "http://incoming.debian.org/"
default_url_base_ports = "http://ftp.debian-ports.org/debian/" default_url_base_ports = "http://ftp.debian-ports.org/debian/"
default_url_base_security = "http://security.debian.org/"
class url_debian_flat(object): class url_debian_flat(object):
...@@ -41,6 +42,11 @@ class url_debian_ports_pool(url_debian_pool): ...@@ -41,6 +42,11 @@ class url_debian_ports_pool(url_debian_pool):
return self.base + "pool-" + arch + "/main/" + source[0] + "/" + source + "/" + filename return self.base + "pool-" + arch + "/main/" + source[0] + "/" + source + "/" + filename
class url_debian_security_pool(url_debian_pool):
def __call__(self, source, filename, arch):
return self.base + "pool/updates/main/" + source[0] + "/" + source + "/" + filename
class Main(object): class Main(object):
dir = None dir = None
...@@ -63,9 +69,9 @@ class Main(object): ...@@ -63,9 +69,9 @@ class Main(object):
self.version = changelog.version.linux_version self.version = changelog.version.linux_version
self.version_source = changelog.version.complete self.version_source = changelog.version.complete
local_config = ConfigCoreDump(fp=file("debian/config.defines.dump")) self.config = ConfigCoreDump(fp=file("debian/config.defines.dump"))
self.version_abi = local_config['version', ]['abiname'] self.version_abi = self.config['version', ]['abiname']
def __call__(self): def __call__(self):
self.dir = tempfile.mkdtemp(prefix='abiupdate') self.dir = tempfile.mkdtemp(prefix='abiupdate')
...@@ -103,13 +109,10 @@ class Main(object): ...@@ -103,13 +109,10 @@ class Main(object):
return s return s
def get_config(self): def get_config(self):
filename = "linux-support-%s_%s_all.deb" % (self.version_abi, self.version_source) # XXX We used to fetch the previous version of linux-support here,
f = self.retrieve_package(self.url_config, filename, 'all') # but until we authenticate downloads we should not do that as
d = self.extract_package(f, "linux-support") # pickle.load allows running arbitrary code.
c = d + "/usr/src/linux-support-" + self.version_abi + "/config.defines.dump" return self.config
config = ConfigCoreDump(fp=file(c))
shutil.rmtree(d)
return config
def retrieve_package(self, url, filename, arch): def retrieve_package(self, url, filename, arch):
u = url(self.source, filename, arch) u = url(self.source, filename, arch)
...@@ -180,9 +183,11 @@ if __name__ == '__main__': ...@@ -180,9 +183,11 @@ if __name__ == '__main__':
options.add_option("-i", "--incoming", action="store_true", dest="incoming") options.add_option("-i", "--incoming", action="store_true", dest="incoming")
options.add_option("--incoming-config", action="store_true", dest="incoming_config") options.add_option("--incoming-config", action="store_true", dest="incoming_config")
options.add_option("--ports", action="store_true", dest="ports") options.add_option("--ports", action="store_true", dest="ports")
options.add_option("--security", action="store_true", dest="security")
options.add_option("-u", "--url-base", dest="url_base", default=default_url_base) options.add_option("-u", "--url-base", dest="url_base", default=default_url_base)
options.add_option("--url-base-incoming", dest="url_base_incoming", default=default_url_base_incoming) options.add_option("--url-base-incoming", dest="url_base_incoming", default=default_url_base_incoming)
options.add_option("--url-base-ports", dest="url_base_ports", default=default_url_base_ports) options.add_option("--url-base-ports", dest="url_base_ports", default=default_url_base_ports)
options.add_option("--url-base-security", dest="url_base_security", default=default_url_base_security)
opts, args = options.parse_args() opts, args = options.parse_args()
...@@ -197,11 +202,14 @@ if __name__ == '__main__': ...@@ -197,11 +202,14 @@ if __name__ == '__main__':
url_base = url_debian_pool(opts.url_base) url_base = url_debian_pool(opts.url_base)
url_base_incoming = url_debian_flat(opts.url_base_incoming) url_base_incoming = url_debian_flat(opts.url_base_incoming)
url_base_ports = url_debian_ports_pool(opts.url_base_ports) url_base_ports = url_debian_ports_pool(opts.url_base_ports)
url_base_security = url_debian_security_pool(opts.url_base_security)
if opts.incoming_config: if opts.incoming_config:
url = url_config = url_base_incoming url = url_config = url_base_incoming
else: else:
url_config = url_base url_config = url_base
if opts.incoming: if opts.security:
url = url_base_security
elif opts.incoming:
url = url_base_incoming url = url_base_incoming
elif opts.ports: elif opts.ports:
url = url_base_ports url = url_base_ports
......
...@@ -162,6 +162,7 @@ class Gencontrol(Base): ...@@ -162,6 +162,7 @@ class Gencontrol(Base):
flavour_makeflags_base = ( flavour_makeflags_base = (