openwrt/package/base-files/files
Matthias Schiffer 5773538c90
base-files: fix merge of passwd/shadow/group lines with trailing colons
Empty trailing fields get lost when the lines are split and merged again
at colons, resulting in unparsable entries. Only use the split fields for
matching against the other file, but emit the original line unchanged
to fix the issue.

Fixes: de7ca7dafa ("base-files: merge /etc/passwd et al at sysupgrade config restore")
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
(cherry picked from commit 9bbaa6f2c0)
2024-08-29 21:07:48 +02:00
..
bin package: base-files: turn error into warning 2023-09-19 15:38:59 +02:00
etc base-files: enable BPF JIT kallsyms by default 2023-06-09 13:20:05 +02:00
lib base-files: fix merge of passwd/shadow/group lines with trailing colons 2024-08-29 21:07:48 +02:00
rom
sbin base-files: add 'isup' to the wifi script 2023-04-12 19:49:30 +02:00
usr base-files: validate firmware for compatibility with backup 2019-09-08 09:10:30 +02:00