Error during `Correcting permissions from overlay` with headless host
I was running the script on a headless Arch Linux ARM installation. As such polkit
is not installed and there is no polkitd
group. However, in manjaro-arm-installer#L203 the script is trying to change group to polkitd
anyway, and the following error message was printed on the screen (recreated from my memory since I cleared the scrollback later when trying to compare /etc/passwd):
chown: invalid group: 'root:polkitd'
I had to change it manually after booting into the new installation.
I was thinking chroot
before chown
but that doesn't work for non aarch64 host. Not sure how to handle this.