Date: Friday, June 1, 2018 @ 06:05:41 Author: eworm Revision: 325477 remove unused patch
Deleted: devtools/trunk/add-etc-shadow-entry-for-builduser.patch ------------------------------------------+ add-etc-shadow-entry-for-builduser.patch | 32 ----------------------------- 1 file changed, 32 deletions(-) Deleted: add-etc-shadow-entry-for-builduser.patch =================================================================== --- add-etc-shadow-entry-for-builduser.patch 2018-06-01 01:37:20 UTC (rev 325476) +++ add-etc-shadow-entry-for-builduser.patch 2018-06-01 06:05:41 UTC (rev 325477) @@ -1,32 +0,0 @@ -From 5713cd629c97c7a12a600a1dd73ad81d87374eb1 Mon Sep 17 00:00:00 2001 -From: Evangelos Foutras <evange...@foutrelis.com> -Date: Sat, 12 May 2018 11:52:18 +0300 -Subject: [PATCH] makechrootpkg: add /etc/shadow entry for builduser - -Without it, sudo 1.8.23 will return an error: - - sudo: PAM account management error: Authentication - service cannot retrieve authentication info ---- - makechrootpkg.in | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/makechrootpkg.in b/makechrootpkg.in -index 8e33499..57231d5 100644 ---- a/makechrootpkg.in -+++ b/makechrootpkg.in -@@ -176,9 +176,10 @@ prepare_chroot() { - # We can't use useradd without chrooting, otherwise it invokes PAM modules - # which we might not be able to load (i.e. when building i686 packages on - # an x86_64 host). -- sed -e '/^builduser:/d' -i "$copydir"/etc/{passwd,group} -+ sed -e '/^builduser:/d' -i "$copydir"/etc/{passwd,shadow,group} - printf >>"$copydir/etc/group" 'builduser:x:%d:\n' "$builduser_gid" - printf >>"$copydir/etc/passwd" 'builduser:x:%d:%d:builduser:/build:/bin/bash\n' "$builduser_uid" "$builduser_gid" -+ printf >>"$copydir/etc/shadow" 'builduser:!!:%d::::::\n' "$(( $(date -u +%s) / 86400 ))" - - $install -d "$copydir"/{build,build/.gnupg,startdir,{pkg,srcpkg,src,log}dest} - --- -2.17.0 -