Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
145 lines (131 sloc) 4.47 KB
# Copyright (C) 2014 Kano Computing Ltd.
# License: http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
module Dr
module BuildEnvironments
@@build_environments = {
:kano => {
:name =>"Kano OS",
:arches => ["armhf"],
:repos => {
:raspbian => {
:url => "http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian/",
:key => "http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian.public.key",
:src => true,
:codename => "wheezy",
:components => "main contrib non-free rpi"
},
:raspi_foundation => {
:url => "http://dev.kano.me/mirrors/raspberrypi/",
:key => "http://dev.kano.me/mirrors/raspberrypi/raspberrypi.gpg.key",
:src => false,
:codename => "wheezy",
:components => "main"
},
:kano => {
:url => "http://dev.kano.me/archive/",
:key => "http://dev.kano.me/archive/repo.gpg.key",
:src => false,
:codename => "devel",
:components => "main"
}
},
:base_repo => :raspbian,
:packages => []
},
:kano_stretch => {
:name =>"Kano OS (Stretch)",
:arches => ["armhf"],
:repos => {
:raspbian_stretch => {
:url => "http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian/",
:key => "http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian.public.key",
:src => true,
:codename => "stretch",
:components => "main contrib non-free rpi"
},
:raspi_foundation_stretch => {
:url => "http://dev.kano.me/mirrors/raspberrypi-stretch/",
:key => "http://dev.kano.me/mirrors/raspberrypi-stretch/raspberrypi.gpg.key",
:src => false,
:codename => "stretch",
:components => "main"
},
:kano_stretch => {
:url => "http://dev.kano.me/archive-stretch/",
:key => "http://dev.kano.me/archive-stretch/repo.gpg.key",
:src => false,
:codename => "devel",
:components => "main"
}
},
:base_repo => :raspbian_stretch,
:packages => []
},
:kano_jessie => {
:name =>"Kano OS (Jessie)",
:arches => ["armhf"],
:repos => {
:raspbian_jessie => {
:url => "http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian/",
:key => "http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian.public.key",
:src => true,
:codename => "jessie",
:components => "main contrib non-free rpi"
},
:raspi_foundation_jessie => {
:url => "http://dev.kano.me/mirrors/raspberrypi-jessie/",
:key => "http://dev.kano.me/mirrors/raspberrypi-jessie/raspberrypi.gpg.key",
:src => false,
:codename => "jessie",
:components => "main"
},
:kano_jessie => {
:url => "http://dev.kano.me/archive-jessie/",
:key => "http://dev.kano.me/archive-jessie/repo.gpg.key",
:src => false,
:codename => "devel",
:components => "main"
}
},
:base_repo => :raspbian_jessie,
:packages => []
},
:wheezy => {
:name => "Debian Wheezy",
:arches => ["x86_64"],
:repos => {
:wheezy => {
:url => "http://ftp.uk.debian.org/debian/",
:key => "https://ftp-master.debian.org/keys/archive-key-7.0.asc",
:src => true,
:codename => "wheezy",
:components => "main contrib non-free"
}
},
:base_repo => :wheezy,
:packages => []
},
:jessie => {
:name => "Debian Jessie",
:arches => ["x86_64"],
:repos => {
:wheezy => {
:url => "http://ftp.uk.debian.org/debian/",
:key => "https://ftp-master.debian.org/keys/archive-key-8.asc",
:src => true,
:codename => "jessie",
:components => "main contrib non-free"
}
},
:base_repo => :wheezy,
:packages => []
}
}
def build_environments
@@build_environments
end
def add_build_environment(name, benv)
@@build_environments[name.to_sym] = benv
end
end
end