Hi For a while now I have been packaging 3.10 longterm kernels for wheezy. While I'm doing this for my own use, I have made my apt repository public [1], just in case anyone else finds my work usefull. My packages are based on the unreleased 3.10.13 package in the debian svn repository, to which I have added upstream longterm updates and backports of most packaging improvements from later debian kernels. My repository currently contains two packageversions: 3.10.20-0~bpo70+1 which is ABI compatible with 3.10.11-1~bpo70+1 from backports.debian.org, but lacks some upstream fixes and debian packaging improvements; and 3.10.20-0~bpo70+2 which isn't, but doesn't. While they are built and tested on wheezy, I can see no reason who they shouldn't work on squeeze or jessie as well. My repository only contains amd64 and i386 packages, as that is what I use, but I also have completely untested cross- compiled armel and armhf packages, which I can add if anyone wants them, though I would recommend rebuilding the source packages on actual arm hardware instead... I have pushed clones of my git-svn repositories to github at [2, 3, 4] in case anyone is interested in the individual changes I made, but most of it is just boring backport work. I have attached the only two patches, one for "linux" and one for "linux-tools", I think might be of interest to the debian kernel team. Best regards Jon Severinsson [1] deb http://apt.severinsson.net/debian wheezy kernel [2] https://github.com/jonseverinsson/debian-linux [3] https://github.com/jonseverinsson/debian-linux-tools [4] https://github.com/jonseverinsson/debian-linux-latest
From 56837cde42048ee45e292abcd155dc3ffd51e2c9 Mon Sep 17 00:00:00 2001 From: Jon Severinsson <jon@severinsson.net> Date: Fri, 25 Oct 2013 18:00:00 +0200 Subject: [PATCH] debian/rules: Don't kill a git-svn clone on "make -f debian/rules orig". --- debian/rules | 2 +- 1 fil ändrad, 1 tillägg(+), 1 borttagning(-) diff --git a/debian/rules b/debian/rules index 6867d47e..b04b1de2 100755 --- a/debian/rules +++ b/debian/rules @@ -28,7 +28,7 @@ TAR_ORIG_NAME = $(SOURCE)_$(VERSION).orig.tar.xz TAR_ORIG = $(firstword $(wildcard ../$(TAR_ORIG_NAME)) $(wildcard ../orig/$(TAR_ORIG_NAME))) orig: $(DIR_ORIG) - rsync --delete --exclude debian --exclude .svk --exclude .svn --link-dest=$(DIR_ORIG)/ -a $(DIR_ORIG)/ . + rsync --delete --exclude /debian --exclude .svk --exclude .svn --exclude .git --link-dest=$(DIR_ORIG)/ -a $(DIR_ORIG)/ . QUILT_PATCHES='$(CURDIR)/debian/patches' QUILT_PC=.pc quilt push --quiltrc - -a -q --fuzz=0 $(DIR_ORIG): -- 1.7.10.4
From 31c280b62dc4da934c6cea9c887e75be928339da Mon Sep 17 00:00:00 2001 From: Jon Severinsson <jon@severinsson.net> Date: Sun, 24 Nov 2013 18:00:00 +0100 Subject: [PATCH] Fix a cross compilation issue. --- debian/changelog | 1 + debian/rules.real | 10 +++++++++- 2 filer ändrade, 10 tillägg(+), 1 borttagning(-) diff --git a/debian/changelog b/debian/changelog index 541e1895..6dd22703 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ linux (3.10.18-0~bpo70+2) UNRELEASED; urgency=low [ Jon Severinsson ] * Update ABI files to 3.10.18-0~bpo70+1 + * Fix a cross compilation issue. -- Jon Severinsson <jon@severinsson.net> Sun, 24 Nov 2013 18:00:00 +0100 diff --git a/debian/rules.real b/debian/rules.real index c7397c0d..dba2a5f0 100644 --- a/debian/rules.real +++ b/debian/rules.real @@ -20,6 +20,14 @@ ifeq ($(DISTRIBUTOR),) DISTRIBUTOR := Debian endif +ifdef OVERRIDE_HOST_TYPE + CROSS_COMPILE := $(OVERRIDE_HOST_TYPE)- +else ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH)) + CROSS_COMPILE := $(DEB_HOST_GNU_TYPE)- +else + CROSS_COMPILE := +endif + export PYTHONPATH = $(CURDIR)/debian/lib/python export DH_OPTIONS export DEB_HOST_ARCH DEB_HOST_GNU_TYPE DEB_BUILD_ARCH @@ -347,7 +355,7 @@ ifeq ($(MODULES),True) ifeq ($(DEBUG),True) set -o pipefail; \ find $(PACKAGE_DIR) -name '*.ko' | sed 's|$(PACKAGE_DIR)/lib/modules/$(REAL_VERSION)/kernel/||' | while read module ; do \ - objcopy --add-gnu-debuglink=$(DIR)/$$module $(PACKAGE_DIR)/lib/modules/$(REAL_VERSION)/kernel/$$module || exit; \ + $(CROSS_COMPILE)objcopy --add-gnu-debuglink=$(DIR)/$$module $(PACKAGE_DIR)/lib/modules/$(REAL_VERSION)/kernel/$$module || exit; \ done endif cp $(DIR)/.config $(PACKAGE_DIR)/boot/config-$(REAL_VERSION) -- 1.7.10.4
Attachment:
signature.asc
Description: This is a digitally signed message part.