...
 
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
Debian applies small changes to the kernel source. These are split up into
separated patches addressing individual problems. Each of the patch files
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
------------
......
......@@ -15,7 +15,7 @@ Updating the upstream source
installed)
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".
(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 *
default_url_base = "http://ftp.de.debian.org/debian/"
default_url_base_incoming = "http://incoming.debian.org/"
default_url_base_ports = "http://ftp.debian-ports.org/debian/"
default_url_base_security = "http://security.debian.org/"
class url_debian_flat(object):
......@@ -41,6 +42,11 @@ class url_debian_ports_pool(url_debian_pool):
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):
dir = None
......@@ -63,9 +69,9 @@ class Main(object):
self.version = changelog.version.linux_version
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):
self.dir = tempfile.mkdtemp(prefix='abiupdate')
......@@ -103,13 +109,10 @@ class Main(object):
return s
def get_config(self):
filename = "linux-support-%s_%s_all.deb" % (self.version_abi, self.version_source)
f = self.retrieve_package(self.url_config, filename, 'all')
d = self.extract_package(f, "linux-support")
c = d + "/usr/src/linux-support-" + self.version_abi + "/config.defines.dump"
config = ConfigCoreDump(fp=file(c))
shutil.rmtree(d)
return config
# XXX We used to fetch the previous version of linux-support here,
# but until we authenticate downloads we should not do that as
# pickle.load allows running arbitrary code.
return self.config
def retrieve_package(self, url, filename, arch):
u = url(self.source, filename, arch)
......@@ -180,9 +183,11 @@ if __name__ == '__main__':
options.add_option("-i", "--incoming", action="store_true", dest="incoming")
options.add_option("--incoming-config", action="store_true", dest="incoming_config")
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("--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-security", dest="url_base_security", default=default_url_base_security)
opts, args = options.parse_args()
......@@ -197,11 +202,14 @@ if __name__ == '__main__':
url_base = url_debian_pool(opts.url_base)
url_base_incoming = url_debian_flat(opts.url_base_incoming)
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:
url = url_config = url_base_incoming
else:
url_config = url_base
if opts.incoming:
if opts.security:
url = url_base_security
elif opts.incoming:
url = url_base_incoming
elif opts.ports:
url = url_base_ports
......
......@@ -162,6 +162,7 @@ class Gencontrol(Base):
flavour_makeflags_base = (
('compiler', 'COMPILER', False),
('compiler-filename', 'COMPILER', True),
('kernel-arch', 'KERNEL_ARCH', False),
('cflags', 'CFLAGS_KERNEL', True),
('override-host-type', 'OVERRIDE_HOST_TYPE', True),
......@@ -211,6 +212,10 @@ class Gencontrol(Base):
item.arches = [arch]
packages['source']['Build-Depends'].extend(relations_compiler_build_dep)
relations_kbuild = PackageRelation(
config_entry_relations.get(
'linux-kbuild', 'linux-kbuild-' + self.version.linux_version))
image_fields = {'Description': PackageDescription()}
for field in 'Depends', 'Provides', 'Suggests', 'Recommends', 'Conflicts', 'Breaks':
image_fields[field] = PackageRelation(config_entry_image.get(field.lower(), None), override_arches=(arch,))
......@@ -279,6 +284,7 @@ class Gencontrol(Base):
makeflags['MODULES'] = True
package_headers = self.process_package(headers[0], vars)
package_headers['Depends'].extend(relations_compiler)
package_headers['Depends'].extend(relations_kbuild)
packages_own.append(package_headers)
extra['headers_arch_depends'].append('%s (= ${binary:Version})' % packages_own[-1]['Package'])
......