|
From: Martin G. <sou...@gl...> - 2003-12-23 07:37:06
|
On December 16, 2003 11:25 am, hzu...@ra... wrote: > Hey, > > I would suggest you do it similar to wait I do with the kernel patches, > since this is better when you have to apply multiple patches. > I have one tarball kernel-patches.tar.bz2 which I keep up to date. > That will make things easier... > Here are the magic lines (you find it in the file prepare): > if [ ! -f devil-linux-kernel-patches.done ]; then > touch devil-linux-kernel-patches.done > for PATCH in $(ls $WORKDIR/kernel-patches/* 2> > /dev/null ) > do > echo applying patch: $PATCH > patch -p1 -i $PATCH || exit 1 > done > fi > > When the patches need to be installed in a specific order, just rename them > with a number in front: > 01_first_patch > 02_second_patch > and so on > The problem I am having is not so much the order of the patches, but rather that some of them have to be patched with p0 and some with p1. I suppose I could always redo the exception patch file, but I'de rather not mess with it as they are not mine. Is there any other elegant way of fixing a p0/p1 patch file? Martin |