Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/5] support: accept text files with missing terminating \n (branch yem/newlines)
@ 2024-03-09 23:44 Yann E. MORIN
  2024-03-09 23:44 ` [Buildroot] [PATCH 1/5] support/scripts/mkusers: fix UID/GID confusion Yann E. MORIN
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Yann E. MORIN @ 2024-03-09 23:44 UTC (permalink / raw)
  To: buildroot; +Cc: Norbert Lange, Yann E . MORIN, masonwardle

Hello All!

As explained in the last commit, we expect text files to be properly
terminated with a full line, i.e. one having a final \n.

However, a lot of people do not have proper text editors, and those do
not add the terminating newline, and do not honour our .editorconfig.

This series fixes two of the affected scripts, and also fixes shellcheck
errors in both. Fixing those also uncovered an actual issue in mkusers,
so that too is fixed.

Regards,
Yann E. MORIN.


----------------------------------------------------------------
Yann E. MORIN (5):
      support/scripts/mkusers: fix UID/GID confusion
      support/scripts/mkusers: fix shellcheck errors
      support/scripts/mkusers: accept user tables without terminating \n
      support/download/check-hash: fix shellcheck errors
      support/download/check-hash: accept hash files without terminating \n

 .checkpackageignore         |  2 --
 support/download/check-hash | 11 ++++++++---
 support/scripts/mkusers     | 34 ++++++++++++++++++++++++----------
 3 files changed, 32 insertions(+), 15 deletions(-)

--
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2024-08-20 17:20 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-09 23:44 [Buildroot] [PATCH 0/5] support: accept text files with missing terminating \n (branch yem/newlines) Yann E. MORIN
2024-03-09 23:44 ` [Buildroot] [PATCH 1/5] support/scripts/mkusers: fix UID/GID confusion Yann E. MORIN
2024-03-09 23:44 ` [Buildroot] [PATCH 2/5] support/scripts/mkusers: fix shellcheck errors Yann E. MORIN
2024-03-09 23:44 ` [Buildroot] [PATCH 3/5] support/scripts/mkusers: accept user tables without terminating \n Yann E. MORIN
2024-07-14 20:50   ` Arnout Vandecappelle via buildroot
2024-08-20 17:18   ` Peter Korsgaard
2024-03-09 23:44 ` [Buildroot] [PATCH 4/5] support/download/check-hash: fix shellcheck errors Yann E. MORIN
2024-03-09 23:44 ` [Buildroot] [PATCH 5/5] support/download/check-hash: accept hash files without terminating \n Yann E. MORIN
2024-07-14 20:50   ` Arnout Vandecappelle via buildroot
2024-08-20 17:20   ` Peter Korsgaard
2024-04-01 18:49 ` [Buildroot] [PATCH 0/5] support: accept text files with missing terminating \n (branch yem/newlines) Yann E. MORIN

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