Re: An hopefully simple question about acpi and debian kernel
- To: Debian Laptop List <debian-laptop@lists.debian.org>
- Subject: Re: An hopefully simple question about acpi and debian kernel
- From: Dmitry Astapov <adept@umc.com.ua>
- Date: Wed, 05 Mar 2003 15:28:06 +0200
- Message-id: <[🔎] 87d6l6ymc9.fsf@dimail.umc.com.ua>
- In-reply-to: <1046426482.22995.87.camel@glx-brazil.ias.u-psud.fr> (Alexandre Beelen's message of "Fri, 28 Feb 2003 11:01:21 +0100")
- References: <1046325160.3240.4.camel@localhost.localdomain> <1046338625.5704.238.camel@kant .mcmillan.net.nz> <20030227161630.GA27055@komensky.surfbest.net> <1046426482.22995.87.camel@glx-brazil.ias.u-psud.fr>
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: