diff options
author | Claus Stovgaard <claus.stovgaard@gmail.com> | 2024-02-01 15:25:31 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-03 21:43:35 +0000 |
commit | 11b804bbf1bda2dd57c3632062890a9d59edcd3a (patch) | |
tree | 764545284a05cc1a0cbed03568aaf37c72ea7b1b /meta/recipes-kernel | |
parent | dd4c941e9fe9e0f1b73a934d9ecd0d165ee85474 (diff) | |
download | poky-11b804bbf1bda2dd57c3632062890a9d59edcd3a.tar.gz |
kernel-devsrc: fix RDEPENDS for make
Since kernel version 6.6 the debian package rules has been split up into
a separate rules file, resulting in a runtime requirement for make.
See scripts/package/debian/rules
Remove the rules file, for not RDEPENDS on make for something we are
not using for building modules.
For reproducing the issue on a normal qemux86-64 machine, change to the
linux-yocto-dev kernel, add the kernel-devsrc to the toolchain target
task and disable ptest in distro features. (Notice ptest adds make as
RDEPENDS for other packages hiding the issue)
when populating sdk you will see dnf failing.
Problem: conflicting requests
- nothing provides /usr/bin/make needed by kernel-devsrc-1.0-r0.qemux86_64 from oe-repo
(From OE-Core rev: 711fc671012820458a7a28717ee0456fa850a523)
Signed-off-by: Claus Stovgaard <claus.stovgaard@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r-- | meta/recipes-kernel/linux/kernel-devsrc.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb index ce5777fbe9..4ff751d9f0 100644 --- a/meta/recipes-kernel/linux/kernel-devsrc.bb +++ b/meta/recipes-kernel/linux/kernel-devsrc.bb | |||
@@ -148,6 +148,10 @@ do_install() { | |||
148 | # for v6.1+ (otherwise we are missing multiple default targets) | 148 | # for v6.1+ (otherwise we are missing multiple default targets) |
149 | cp -a --parents Kbuild $kerneldir/build 2>/dev/null || : | 149 | cp -a --parents Kbuild $kerneldir/build 2>/dev/null || : |
150 | 150 | ||
151 | # For v6.6+ the debian packing is moved out to seperate rules file | ||
152 | # Remove as we else would ned to RDEPEND on make | ||
153 | rm $kerneldir/build/scripts/package/debian/rules 2>/dev/null || : | ||
154 | |||
151 | # if our build dir had objtool, it will also be rebuilt on target, so | 155 | # if our build dir had objtool, it will also be rebuilt on target, so |
152 | # we copy what is required for that build | 156 | # we copy what is required for that build |
153 | if [ -f ${B}/tools/objtool/objtool ]; then | 157 | if [ -f ${B}/tools/objtool/objtool ]; then |