aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2019-01-07 20:55:45 +0800
committerAaron LI <aly@aaronly.me>2019-01-09 11:49:39 +0800
commit78f8a082b88816fd72e625b073404ac2d6f5c946 (patch)
tree6e5de5fed98d449c0fffc17233d98084f9b642d8 /README
parent96c9dd06a80c981a9d9fa5c9effe72136df96660 (diff)
downloaddfly-update-78f8a082b88816fd72e625b073404ac2d6f5c946.tar.bz2
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().
Diffstat (limited to 'README')
-rw-r--r--README7
1 files changed, 4 insertions, 3 deletions
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
-----