builddeb: Don't create files in /tmp with predictable names
authorBen Hutchings <ben@decadent.org.uk>
Wed, 15 Feb 2012 14:17:29 +0000 (14:17 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Mar 2012 00:31:20 +0000 (16:31 -0800)
commitc3d65b135f856651b2fa8606a7799a9f33d8f113
tree7a585fb53a7ba8e07b331447dd4c9e6c98d75457
parentdf9a5f8f94f3276aaa8c960a46f6838f7fdab974
builddeb: Don't create files in /tmp with predictable names

commit 6c635224602d760c1208ada337562f40d8ae93a5 upstream.

The current use of /tmp for file lists is insecure.  Put them under
$objtree/debian instead.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Acked-by: maximilian attems <max@stro.at>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
scripts/package/builddeb