]> code.ossystems Code Review - openembedded-core.git/commit
shadow: Backport last change reproducibility
authorAlex Kiernan <alex.kiernan@gmail.com>
Wed, 8 May 2019 22:00:21 +0000 (23:00 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 May 2019 15:31:06 +0000 (16:31 +0100)
commit4ad2cf5054618f2dd14fe40dac9aede66f2c0dd3
tree3e0fc2896511506d22572a3d252d3d83836a05b1
parentc4eddb65e2ddb61bf519b768fab1e131fb0c297b
shadow: Backport last change reproducibility

The third field in the /etc/shadow file (sp_lstchg) contains the date of
the last password change expressed as the number of days since Jan 1,
1970.

Backport the upstream changes to honour SOURCE_DATE_EPOCH for build
reproducibility.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/shadow/files/0001-Make-the-sp_lstchg-shadow-field-reproducible-re.-71.patch [new file with mode: 0644]
meta/recipes-extended/shadow/files/0002-gettime-Use-secure_getenv-over-getenv.patch [new file with mode: 0644]
meta/recipes-extended/shadow/shadow.inc