rpi-firmware | Deprecated : Raspberry Pi kernel and firmware
kandi X-RAY | rpi-firmware Summary
kandi X-RAY | rpi-firmware Summary
Deprecated: Raspberry Pi kernel and firmware with support for FBTFT
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of rpi-firmware
rpi-firmware Key Features
rpi-firmware Examples and Code Snippets
Community Discussions
Trending Discussions on rpi-firmware
QUESTION
I want to apply a patch to buildroot package. I'm using br2-external
tree to keep my customizations out of buildroot tree. Buildroot can find my patch, but fails when trying to apply it.
I have set BR2_GLOBAL_PATCH_DIR="${BR2_EXTERNAL_PATH}/board/myboard/patches"
and put the patch in ${BR2_EXTERNAL_PATH}/board/myboard/patches/packagename/0001-name-of-patch.patch
. I generated the patch by going to buildroot
repo, applying the changes to package, committing them with git and creating a patch from the last commit:
git format-patch HEAD~1
So the patch looks like this:
ANSWER
Answered 2020-Oct-07 at 14:48As mentioned by @sawdust its not possible to patch a file in buildroot package directory buildroot/package/
. You can only patch the source of the package, i.e. the source files downloaded to output/build//
.
I ended up with using a post-build script to modify the file after it has been copied, as described in https://buildroot.org/downloads/manual/manual.html#rootfs-custom (option BR2_ROOTFS_POST_BUILD_SCRIPT="${BR2_EXTERNAL_PATH}/board/myboard/scripts/post-build.sh"
)
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install rpi-firmware
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page