Browse Source

Use https everywhere

merge-requests/1/head
Matthias Klumpp 4 years ago
parent
commit
58b7862e0a
  1. 2
      auto/config
  2. 4
      config/hooks.oem/004-setup-oem.hook.chroot
  3. 2
      config/includes.chroot.oem/var/lib/pureos-oem/di-preseed.cfg.in
  4. 2
      helper/make_chroot.sh

2
auto/config

@ -19,7 +19,7 @@ else
fi
# repository URL
PUREOS_REPO="http://repo.puri.sm/pureos"
PUREOS_REPO="https://repo.puri.sm/pureos"
# current architecture
arch=$(dpkg --print-architecture)

4
config/hooks.oem/004-setup-oem.hook.chroot

@ -9,8 +9,8 @@ cd $OEM_DIR
apt install -y ca-certificates
# d-i components
wget http://repo.pureos.net/pureos/dists/green/main/installer-amd64/current/images/hd-media/gtk/initrd.gz
wget http://repo.pureos.net/pureos/dists/green/main/installer-amd64/current/images/hd-media/gtk/vmlinuz
wget https://repo.pureos.net/pureos/dists/green/main/installer-amd64/current/images/hd-media/gtk/initrd.gz
wget https://repo.pureos.net/pureos/dists/green/main/installer-amd64/current/images/hd-media/gtk/vmlinuz
# PureOS image
wget --progress=dot:giga -O pureos.iso https://downloads.puri.sm/snapshots/2017-08-20/pureos-8.0-live-amd64.hybrid.iso

2
config/includes.chroot.oem/var/lib/pureos-oem/di-preseed.cfg.in

@ -86,5 +86,5 @@ d-i finish-install/reboot_in_progress note
d-i preseed/late_command string cp /cdrom/purism/50_custom /target/etc/grub.d/50_custom; \
chmod a+x /target/etc/grub.d/50_custom; \
echo "GRUB_DISABLE_OS_PROBER=true" >> /target/etc/default/grub; \
echo -e "#\n\ndeb http://repo.puri.sm/pureos/ green main" > /target/etc/apt/sources.list; \
echo -e "#\n\ndeb https://repo.puri.sm/pureos/ green main" > /target/etc/apt/sources.list; \
in-target update-grub;

2
helper/make_chroot.sh

@ -5,4 +5,4 @@ debootstrap \
--keyring=/usr/share/keyrings/pureos-archive-keyring.gpg \
green \
lbchroot \
http://repo.puri.sm/pureos
https://repo.puri.sm/pureos
Loading…
Cancel
Save