User Tools

Site Tools


mocaccino:testing

Initial setup for cached upgrades

The following is required to setup a Sabayon system ready to migrate to Mocaccino/Luet while caching downloads

SSL MitM caching proxy

cat > /etc/env.d/90proxy <<EOF
export http_proxy=http://squid.sihnon.net:3128
export https_proxy=http://squid.sihnon.net:3128
export ftp_proxy=http://squid.sihnon.net:3128
export no_proxy=sihnon.net,localhost,81.187.154.128/26,10.0.0.0/8,2001:8b0:3b3::/56
EOF
env-update
source /etc/profile
 
mkdir -p /usr/local/share/ca-certificates/sihnon
cat > /usr/local/share/ca-certificates/sihnon/squid.crt <<EOF
-----BEGIN CERTIFICATE-----
MIID5zCCAs+gAwIBAgIUaeFqvPzGuWwE9jU0Eb4GDsl7Lz8wDQYJKoZIhvcNAQEL
BQAwgYIxCzAJBgNVBAYTAlVLMRQwEgYDVQQIDAtXZXN0IFN1c3NleDETMBEGA1UE
BwwKU291dGh3YXRlcjEPMA0GA1UECgwGU2lobm9uMREwDwYDVQQDDAhTcXVpZCBD
QTEkMCIGCSqGSIb3DQEJARYVaG9zdG1hc3RlckBzaWhub24ubmV0MB4XDTIwMTEw
ODIxMDcwMFoXDTIxMTEwODIxMDcwMFowgYIxCzAJBgNVBAYTAlVLMRQwEgYDVQQI
DAtXZXN0IFN1c3NleDETMBEGA1UEBwwKU291dGh3YXRlcjEPMA0GA1UECgwGU2lo
bm9uMREwDwYDVQQDDAhTcXVpZCBDQTEkMCIGCSqGSIb3DQEJARYVaG9zdG1hc3Rl
ckBzaWhub24ubmV0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1OTA
30N2hNHysLQuMwdQguNKCK66Ee0wzFmjo74NahSGlP+tG9eIr2yGnwMg1radcZrh
wQ/HO7qiSSYqcKXVb+6I2hZ4EBjkZITOUHnHBFDMH+9VWGn7saGRWM2SN6uj7uot
J1QXcgrtZisTc5bhrTBuD6SO40Ov/wQscUu1/sFT7yiN01Ii/b9oSvjbXzcgM0Pn
FU7PJxu4SBj5MYYQJ9KP8QPT28Y3Gl+5K6Dd2GVEyAOT9Z6Ym/DPHgPyMnzipYI9
SWzCzVmYkZIpKHkEl8lIW2OOuzha59WJs78WxCIe9CpuDXdGCVJXB5QqNhTibIXz
sGuXHdYNc+RHbmcWkQIDAQABo1MwUTAdBgNVHQ4EFgQU2unpbjJRdA3/e7U4cT/E
kVU31j4wHwYDVR0jBBgwFoAU2unpbjJRdA3/e7U4cT/EkVU31j4wDwYDVR0TAQH/
BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAuOPJrEqV6rQJUZlxJVPsymQd8Vsy
baKkPDUUIJhE2ddNWRvTBz1whXm0jP3/FPQJK2QPBpwNtDNAwUtth9fPcS4CS96x
rl4Vs0CL5WE8xheI4c0sIvNz58CI09MoX25OQ7VJ/P1cRHb1W/mny0AOGd35Bliq
QVmDj4iR2bhsI3+tIBJOk/L/7E0NveU8jRXXlu/2xK+pPNzG3BIQgoHazFpF0nHL
xDBcGMSdpmwnor8bZbN4DSvRDk+fhUWasHIsyra1/mL+UX/LrAOTUSjXqBLxH4U8
rphh4pw7PBC7cPcOtZGi8XmS3sqnVwdFH+pMORcGkVi4GN2uYXKBMgW1Cw==
-----END CERTIFICATE-----
EOF
update-ca-certificates

Luet Install+Migration

See https://www.mocaccino.org/docs/portagetree/

Point repositories at local mirror:

/etc/luet/repos.conf.d/mocaccino-repository-index.yml
urls:
- "http://mocaccino-mirror.service.consul.sihnon.net:8080/mocaccino-repository-index/"
- "https://raw.githubusercontent.com/mocaccinoOS/repository-index/gh-pages"
- "https://get.mocaccino.org/mocaccino-repository-index"
/etc/luet/repos.conf.d/mocaccino-portage-stable.yml
urls:
  - "http://mocaccino-mirror.service.consul.sihnon.net:8080/mocaccino-portage-tree-stable"
/etc/luet/repos.conf.d/mocaccino-extra.yml
urls:
  - "http://mocaccino-mirror.service.consul.sihnon.net:8080/mocaccino-extra"
mocaccino/testing.txt · Last modified: 2020/11/14 14:41 by ben