Chuck379 n00b
Joined: 13 Oct 2024 Posts: 1
|
Posted: Sun Oct 13, 2024 11:26 am Post subject: doas fails to emerge - only when scripted |
|
|
doas fails to emerge when running an installation script that I am writting but it does emerge successfully if do each of the steps in the installation script manually.
This is the installation script:
Code: | # installs dependencies
echo 'app-admin/doas persist' >>/etc/portage/package.use
emerge --ask=n \
app-admin/doas \
app-admin/eclean-kernel \
app-portage/gentoolkit \
net-misc/chrony \
sys-block/io-scheduler-udev-rules \
sys-kernel/gentoo-kernel || exit 1
# configures doas
cat <<EOF >/etc/doas.conf
# https://wiki.gentoo.org/wiki/Doas
permit persist :wheel
permit nopass :wheel as root cmd shutdown
permit nopass :wheel as root cmd reboot
EOF
chown -c root:root /etc/doas.conf |
---
Failed emerge info: https://bpa.st/BYWQ
Emerge pqv: https://bpa.st/XW2A
Build log: https://bpa.st/GZXQ
---
I am completly lost in this, any help would be appreciated |
|