From 78f8a082b88816fd72e625b073404ac2d6f5c946 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Mon, 7 Jan 2019 20:55:45 +0800 Subject: Add new users/groups according to {master.passwd,group} Add function add_users() to add new users and groups according to /etc.hdd/{master.passwd,group} files, and call this function after install_system(). --- README | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'README') diff --git a/README b/README index dcad080..d40e0ed 100644 --- a/README +++ b/README @@ -31,10 +31,11 @@ the following steps: 1. mount the system image file (*.img); 2. backup the current kernel and world (including "/etc"); 3. install the kernel and world using cpdup (similar to the installer); -4. identify the new/changed "/etc" files, rename the conflicting ones +4. create new users and groups; +5. identify the new/changed "/etc" files, rename the conflicting ones with suffix ".__new__" and then copy over; -5. get obsolete files from "Makefile_upgrade.inc" and remove them; -6. umount, show the "*.__new__" files need manual merge. +6. get obsolete files from "Makefile_upgrade.inc" and remove them; +7. umount, show the "*.__new__" files need manual merge. Usage ----- -- cgit v1.2.2