Skip to content

Commit

Permalink
kernel-devsrc: fix QA warning about empty /usr/src
Browse files Browse the repository at this point in the history
OE throws a QA warning during kernel-devsrc-*:do_package, about the
/usr/src directory not being installed into any package. When alternate
kernel-devsrc packages remove the /usr/src/kernel symlink, the /usr/src
path in the package install root becomes empty, and so triggers the
warning.

Try to remove the path from the install root, to satisfy OE.

Signed-off-by: Alex Stewart <[email protected]>
  • Loading branch information
amstewart committed Sep 14, 2021
1 parent 47675f7 commit 1fd2c24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions recipes-kernel/linux/kernel-devsrc-nilrt-alternate.inc
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ do_install_append() {
# Remove the symlink so it doesn't conflict with other
# kernel-devsrc packages
rm -f ${D}/usr/src/kernel
rmdir --ignore-fail-on-non-empty ${D}/usr/src
}

0 comments on commit 1fd2c24

Please sign in to comment.