summaryrefslogtreecommitdiff
path: root/meta/recipes-graphics/xorg-app/rgb_1.0.5.bb
diff options
context:
space:
mode:
authorNathan Rossi <nathan.rossi@xilinx.com>2014-01-14 11:21:00 +1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-02 11:21:53 +0000
commit63d3070b7e1207164891b154a5b9017731e75872 (patch)
treed8fc4da8dfbb2e7787d5358cdce658d18c60514c /meta/recipes-graphics/xorg-app/rgb_1.0.5.bb
parented9ccb8622b347173602be8b2126324d4fdf54d8 (diff)
downloadopenembedded-core-63d3070b7e1207164891b154a5b9017731e75872.tar.gz
openembedded-core-63d3070b7e1207164891b154a5b9017731e75872.tar.bz2
openembedded-core-63d3070b7e1207164891b154a5b9017731e75872.zip
kernel.bbclass: Fix empty modules directory QA issue
If a kernel is built without any external modules (aka no CONFIG_*=m), then during a modules_install of the kernel an empty directory is created at /lib/modules/${KERNEL_VERIONS}/kernel. This is behaviour of the kernel infrastructure, the directory would normally be populated with the modules that were built. However because of the expectations of kernel-modules-split, no packages are created when there are no modules and an empty directory lingers. This raises QA issues as warning or errors (depending on the distro). The following patch changes the kernel_do_install task to check if the directory is empty and if so removes it. Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-graphics/xorg-app/rgb_1.0.5.bb')
0 files changed, 0 insertions, 0 deletions