生成补丁文件:
diff -Naur host-squashfs-4.4/squashfs-tools/ host-squashfs-4.4.new/squashfs-tools/ > /home/zdx/CppProject/h3/buildroot/package/squashfs/0002-squashfs-encrypt.patch
打补丁
切换到待打补丁的目录:
patch -p1 < /home/zdx/CppProject/h3/buildroot/package/squashfs/0002-squashfs-encrypt.patch