* [PATCH] kernel-fitimage: fix devicetree reproducibility
@ 2020-02-12 11:33 Alex Kiernan
2020-02-12 12:02 ` ✗ patchtest: failure for " Patchwork
2020-02-12 13:05 ` [PATCH] " Alex Kiernan
0 siblings, 2 replies; 3+ messages in thread
From: Alex Kiernan @ 2020-02-12 11:33 UTC (permalink / raw)
To: openembedded-core
Ensure that the order of dtb/dtbo files in the generated fitimage is
reproducible.
Fixes: 71bfa9838cbf ("kernel-fitimage: Handle overlays in EXTERNAL_KERNEL_DEVICETREE")
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
---
meta/classes/kernel-fitimage.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
index d1b8cdc1f049..72b05ff8d1dd 100644
--- a/meta/classes/kernel-fitimage.bbclass
+++ b/meta/classes/kernel-fitimage.bbclass
@@ -391,7 +391,7 @@ fitimage_assemble() {
if [ -n "${EXTERNAL_KERNEL_DEVICETREE}" ]; then
dtbcount=1
- for DTB in $(find "${EXTERNAL_KERNEL_DEVICETREE}" \( -name '*.dtb' -o -name '*.dtbo' \) -printf '%P\n'); do
+ for DTB in $(find "${EXTERNAL_KERNEL_DEVICETREE}" \( -name '*.dtb' -o -name '*.dtbo' \) -printf '%P\n' | sort); do
DTB=$(echo "${DTB}" | tr '/' '_')
DTBS="${DTBS} ${DTB}"
fitimage_emit_section_dtb ${1} ${DTB} "${EXTERNAL_KERNEL_DEVICETREE}/${DTB}"
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* ✗ patchtest: failure for kernel-fitimage: fix devicetree reproducibility 2020-02-12 11:33 [PATCH] kernel-fitimage: fix devicetree reproducibility Alex Kiernan @ 2020-02-12 12:02 ` Patchwork 2020-02-12 13:05 ` [PATCH] " Alex Kiernan 1 sibling, 0 replies; 3+ messages in thread From: Patchwork @ 2020-02-12 12:02 UTC (permalink / raw) To: Alex Kiernan; +Cc: openembedded-core == Series Details == Series: kernel-fitimage: fix devicetree reproducibility Revision: 1 URL : https://patchwork.openembedded.org/series/22582/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures: * Issue Series does not apply on top of target branch [test_series_merge_on_head] Suggested fix Rebase your series on top of targeted branch Targeted branch master (currently at 44a4ac2294) If you believe any of these test results are incorrect, please reply to the mailing list (openembedded-core@lists.openembedded.org) raising your concerns. Otherwise we would appreciate you correcting the issues and submitting a new version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...). --- Guidelines: https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest Test suite: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] kernel-fitimage: fix devicetree reproducibility 2020-02-12 11:33 [PATCH] kernel-fitimage: fix devicetree reproducibility Alex Kiernan 2020-02-12 12:02 ` ✗ patchtest: failure for " Patchwork @ 2020-02-12 13:05 ` Alex Kiernan 1 sibling, 0 replies; 3+ messages in thread From: Alex Kiernan @ 2020-02-12 13:05 UTC (permalink / raw) To: Patches and discussions about the oe-core layer On Wed, Feb 12, 2020 at 11:33 AM Alex Kiernan <alex.kiernan@gmail.com> wrote: > > Ensure that the order of dtb/dtbo files in the generated fitimage is > reproducible. > > Fixes: 71bfa9838cbf ("kernel-fitimage: Handle overlays in EXTERNAL_KERNEL_DEVICETREE") > Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> > --- > I'd not realised the previous change was still in master-next. I'll squash this one into that. -- Alex Kiernan ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-02-12 13:05 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2020-02-12 11:33 [PATCH] kernel-fitimage: fix devicetree reproducibility Alex Kiernan 2020-02-12 12:02 ` ✗ patchtest: failure for " Patchwork 2020-02-12 13:05 ` [PATCH] " Alex Kiernan
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox