make patch-kernel create lists of applied patches, very handy indeed
authorJohn Voltz <john.voltz@gmail.com>
Thu, 13 Mar 2008 17:10:40 +0000 (17:10 -0000)
committerJohn Voltz <john.voltz@gmail.com>
Thu, 13 Mar 2008 17:10:40 +0000 (17:10 -0000)
toolchain/patch-kernel.sh

index b6722cecd91472039c4940c410b097efafd85178..5a29c6773a3bc3fe340d1245339b401f920484aa 100755 (executable)
@@ -37,6 +37,7 @@ for i in `cd ${patchdir}; ls -d ${patchpattern} 2> /dev/null` ; do
     esac
     echo ""
     echo "Applying ${i} using ${type}: " 
+       echo ${i} | cat >> ${targetdir}/.applied_patches_list
     ${uncomp} ${patchdir}/${i} | patch -p1 -E -d ${targetdir} 
     if [ $? != 0 ] ; then
         echo "Patch failed!  Please fix $i!"