diff options
author | Andrei Gherzan <andrei.gherzan@huawei.com> | 2022-08-24 01:55:26 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-25 11:08:06 +0100 |
commit | 29bb84b82be41409f696e22dcb8a7aa4dcadf2fa (patch) | |
tree | 6810701494d3e3b92593aa9d21191297f2ad36fc /README.OE-Core.md | |
parent | 1f83192d0ea556e69a4c8147d6a406555a8335b7 (diff) | |
download | poky-29bb84b82be41409f696e22dcb8a7aa4dcadf2fa.tar.gz |
rootfspostcommands.py: Restructure sort_passwd and related functions
This change proposes a restructure of the functions in
rootfspostcommandstests.py to clarify the purpose of each function and
also, make it scalable for other use cases (for example adding support
for removing subid backup files).
The main function of interest here is 'tidy_shadowutils_files' which
brings in the functionality of the old 'sort_passwd' making it clear
that it doesn't only sort the passwd file:
- delete backup files
- it sorts passwd, group and the associated shadow files
The other functions are also renamed for consistency and clarity and
more documentation was added.
(From OE-Core rev: 81a0a4dbfb0313b967a7a98eb7fd1e13edb1a9be)
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'README.OE-Core.md')
0 files changed, 0 insertions, 0 deletions