#!/bin/sh
#
# Writes the final sources.list file
#

CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
RELEASE="daedalus"

cat << EOF > $CHROOT/etc/apt/sources.list
# See https://wiki.debian.org/SourcesList for more information.

# Main Repo - main contrib non-free non-free-firmware
deb http://deb.devuan.org/merged daedalus main contrib non-free non-free-firmware
#deb-src http://deb.devuan.org/merged daedalus main contrib non-free non-free-firmware

# Security Repo - main contrib non-free non-free-firmware
deb http://deb.devuan.org/merged daedalus-security main contrib non-free non-free-firmware
#deb-src http://deb.devuan.org/merged daedalus-security main contrib non-free non-free-firmware

# Updates Repo - main contrib non-free non-free-firmware
deb http://deb.devuan.org/merged daedalus-updates main contrib non-free non-free-firmware
#deb-src http://deb.devuan.org/merged daedalus-updates main contrib non-free non-free-firmware

# daedalus-backports, previously on backports.debian.org
deb http://deb.devuan.org/merged daedalus-backports main contrib non-free non-free-firmware
#deb-src http://deb.devuan.org/merged daedalus-backports main contrib non-free non-free-firmware


EOF

exit 0