make patch-kernel create lists of applied patches, very handy indeed
This commit is contained in:
parent
d683677b2a
commit
417c4acc4a
@ -37,6 +37,7 @@ for i in `cd ${patchdir}; ls -d ${patchpattern} 2> /dev/null` ; do
|
|||||||
esac
|
esac
|
||||||
echo ""
|
echo ""
|
||||||
echo "Applying ${i} using ${type}: "
|
echo "Applying ${i} using ${type}: "
|
||||||
|
echo ${i} | cat >> ${targetdir}/.applied_patches_list
|
||||||
${uncomp} ${patchdir}/${i} | patch -p1 -E -d ${targetdir}
|
${uncomp} ${patchdir}/${i} | patch -p1 -E -d ${targetdir}
|
||||||
if [ $? != 0 ] ; then
|
if [ $? != 0 ] ; then
|
||||||
echo "Patch failed! Please fix $i!"
|
echo "Patch failed! Please fix $i!"
|
||||||
|
Loading…
Reference in New Issue
Block a user