Re: An hopefully simple question about acpi and debian kernel
Evening, Alexandre.
Alexandre Beelen <alexandre.beelen@ias.u-psud.fr> 11:01 28/2/2003 wrote:
AB> And how can you rip off the Debian patches since in the README.Debian
AB> file of the kernel-image package you can only read :
AB> * NFS client seekdir patch
AB> http://www.fys.uio.no/~trondmy/src/
AB> * SCSI Media Changer
AB> http://bytesex.org/patches/
AB> * Big Physical Area Reservation
AB> http://www.polyware.nl/~middelin/hob-v4l.html#bigphysarea
AB> but nothing on ACPI !
For example, provided that you have both vanilla sources and Debian
sources, and an appropriate APCI diff, you could do:
#!/bin/bash
version="2.4.20"
acpi_v="20021212-2.4.20"
cd /usr/src
rm -rf linux-${version} kernel-source-${version}
tar -xjf linux-${version}.tar.bz2
tar -xjf kernel-source-${version}.tar.bz2
diff -Nur kernel-source-${version} linux-${version} > debian-unacpi-${version}.diff
lsdiff acpi-${acpi_v}.diff | sed -e's/^a//' | while read f ; do filterdiff -i * debian-unacpi-${version}.diff >| debian-unacpi.diff ; done
--
Dmitry Astapov //ADEpt E-mail: adept@umc.com.ua
GPG KeyID/fprint: F5D7639D/CA36 E6C4 815D 434D 0498 2B08 7867 4860 F5D7 639D
Reply to: