mkosi.postinst
raw| 1 | #!/bin/bash |
| 2 | # SPDX-License-Identifier: LGPL-2.1-or-later |
| 3 | set -e |
| 4 | |
| 5 | mkosi-chroot \ |
| 6 | useradd \ |
| 7 | --user-group \ |
| 8 | --create-home \ |
| 9 | --password "$(openssl passwd -1 mkosi)" \ |
| 10 | --groups systemd-journal \ |
| 11 | --shell /bin/bash \ |
| 12 | --uid 4711 \ |
| 13 | mkosi |
| 14 | |
| 15 | systemctl --root="$BUILDROOT" mask lvm2-monitor.service |