Re: [Xenomai-core] Xenomai patch packaging concerns

2006-02-27 Thread Philippe Gerum
Philippe Gerum wrote: Romain Lenglet wrote: Gilles Chanteperdrix wrote: Romain Lenglet wrote: > +while read f; do > +f=`echo $f | cut -d/ -f2-` > +d=`dirname $f` > +if test "x$output_patch" = "x"; then > +mkdir -p $linux_tree/$link_d

Re: [Xenomai-core] Xenomai patch packaging concerns

2006-02-27 Thread Philippe Gerum
Romain Lenglet wrote: Gilles Chanteperdrix wrote: Romain Lenglet wrote: > +while read f; do > +f=`echo $f | cut -d/ -f2-` > +d=`dirname $f` > +if test "x$output_patch" = "x"; then > +mkdir -p $linux_tree/$link_dir/$d && \ > +

Re: [Xenomai-core] Xenomai patch packaging concerns

2006-02-24 Thread Romain Lenglet
Gilles Chanteperdrix wrote: > Romain Lenglet wrote: > > +while read f; do > > +f=`echo $f | cut -d/ -f2-` > > +d=`dirname $f` > > +if test "x$output_patch" = "x"; then > > +mkdir -p $linux_tree/$link_dir/$d && \ > > +

Re: [Xenomai-core] Xenomai patch packaging concerns

2006-02-24 Thread Romain Lenglet
Hi Philippe, I figured out where to link/copy every file. There was no need to modify any file in ksrc/... Here is my patch. The new option to prepare-kernel.sh is: --outpatch= For instance you can run: > mkdir /tmp/temptree > ./scripts/prepare-kernel.sh --outpatch=/tmp/patch.diff /tmp/tempt

Re: [Xenomai-core] Xenomai patch packaging concerns

2006-02-23 Thread Philippe Gerum
Romain Lenglet wrote: Hi, I understand that the prepare-kernel.sh script is a kind of "smart patch" program. It is very nice, but for packaging for Debian we need a real diff file. So I am currently modifying prepare-kernel.sh to be even smarter, so that it can optionally generate a diff fi

Re: [Xenomai-core] Xenomai patch packaging concerns

2006-02-23 Thread Philippe Gerum
Romain Lenglet wrote: Hi, I understand that the prepare-kernel.sh script is a kind of "smart patch" program. It is very nice, but for packaging for Debian we need a real diff file. So I am currently modifying prepare-kernel.sh to be even smarter, so that it can optionally generate a diff fi

[Xenomai-core] Xenomai patch packaging concerns

2006-02-23 Thread Romain Lenglet
Hi, I understand that the prepare-kernel.sh script is a kind of "smart patch" program. It is very nice, but for packaging for Debian we need a real diff file. So I am currently modifying prepare-kernel.sh to be even smarter, so that it can optionally generate a diff file instead of actually m

[Xenomai-core] Xenomai patch packaging concerns

2006-02-22 Thread Romain Lenglet
Hi, I understand that the prepare-kernel.sh script is a kind of "smart patch" program. It is very nice, but for packaging for Debian we need a real diff file. So I am currently modifying prepare-kernel.sh to be even smarter, so that it can optionally generate a diff file instead of actually m