]> 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)
committerArmin Kuster <akuster808@gmail.com>
Sat, 1 Jun 2019 21:48:32 +0000 (14:48 -0700)
commit807a2f76e86d34fa69b0b2b369287985cc9eff78
treef1a500d7af42a67b25d036ce54e3d2d02f2a56d6
parente4037c6911592700799d207ca8c3976afba18e25
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
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