Browse Source

make patch-kernel create lists of applied patches, very handy indeed

John Voltz 17 years ago
parent
commit
417c4acc4a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      toolchain/patch-kernel.sh

+ 1 - 0
toolchain/patch-kernel.sh

@@ -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!"