Hi all,

I am now working on the packaging of systemimager-3.8.0 on Debian Sid. As 
specified on http://wiki.systemimager.org/index.php/Debian_Packaging, i use 
the current linux version packaged by Debian developers (i.e. linux-2.6.20).
Dann, is it the way to go for trunk modifications?

If so, the first modification is about the patch that identifies that Linux 
version (patches/02_use-pruned-kernel.patch), note that the patch is also 
available in my branch (r54):

--- systemimager-3.7.5/make.d/kernel.rul.orig   2006-10-17 
14:17:24.000000000 -0400
+++ systemimager-3.7.5/make.d/kernel.rul        2006-12-07 
16:58:35.911120160 -0500
@@ -12,17 +12,17 @@
 #

 ifeq ($(ARCH),i386)
-       LINUX_VERSION = 2.6.18.1
+       LINUX_VERSION = 2.6.20
        LINUX_IMAGE = $(LINUX_SRC)/arch/i386/boot/bzImage
        LINUX_TARGET = bzImage
-       LINUX_DIR = linux-$(LINUX_VERSION)
+       LINUX_DIR = linux-source-$(LINUX_VERSION)
 endif

 ifeq ($(ARCH),ia64)
-       LINUX_VERSION = 2.6.16.5
+       LINUX_VERSION = 2.6.20
        LINUX_IMAGE = $(LINUX_SRC)/vmlinux.gz
        LINUX_TARGET = compressed
-       LINUX_DIR = linux-$(LINUX_VERSION)
+       LINUX_DIR = linux-source-$(LINUX_VERSION)
 endif

 ifeq ($(ARCH),parisc)
@@ -76,7 +76,7 @@
 endif

 LINUX_SRC := $(SRC_DIR)/$(LINUX_DIR)
-LINUX_TARBALL := linux-$(LINUX_VERSION).tar.bz2
+LINUX_TARBALL := linux-source-$(LINUX_VERSION).tar.bz2
 #LINUX_URL = http://www.kernel.org/pub/linux/kernel/v2.6/$(LINUX_TARBALL)
 #LINUX_URL = http://www.kernel.org/pub/linux/kernel/v2.4/$(LINUX_TARBALL)
 LINUX_URL = http://download.systemimager.org/pub/linux/$(LINUX_TARBALL)
@@ -143,7 +143,7 @@
            echo -n Applying `basename $(patch)`... && cat $(patch) | 
patch -s -p1 && echo done. &&) /bin/tru
e
        cp -a $(LINUX_CONFIG) $(LINUX_SRC)/.config
        perl -pi -e "s/^EXTRAVERSION =.*/EXTRAVERSION = -boel_v$(VERSION)/" 
$(LINUX_SRC)/Makefile
-       $(MAKE) -C $(LINUX_SRC) oldconfig dep
+       $(MAKE) -C $(LINUX_SRC) oldconfig
        touch $(SRC_DIR)/patched_kernel-stamp

 PHONY += get_kernel_source

Thanks,
-- 
Geoffroy

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
sisuite-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-devel

Reply via email to