After r283981 it is no more needed to specify endianness when generating the
passwd database
This commit is contained in:
parent
c24c3080ea
commit
1a31e4a637
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=283985
@ -188,13 +188,10 @@ distribute:
|
||||
.include <bsd.endian.mk>
|
||||
.if ${TARGET_ENDIANNESS} == "1234"
|
||||
CAP_MKDB_ENDIAN?= -l
|
||||
PWD_MKDB_ENDIAN?= -L
|
||||
.elif ${TARGET_ENDIANNESS} == "4321"
|
||||
CAP_MKDB_ENDIAN?= -b
|
||||
PWD_MKDB_ENDIAN?= -B
|
||||
.else
|
||||
CAP_MKDB_ENDIAN?=
|
||||
PWD_MKDB_ENDIAN?=
|
||||
.endif
|
||||
|
||||
.if defined(NO_ROOT)
|
||||
@ -220,8 +217,7 @@ distribution:
|
||||
.if ${MK_TCSH} == "no"
|
||||
sed -i "" -e 's;/bin/csh;/bin/sh;' ${DESTDIR}/etc/master.passwd
|
||||
.endif
|
||||
pwd_mkdb ${PWD_MKDB_ENDIAN} -i -p -d ${DESTDIR}/etc \
|
||||
${DESTDIR}/etc/master.passwd
|
||||
pwd_mkdb -i -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd
|
||||
.if defined(NO_ROOT)
|
||||
( \
|
||||
echo "./etc/login.conf.db type=file mode=0644 uname=root gname=wheel"; \
|
||||
|
Loading…
Reference in New Issue
Block a user