[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Question rsync Kernel tree.



Hi gurus

I try to rsync my kernel source tree (2.2.17) in the aim to resolve some
USB
problems.

when I use the rsync (rsync -avz --delete
ppc.samba.org::linux-pmac-stable)
from my kernel dir, I see a lot of files which are not in my local tree.
My
kernel 2.2.17 as been download from debian ftp.

Does it mean that there is a missing sources in my kernel tree ?

Do I need to downlod a new kernel  tree before to rsync it ?

Do I well use rsync ?

# cd /usr/src/kernel-source-2.2.17
# rsync -avz --delete ppc.samba.org::linux-pmac-stable
..
..
..
drivers/usb/acm.c
drivers/usb/bluetooth.c
drivers/usb/dabfirmware.h
drivers/usb/dabusb.c
drivers/usb/dc2xx.c
drivers/usb/devices.c
drivers/usb/devio.c
..
etc

- If try to ls some files from my kernel tree

# ls
COPYING        MAINTAINERS  README.Debian   arch     include  kernel
net
CREDITS        Makefile     REPORTING-BUGS  drivers  init     lib
scripts
Documentation  README       Rules.make      fs       ipc      mm
# ls ./drivers/usb/acm.c
ls: ./drivers/usb/acm.c: No such file or directory
# ls ./drivers/usb/dabfirmware.h
: ./drivers/usb/dabfirmware.h: No such file or directory
# ls ./drivers/usb/dabusb.c
: ./drivers/usb/dabfirmware.h: No such file or directory
# ls ./drivers/usb/dabusb.c
...

- By doing

# for i in `cat /tmp/file.kernelpatch |awk '{print $5}' | grep '/'`
do
if [ ! -r ./$i ]
then
  echo $i not found >> /tmp/find
  else
  echo $i OK >> /tmp/find
fi
done


# grep "not found" /tmp/find |wc -l
    493

I found 493 missing patches it quiet a lots !!!!


Thanks for help.

jeorme




Reply to: