]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
package_rpm.bbclass: Remove empty build directory
authorRobert Yang <liezhi.yang@windriver.com>
Tue, 24 Jun 2025 07:07:21 +0000 (00:07 -0700)
committerSteve Sakoman <steve@sakoman.com>
Mon, 30 Jun 2025 16:11:01 +0000 (09:11 -0700)
commitc4f95abacdb7376f8f299679f3f0b2dd1dc28c27
tree7572385a683fa33cd6c9ba043e2e2e6433fefd38
parentcbc7b1ed7747ef69d8bcbaee27c90560ded713d6
package_rpm.bbclass: Remove empty build directory

Fixed:
$ bitbake acl
$ ls tmp/work/core2-64-poky-linux/acl/2.3.2/build/acl-2.3.2-build/

This empty directory is created by rpmbuild, just remove it like others above.

Note, master branch doesn't have this problem after upgrade to rpm 4.20.1, but
it's not easy to find which patch(es) fixed the problem, and the issues haven't
been fixed completely, there is still an empty SRPMS directory, so just remove
the build directory as others above.

If we don't fix this, there might be warnings when a recipe uses:

install -m 0644 ${B}/* ${DEPLOYDIR}/boot.bin-extracted/

install: omitting directory '${B}/xilinx-bootbin-1.0-build'

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes-global/package_rpm.bbclass