|
From: Heiko Z. <he...@zu...> - 2003-12-23 14:16:19
|
Martin Glazer wrote: >>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? > > Put them in 2 different folders: yourpatchset/p0 yourpatchset/p1 But that only works when the order doesn't matter, but you said this is your case anyway. Heiko |