git: etc/Makefile: Use 'pw-update.sh' to add users and groups

Aaron LI aly at aaronly.me
Sun Dec 27 03:04:04 PST 2020



> On Dec 27, 2020, at 18:41, Michael Neumann <mneumann at ntecs.de> wrote:
> 
> On Sun, Dec 27, 2020 at 02:10:03AM -0800, Aaron LI wrote:
>> 
>> commit 929c21ed9c57d8ab299a32bab982cc617e036bad
>> Author: Aaron LI <aly at aaronly.me>
>> Date:   Sun Dec 27 17:35:13 2020 +0800
>> 
>>    etc/Makefile: Use 'pw-update.sh' to add users and groups
>> 
>>    After this change, if we want to add a new user/group, just add it to
>>    the 'master.passwd' and/or 'group' files.  No need to add ad-hoc pw(8)
>>    commands in this Makefile.
>> 
>> Summary of changes:
>> etc/Makefile | 32 ++++----------------------------
>> 1 file changed, 4 insertions(+), 28 deletions(-)
> 
> Hey Aaron,
> 
> Would be great to have your dfly-update script to be part of DragonFly.
> Looks very neat and useful!

Hi Michael,

Yeah, I’d like to bring it into the base system so we can also do binary updates :)

However, the script still needs some improvements, especially about the /etc update & merge.

Cheers,
Aaron


More information about the Commits mailing list