Bug#365074: support for kFreeBSD

2006-04-30 Thread Ognyan Kulev
Robert Millan wrote: - match="$(find $moddir/kernel $moddir \ + match="$(find `ls -d $moddir/kernel 2>/dev/null` $moddir \ -name $module.o -or -name $module.ko \ | head -n 1 | sed "s!$

Bug#365074: support for kFreeBSD

2006-04-29 Thread Joey Hess
Robert Millan wrote: > We don't have $moddir/kernel, so find(1) failed with: > > find: /lib/modules/6.0-1-486/kernel: No such file or directory > > This blurb detects wether it exists first. Perhaps you'd prefer: > > `if test -d $moddir/kernel ; then echo $moddir/kernel ; fi` ? > > it's a bi

Bug#365074: support for kFreeBSD

2006-04-29 Thread Robert Millan
On Fri, Apr 28, 2006 at 08:44:41PM -0400, Joey Hess wrote: > Frans Pop wrote: > > On Thursday 27 April 2006 20:38, Robert Millan wrote: > > > I'm attaching a patch that adds support for kernel of FreeBSD. > > > > > > It's very non-intrusive. Only two scripts are modified minimaly. > > > > There's

Bug#365074: support for kFreeBSD

2006-04-29 Thread Robert Millan
On Fri, Apr 28, 2006 at 10:18:44PM +0200, Frans Pop wrote: > On Thursday 27 April 2006 20:38, Robert Millan wrote: > > I'm attaching a patch that adds support for kernel of FreeBSD. > > > > It's very non-intrusive. Only two scripts are modified minimaly. > > There's two things I think should be i

Bug#365074: support for kFreeBSD

2006-04-28 Thread Joey Hess
Frans Pop wrote: > On Thursday 27 April 2006 20:38, Robert Millan wrote: > > I'm attaching a patch that adds support for kernel of FreeBSD. > > > > It's very non-intrusive. Only two scripts are modified minimaly. > > There's two things I think should be improved. > - in commands/copy-modules an i

Bug#365074: support for kFreeBSD

2006-04-28 Thread Frans Pop
On Thursday 27 April 2006 20:38, Robert Millan wrote: > I'm attaching a patch that adds support for kernel of FreeBSD. > > It's very non-intrusive. Only two scripts are modified minimaly. There's two things I think should be improved. - in commands/copy-modules an if statement is added without in

Bug#365074: support for kFreeBSD

2006-04-27 Thread Robert Millan
Package: kernel-wedge Version: 2.21 Severity: normal Tags: patch Hi, I'm attaching a patch that adds support for kernel of FreeBSD. It's very non-intrusive. Only two scripts are modified minimaly. As for the modules/ dir, I opted for adding a new hierrachy in modules/kfreebsd/. This way, kfre