From 8989e0e684abf59ba03ff416370e078592c09acc Mon Sep 17 00:00:00 2001 From: ferrreo Date: Wed, 17 Jul 2024 20:07:46 +0100 Subject: [PATCH] Update E01pikarepo --- .../var/cache/pbuilder/hook.d/E01pikarepo | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/pika-pbuilder/var/cache/pbuilder/hook.d/E01pikarepo b/pika-pbuilder/var/cache/pbuilder/hook.d/E01pikarepo index 1a36cea..f14da88 100755 --- a/pika-pbuilder/var/cache/pbuilder/hook.d/E01pikarepo +++ b/pika-pbuilder/var/cache/pbuilder/hook.d/E01pikarepo @@ -27,6 +27,17 @@ Allow-Downgrade-To-Insecure: yes Trusted: yes EOF +touch /etc/apt/apt.conf.d/99verify-peer.conf \ +&& echo >>/etc/apt/apt.conf.d/99verify-peer.conf "Acquire { https::Verify-Peer false }" + +chmod 755 /etc /etc/ssl /etc/ssl/certs +chmod 644 /etc/ssl/certs/ca-certificates.crt + +dpkg-reconfigure tzdata +date -s "$(wget -qSO- --max-redirect=0 google.com 2>&1 | grep Date: | cut -d' ' -f5-8)Z" +apt update -y +apt upgrade ca-certificates --fix-missing -y + # Add Pika Repos tee /etc/apt/sources.list.d/system.sources <<'EOF' X-Repolib-Name: PikaOS System Sources @@ -114,8 +125,5 @@ EOF wget https://github.com/PikaOS-Linux/pika-base-debian-container/raw/main/0-debian-exp-overrides -O /etc/apt/preferences.d/0-debian-exp-overrides -touch /etc/apt/apt.conf.d/99verify-peer.conf \ -&& echo >>/etc/apt/apt.conf.d/99verify-peer.conf "Acquire { https::Verify-Peer false }" - apt-get update -y apt-get upgrade -y