builddeb: put the dbg files into the correct directory
authorMichal Marek <mmarek@suse.cz>
Fri, 22 Aug 2014 13:51:03 +0000 (15:51 +0200)
committerMichal Marek <mmarek@suse.cz>
Tue, 26 Aug 2014 14:01:07 +0000 (16:01 +0200)
commit2d0871396995139b37f9ceb153c8b07589148343
tree8bf5b2cff8797d56d8a6cff9b0405655da2b6f5f
parent8e170655b517ba49bf4d015008474bcc2f425b20
builddeb: put the dbg files into the correct directory

Since the conversion of objtree to use relative pathnames (commit
7e1c04779e, "kbuild: Use relative path for $(objtree)"), the debug
info files have been ending up in /debian/dbgtmp/ in the regular
linux-image package instead of the debug files package. Fix up the
paths so that the debug files end up in the -dbg package.

This is based on a similar patch by Darrick.

Reported-and-tested-by: "Darrick J. Wong" <darrick.wong@oracle.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/package/builddeb