openwrt/package/base-files/files/lib
Matthias Schiffer 9bbaa6f2c0
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>
2024-08-29 21:07:15 +02:00
..
functions base-files: Add new functions for ath11k caldata 2024-04-23 22:35:57 +02:00
preinit base-files: fix merge of passwd/shadow/group lines with trailing colons 2024-08-29 21:07:15 +02:00
upgrade base-files: get rid of forgotten traces of fitblk_get_bootdev 2024-08-12 19:16:58 +01:00
functions.sh base-files: Reapply fixed "Ignore exit code of uci.sh inclusion" 2024-06-12 11:12:13 +02:00