|
From: <hzu...@ra...> - 2003-12-16 18:39:52
|
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.
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
cu
Heiko
|