diff options
-rw-r--r-- | classes/mlinux-mirrors.bbclass | 15 | ||||
-rw-r--r-- | conf/distro/mlinux.conf | 3 |
2 files changed, 18 insertions, 0 deletions
diff --git a/classes/mlinux-mirrors.bbclass b/classes/mlinux-mirrors.bbclass new file mode 100644 index 0000000..17bd692 --- /dev/null +++ b/classes/mlinux-mirrors.bbclass @@ -0,0 +1,15 @@ +PREMIRRORS_append () { +cvs://.*/.* http://multitech.net/mlinux/sources/ +svn://.*/.* http://multitech.net/mlinux/sources/ +git://.*/.* http://multitech.net/mlinux/sources/ +hg://.*/.* http://multitech.net/mlinux/sources/ +bzr://.*/.* http://multitech.net/mlinux/sources/ +osc://.*/.* http://multitech.net/mlinux/sources/ +p4://.*/.* http://multitech.net/mlinux/sources/ +svk://.*/.* http://multitech.net/mlinux/sources/ +} + +MIRRORS_append () { +ftp://.*/.* http://multitech.net/mlinux/sources/ +https?$://.*/.* http://multitech.net/mlinux/sources/ +} diff --git a/conf/distro/mlinux.conf b/conf/distro/mlinux.conf index 0b1c18e..223ba26 100644 --- a/conf/distro/mlinux.conf +++ b/conf/distro/mlinux.conf @@ -28,6 +28,9 @@ DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio" # extra packages to add to images DISTRO_EXTRA_RDEPENDS += "mlinux-version" +# add mlinux source mirror +INHERIT += "mlinux-mirrors" + EXTRAOPKGCONFIG = "" # don't append to tmpdir |