dynup/kpatch — pull request #292 by goldyfruit (2014-07-02 16:41:51+00:00)
Title: kpatch-build: add make scripts to avoid some errors

To avoid some errors in during the patch compilation.
```
+ mkdir -p /tmp/kpatch-build-w8E27h/patched/scripts/basic
+ cp -f /root/.kpatch/obj2/scripts/basic/fixdep /tmp/kpatch-build-w8E27h/patched/scripts/basic/fixdep
+ for i in '$(cat $TEMPDIR/changed_objs)'
+ KCFLAGS='-ffunction-sections -fdata-sections'
+ make scripts/selinux/genheaders/genheaders O=/root/.kpatch/obj2
+ die
+ [[ -z '' ]]
+ warn 'kpatch build failed. Check /tmp/kpatch-build-1404238429.log for more details.'
+ echo 'ERROR: kpatch build failed. Check /tmp/kpatch-build-1404238429.log for more details.'
ERROR: kpatch build failed. Check /tmp/kpatch-build-1404238429.log for more details.
+ exit 1
```