mirror of
https://github.com/BigfootACA/arch-image-builder.git
synced 2024-09-21 10:40:54 +08:00
builder: build: bootstrap.py: reload user database before filesystem
Signed-off-by: BigfootACA <bigfoot@classfun.cn>
This commit is contained in:
parent
9b621831c4
commit
3a5b7d74ad
@ -112,12 +112,12 @@ def build_rootfs(ctx: ArchBuilderContext):
|
||||
# real install all packages
|
||||
pacman_build.proc_pacman(ctx, pacman)
|
||||
|
||||
# running add files hooks (for user settings)
|
||||
filesystem.add_files_all(ctx, "pre-user")
|
||||
|
||||
# reload user databases after install packages
|
||||
ctx.reload_passwd()
|
||||
|
||||
# running add files hooks (for user settings)
|
||||
filesystem.add_files_all(ctx, "pre-user")
|
||||
|
||||
# create custom users and groups
|
||||
user.proc_usergroup(ctx)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user