openwrt/package/base-files
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
..
files base-files: fix merge of passwd/shadow/group lines with trailing colons 2024-08-29 21:07:15 +02:00
image-config.in build: add option to use preinit IP as LAN IP 2023-02-17 16:20:03 +02:00
Makefile base-files: skip fix-group-user uci-default for APK installation 2024-06-11 23:58:18 +02:00