On Fri, Jul 22, 2016 at 11:34:44AM -0400, Martin Carroll wrote: > Hi Josh, thanks for the fast reply! > > When the original kernel is built, TEMPDIR hasn't been exported yet. > I already had TEMPDIR set (and exported) in my own shell environment. Shell > scripts should never assume that they "own" an environment variable. The > user's environment on entering the script can be anything. If you want to > bypass the special logic in kpatch-gcc using the "look for an empty > environment variable" trick, then kpatch-build must explicitly make that > environment variable empty before invoking the original make.
You're right, that is indeed a bug. Care to open a github issue? (Or even better, a pull request? :-)) -- Josh _______________________________________________ kpatch mailing list [email protected] https://www.redhat.com/mailman/listinfo/kpatch
