]> code.ossystems Code Review - openembedded-core.git/commit
rpm: Fix patch to ensure variables aren't used uninitialised
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 9 Jun 2018 10:49:48 +0000 (12:49 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 15 Jun 2018 10:43:10 +0000 (11:43 +0100)
commit3feebf7d28ef1049075a9d2ad3d64fc9b35015f2
tree17bd91501978edf72aeefb09797e2f4307fa93e7
parent1325518f8f2dafc09acd1bef5f93aa3550063306
rpm: Fix patch to ensure variables aren't used uninitialised

Recent patches were applied which removed a function which set the xx
variable. This means xx can be uninitalised and prerm functions can fail.

This adjusts the patch to ensure the xx value isn't used in such a way.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-devtools/rpm/files/0001-Do-not-reset-the-PATH-environment-variable-before-ru.patch