[ptxdist] how to add a kernel patch for automatic build finding?

2010-10-08 Thread ORMANCEY Nicolas
Hi every body

 

I've generated a patch for a kernel driver.

It seems to work properly but now I want to integrate it in the ptxdist tree
to be reusable by all my project users.

I try to create a linux-2.6.33 (my kernel version) on the patch directory
but at extract time (target: kernel. extract) I've got this error message

Error: specified series 'home/../.../patches/linux 2.6.33/series not found

 

I found on the ptxdist documentation the kernel-patches-target directive but
it seems to not be supported on the 2010.05.2 version?

 

So how can I integrate my patch to the ptxdist tree?

 

Thanks

 

Nicolas

 

 




Nicolas Ormancey - Project engineer

direct phone +33 4 76 52 66 38 


 

 

image001.gif-- 
ptxdist mailing list
ptxdist@pengutronix.de


Re: [ptxdist] kernel modules (src-linux-driver) regression in 2010-08-0

2010-10-08 Thread Marc Kleine-Budde
On 10/07/2010 01:38 PM, Tim Sander wrote:
 Hi
 
 I just switched to ptxdist-2010-08-0 yesterday and i found that all the 
 modules created with the template (even with 2010-08-0) are not included
 in the kernel anymore?
 
 Steps to reproduce:
 ptxdist newpackage src-linux-driver
 ptxdist menuconfig #and select the new driver
 ptxdist images
 
 The modules will be build normally but not installed 
 under /lib/modules/*/extra and are thus not found when calling modprobe 
 name.

Can you test if this patch helps? 76e73ab090656d83463af7000f32628b43292d6b

Cheers, Marc

-- 
Pengutronix e.K.  | Marc Kleine-Budde   |
Industrial Linux Solutions| Phone: +49-231-2826-924 |
Vertretung West/Dortmund  | Fax:   +49-5121-206917- |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |



signature.asc
Description: OpenPGP digital signature
-- 
ptxdist mailing list
ptxdist@pengutronix.de


Re: [ptxdist] how to add a kernel patch for automatic build finding?

2010-10-08 Thread Tim Sander
Hi Nicolas
 So how can I integrate my patch to the ptxdist tree?
Just do 
cd home/../.../patches/linux 2.6.33
ls |sed -e /^series$/d series

This creates a series file in your patch directory. 

Regards
Tim

-- 
ptxdist mailing list
ptxdist@pengutronix.de


Re: [ptxdist] kernel modules (src-linux-driver) regression in 2010-08-0

2010-10-08 Thread Tim Sander
Hi Marc
 Can you test if this patch helps? 76e73ab090656d83463af7000f32628b43292d6b
This patch helps. But somehow i have an error that expat uses bz2 instead of 
the correct gz? At least i cant download the tar.bz2 package from here?

diff --git a/rules/expat.make b/rules/expat.make
index efbabba..db8c1fd 100644
--- a/rules/expat.make
+++ b/rules/expat.make
@@ -20,7 +20,7 @@ PACKAGES-$(PTXCONF_EXPAT) += expat
 #
 EXPAT_VERSION  := 2.0.1
 EXPAT  := expat-$(EXPAT_VERSION)
-EXPAT_SUFFIX   := tar.bz2
+EXPAT_SUFFIX   := tar.gz
 EXPAT_URL  := $(PTXCONF_SETUP_SFMIRROR)/expat/$(EXPAT).$(EXPAT_SUFFIX)
 EXPAT_SOURCE   := $(SRCDIR)/$(EXPAT).$(EXPAT_SUFFIX)
 EXPAT_DIR  := $(BUILDDIR)/$(EXPAT)

Best regards
Tim

-- 
ptxdist mailing list
ptxdist@pengutronix.de


Re: [ptxdist] kernel modules (src-linux-driver) regression in 2010-08-0

2010-10-08 Thread Marc Kleine-Budde
On 10/08/2010 10:47 AM, Tim Sander wrote:
 Hi Marc
 Can you test if this patch helps? 76e73ab090656d83463af7000f32628b43292d6b
 This patch helps. But somehow i have an error that expat uses bz2 instead of 
 the correct gz? At least i cant download the tar.bz2 package from here?

The expat tar.gz cannot be uncompressed on some i386/ubuntu-10.04
systems. So we recompressed it as bz2 and put it on the pengutronix's
website. SO it should be downloaded from there.

Cheers, Marc

-- 
Pengutronix e.K.  | Marc Kleine-Budde   |
Industrial Linux Solutions| Phone: +49-231-2826-924 |
Vertretung West/Dortmund  | Fax:   +49-5121-206917- |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |



signature.asc
Description: OpenPGP digital signature
-- 
ptxdist mailing list
ptxdist@pengutronix.de


Re: [ptxdist] kernel modules (src-linux-driver) regression in 2010-08-0

2010-10-08 Thread Marc Kleine-Budde
On 10/08/2010 10:56 AM, Marc Kleine-Budde wrote:
 On 10/08/2010 10:47 AM, Tim Sander wrote:
 Hi Marc
 Can you test if this patch helps? 76e73ab090656d83463af7000f32628b43292d6b
 This patch helps. But somehow i have an error that expat uses bz2 instead of 
 the correct gz? At least i cant download the tar.bz2 package from here?
 
 The expat tar.gz cannot be uncompressed on some i386/ubuntu-10.04
 systems. So we recompressed it as bz2 and put it on the pengutronix's
 website. SO it should be downloaded from there.

http://pengutronix.de/software/ptxdist/temporary-src/expat-2.0.1.tar.bz2

Marc

-- 
Pengutronix e.K.  | Marc Kleine-Budde   |
Industrial Linux Solutions| Phone: +49-231-2826-924 |
Vertretung West/Dortmund  | Fax:   +49-5121-206917- |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |



signature.asc
Description: OpenPGP digital signature
-- 
ptxdist mailing list
ptxdist@pengutronix.de