From: bugzilla@busybox.net
To: buildroot@uclibc.org
Subject: [Buildroot] [Bug 15551] New: Linux extensions are not applied to linux-headers package
Date: Thu, 27 Apr 2023 09:38:23 +0000 [thread overview]
Message-ID: <bug-15551-163@https.bugs.busybox.net/> (raw)
https://bugs.busybox.net/show_bug.cgi?id=15551
Bug ID: 15551
Summary: Linux extensions are not applied to linux-headers
package
Product: buildroot
Version: 2023.02
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned@buildroot.uclibc.org
Reporter: bradley.gamble@ncipher.com
CC: buildroot@uclibc.org
Target Milestone: ---
Created attachment 9586
--> https://bugs.busybox.net/attachment.cgi?id=9586&action=edit
Example of the difference between the linux and linux-headers trees following
an extension being applied.
Linux extensions are a mechanism for providing new features through
modification to the Linux kernel tree. This is usually in the form of patches
or new files from an out-of-tree source. (See Buildroot manual section 18.22.2.
linux-kernel-extensions).
Currently during a build the Linux extensions are applied to the linux source
tree, but not the linux-headers source tree. In comparison, the global and
Linux patch directories are applied to both the linux and linux-headers source
trees. This can lead issues where the source of the linux-headers does not
represent the kernel running on the target - For example, linux-headers is
consumed by most C libraries.
I have encountered this when attempting to write a patch that modifies an
applied kernel extension. The patch fails to apply to linux-headers as the
source files added by the extension do not exist.
This can be reproduced this by enabling a Linux extension (I've tested with
fbtft and ev3dev-linux-drivers) and performing a build, then comparing the
linux and linux-headers build directories - I have attached a diff example
showing the additions in one source tree but not the other.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2023-04-27 9:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-27 9:38 bugzilla [this message]
2024-06-15 15:08 ` [Buildroot] [Bug 15551] Linux extensions are not applied to linux-headers package bugzilla
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-15551-163@https.bugs.busybox.net/ \
--to=bugzilla@busybox.net \
--cc=buildroot@uclibc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox