Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 15976] New: .hash file requires newline to process correctly
@ 2024-03-08 16:01 bugzilla
  2024-03-09 18:12 ` [Buildroot] [Bug 15976] " bugzilla
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla @ 2024-03-08 16:01 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=15976

            Bug ID: 15976
           Summary: .hash file requires newline to process correctly
           Product: buildroot
           Version: 2023.02.9
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Other
          Assignee: unassigned@buildroot.uclibc.org
          Reporter: masonwardle@gmail.com
                CC: buildroot@uclibc.org
  Target Milestone: ---

I have a <package-name>.hash file with

# Calculated by hand
sha256  <64 hex character hash>  <downloaded package name>



I failed to put a newline at the end of the file. This caused
support/download/check-hash to fail with a "No hash found" error. A quick look
at the code suggests this error occurs in my case because the "read" command
exits abnormally if it reaches the end of the file before encountering a
newline.

I initially thought this could be addressed in the documentation but perhaps
there is a simple fix. 

I'm running buildroot 2023.02.9 on Ubuntu 22.04. check-hash hasn't changed
since that release.

Thanks!

-- 
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-06-15 15:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-08 16:01 [Buildroot] [Bug 15976] New: .hash file requires newline to process correctly bugzilla
2024-03-09 18:12 ` [Buildroot] [Bug 15976] " bugzilla
2024-03-09 18:58 ` bugzilla
2024-06-15 15:24 ` bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox