]> code.ossystems Code Review - openembedded-core.git/commit
package_deb: Avoid chdir warnings and restore cwd after packaging
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Jun 2016 15:36:27 +0000 (16:36 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Jun 2016 21:43:53 +0000 (22:43 +0100)
commitc294f4ed5a02b055916cfc26a2fca672edee1208
tree81d20760b3531a032f875320e0d324579bbad5d6
parentfc0d9c27b88a691b0fea98b9a2b2a4f3e978ec87
package_deb: Avoid chdir warnings and restore cwd after packaging

dpkg-build needs to be executed in the root of the package, so save and restore
the current directory so this task doesn't modify the state.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package_deb.bbclass