From 397ff6a31ef49bee8f919ea36f6a848f30fb441a Mon Sep 17 00:00:00 2001 From: kuwoyuki Date: Sun, 7 Dec 2025 22:48:53 +0600 Subject: [PATCH] okay --- binhost.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/binhost.sh b/binhost.sh index 302c217..1a9213e 100755 --- a/binhost.sh +++ b/binhost.sh @@ -96,8 +96,16 @@ init_container() { gpg-connect-agent reloadagent /bye gpg --batch --import /tmp/signing.key gpg --export | gpg --homedir /etc/portage/gnupg --import + # really yikes man, i don't know what it's doing + # that it can't read trustdb chmod 755 /etc/portage/gnupg chmod 755 /root/.gnupg + find /etc/portage/gnupg -type f -exec chmod 666 {} + + + FINGERPRINT=\$(gpg --with-colons --show-keys /tmp/signing.key | awk -F: '/^pub/ { print \$5 }' | head -n1) + echo \"\$FINGERPRINT:6:\" | gpg --homedir /etc/portage/gnupg --import-ownertrust + gpg --homedir /etc/portage/gnupg --check-trustdb + if [[ ! -d /var/db/repos/gentoo/profiles ]]; then emerge-webrsync -q fi