浏览代码

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

John Voltz 17 年之前
父节点
当前提交
417c4acc4a
共有 1 个文件被更改,包括 1 次插入0 次删除
  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!"