]> code.ossystems Code Review - openembedded-core.git/commit
package_rpm: Fix a race with package_deb/package_ipk
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 15 Jan 2014 17:47:45 +0000 (17:47 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Jan 2014 12:02:46 +0000 (12:02 +0000)
commite38d7702be279d6d6d4c79b3f2379e689a7473d2
tree6a4031b440141e226d5568739c4cca7c07acf8e7
parent720d30aa5f0745185fc948376ce284cc17f0edb0
package_rpm: Fix a race with package_deb/package_ipk

We have the odd situation where the CONTROL/DEBIAN directory can be removed
in the middle of the walk, the isdir() test would then fail and the walk code
would assume its a file hence we check for the names in files too.

This resolves the autobuilder failure:

error: File not found: /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-fsl-arm/build/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xinit/1_1.3.3-r0/package/DEBIAN

RPM build errors:
     File not found: /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-fsl-arm/build/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xinit/1_1.3.3-r0/package/DEBIAN

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