]> code.ossystems Code Review - openembedded-core.git/commit
rootfs-postcommands: Improve/fix rootfs_check_host_user_contaminated
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 22 Jun 2020 10:57:17 +0000 (11:57 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 3 Jul 2020 19:16:20 +0000 (20:16 +0100)
commit504f1d158bf7c6ad08fbce755021db2b14565231
tree5f4659141f5a5071bc77b29b0350fbeb296b3d81
parent22f5f7f86a4d47624c476be00e5121009c48cb7b
rootfs-postcommands: Improve/fix rootfs_check_host_user_contaminated

Currently if the find command finds /home it stops checking the other
files. Tweak the find expression to fix this.

Also, from Alex Kiernan <alex.kiernan@gmail.com>, generate output for
each contaminated path so it's visible in the main log file.

When matches are found, dump the data from the group and passwd files
so useful debugging can be done based on the results.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/rootfs-postcommands.bbclass