2015-03-22 20:11:55 +00:00
|
|
|
export DISTRO_NAME=debian
|
2016-07-17 17:03:55 +00:00
|
|
|
export DIB_RELEASE=${DIB_RELEASE:-stable}
|
2016-12-08 23:30:56 +00:00
|
|
|
|
|
|
|
if [ -n "${DIB_DEBIAN_DISTRIBUTION_MIRROR:-}" ]; then
|
|
|
|
DIB_DISTRIBUTION_MIRROR=$DIB_DEBIAN_DISTRIBUTION_MIRROR
|
|
|
|
fi
|
2017-05-19 04:25:47 +00:00
|
|
|
export DIB_DISTRIBUTION_MIRROR=${DIB_DISTRIBUTION_MIRROR:-http://deb.debian.org/debian}
|
2016-12-08 23:30:56 +00:00
|
|
|
|
2016-05-11 20:00:12 +00:00
|
|
|
export DIB_DEBIAN_COMPONENTS=${DIB_DEBIAN_COMPONENTS:-main}
|
|
|
|
export DIB_DEBIAN_COMPONENTS_WS=${DIB_DEBIAN_COMPONENTS//,/ }
|
|
|
|
|
|
|
|
DIB_APT_SOURCES_CONF_DEFAULT=\
|
|
|
|
"default:deb ${DIB_DISTRIBUTION_MIRROR} ${DIB_RELEASE} ${DIB_DEBIAN_COMPONENTS_WS}
|
|
|
|
backports:deb ${DIB_DISTRIBUTION_MIRROR} ${DIB_RELEASE}-backports ${DIB_DEBIAN_COMPONENTS_WS}
|
|
|
|
updates:deb ${DIB_DISTRIBUTION_MIRROR} ${DIB_RELEASE}-updates ${DIB_DEBIAN_COMPONENTS_WS}
|
|
|
|
security:deb http://security.debian.org/ ${DIB_RELEASE}/updates ${DIB_DEBIAN_COMPONENTS_WS}
|
|
|
|
"
|
|
|
|
|
2019-04-03 03:06:08 +00:00
|
|
|
# NOTE(ianw): 2019-04 -- remove buster from here when released and it
|
|
|
|
# has security/backports.
|
|
|
|
if [ "${DIB_RELEASE}" = "testing" -o "${DIB_RELEASE}" = "unstable" -o "${DIB_RELEASE}" = "buster" ]; then
|
2016-05-11 20:00:12 +00:00
|
|
|
DIB_APT_SOURCES_CONF_DEFAULT="default:deb ${DIB_DISTRIBUTION_MIRROR} ${DIB_RELEASE} ${DIB_DEBIAN_COMPONENTS_WS}"
|
|
|
|
fi
|
|
|
|
|
|
|
|
export DIB_APT_SOURCES_CONF=${DIB_APT_SOURCES_CONF:-${DIB_APT_SOURCES_CONF_DEFAULT}}
|