summaryrefslogtreecommitdiffstats
path: root/bsp/meta-sancloud/conf/include
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/meta-sancloud/conf/include')
-rw-r--r--bsp/meta-sancloud/conf/include/sancloud-enable-archiver.inc8
-rw-r--r--bsp/meta-sancloud/conf/include/sancloud-mirrors.inc14
-rw-r--r--bsp/meta-sancloud/conf/include/sancloud-sstate-arago.inc2
-rw-r--r--bsp/meta-sancloud/conf/include/sancloud-sstate-poky.inc2
4 files changed, 26 insertions, 0 deletions
diff --git a/bsp/meta-sancloud/conf/include/sancloud-enable-archiver.inc b/bsp/meta-sancloud/conf/include/sancloud-enable-archiver.inc
new file mode 100644
index 00000000..b608d15f
--- /dev/null
+++ b/bsp/meta-sancloud/conf/include/sancloud-enable-archiver.inc
@@ -0,0 +1,8 @@
+INHERIT += "archiver"
+BB_GENERATE_MIRROR_TARBALLS = "1"
+BB_GENERATE_SHALLOW_TARBALLS = "1"
+BB_GIT_SHALLOW = "1"
+ARCHIVER_MODE[src] = "mirror"
+ARCHIVER_MODE[mirror] = "combined"
+ARCHIVER_MIRROR_EXCLUDE = "file://"
+COPYLEFT_LICENSE_INCLUDE = "*"
diff --git a/bsp/meta-sancloud/conf/include/sancloud-mirrors.inc b/bsp/meta-sancloud/conf/include/sancloud-mirrors.inc
new file mode 100644
index 00000000..4c08462c
--- /dev/null
+++ b/bsp/meta-sancloud/conf/include/sancloud-mirrors.inc
@@ -0,0 +1,14 @@
+PREMIRRORS ??= "\
+bzr://.*/.* https://cdn.sancloud.info/file/sc-yocto/mirror/ \n \
+cvs://.*/.* https://cdn.sancloud.info/file/sc-yocto/mirror/ \n \
+git://.*/.* https://cdn.sancloud.info/file/sc-yocto/mirror/ \n \
+gitsm://.*/.* https://cdn.sancloud.info/file/sc-yocto/mirror/ \n \
+hg://.*/.* https://cdn.sancloud.info/file/sc-yocto/mirror/ \n \
+osc://.*/.* https://cdn.sancloud.info/file/sc-yocto/mirror/ \n \
+p4://.*/.* https://cdn.sancloud.info/file/sc-yocto/mirror/ \n \
+svn://.*/.* https://cdn.sancloud.info/file/sc-yocto/mirror/ \n"
+
+MIRRORS =+ "\
+ftp://.*/.* https://cdn.sancloud.info/file/sc-yocto/mirror/ \n \
+http://.*/.* https://cdn.sancloud.info/file/sc-yocto/mirror/ \n \
+https://.*/.* https://cdn.sancloud.info/file/sc-yocto/mirror/ \n"
diff --git a/bsp/meta-sancloud/conf/include/sancloud-sstate-arago.inc b/bsp/meta-sancloud/conf/include/sancloud-sstate-arago.inc
new file mode 100644
index 00000000..21dcf593
--- /dev/null
+++ b/bsp/meta-sancloud/conf/include/sancloud-sstate-arago.inc
@@ -0,0 +1,2 @@
+SSTATE_MIRRORS =+ "\
+file://.* https://cdn.sancloud.info/file/sc-yocto/arago/sstate/PATH \n"
diff --git a/bsp/meta-sancloud/conf/include/sancloud-sstate-poky.inc b/bsp/meta-sancloud/conf/include/sancloud-sstate-poky.inc
new file mode 100644
index 00000000..8f2c7d26
--- /dev/null
+++ b/bsp/meta-sancloud/conf/include/sancloud-sstate-poky.inc
@@ -0,0 +1,2 @@
+SSTATE_MIRRORS =+ "\
+file://.* https://cdn.sancloud.info/file/sc-yocto/poky/sstate/PATH \n"