From: Andres Salomon Date: Sun, 19 May 2002 04:18:29 +0000 (+0000) Subject: fix incorrect relative dir; remove headers before patching, otherwise patch X-Git-Tag: beta3~5 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=ea15f55ae35df1274f40da9ffba8b1e0acef0414;p=dm.git fix incorrect relative dir; remove headers before patching, otherwise patch fails --- diff --git a/debian/rules b/debian/rules index e49144c..c135097 100755 --- a/debian/rules +++ b/debian/rules @@ -32,9 +32,10 @@ major=2 header-update: # This isn't actually used; it's here for my own personal reference. + rm -f debian/include/linux/*.h cd debian && tar jxvf /usr/src/kernel-source-2.4.18.tar.bz2 && \ ./scripts/strippatch.pl \ - ./patches/linux-2.4.18-devmapper-ioctl.patch | \ + ../patches/linux-2.4.18-devmapper-ioctl.patch | \ ./scripts/includes.pl kernel-source-2.4.18/ | \ patch -p1