diff --git a/buildstrap b/buildstrap index d14173a..b046d20 100755 --- a/buildstrap +++ b/buildstrap @@ -64,8 +64,8 @@ if [ $INSTALL_BCC -eq 1 ]; then cp $spath/bcc/build-bcc.sh $TDIR/debian/bcc-master/; pushd $TDIR/debian/bcc-master - git am $spath/bcc/misc/0001-clang-Allow-user-to-override-kernel-version.patch - git am $spath/bcc/misc/0001-DONOT-MERGE-Remove-version-override-warnings.patch + patch -p1 < $spath/bcc/misc/0001-clang-Allow-user-to-override-kernel-version.patch + patch -p1 < $spath/bcc/misc/0001-DONOT-MERGE-Remove-version-override-warnings.patch popd fi