mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix groups in container
This commit is contained in:
parent
63742ee527
commit
0795927ba3
2 changed files with 4 additions and 0 deletions
|
@ -200,4 +200,7 @@ _set_hostname() {
|
|||
echo 'archboot' > "${1}/etc/hostname"
|
||||
}
|
||||
|
||||
_create_sysusers() {
|
||||
systemd-sysusers --root="${1}
|
||||
}
|
||||
# vim: set ft=sh ts=4 sw=4 et:
|
||||
|
|
|
@ -8,6 +8,7 @@ _parameters "$@"
|
|||
_root_check
|
||||
echo "Starting container creation..."
|
||||
[[ -d "${1}" ]] || (echo "Creating directory ${1}..."; mkdir "${1}")
|
||||
_create_sysusers
|
||||
if echo "${_BASENAME}" | grep -qw "${_RUNNING_ARCH}"; then
|
||||
# running system = creating system
|
||||
_cachedir_check
|
||||
|
|
Loading…
Reference in a new issue