Skip to contentSkip to conversation

[1.2] Enable untested distribution warning

PATCH In review Paul Eggleton 2 participants 3 messages Apr 17, 2012 – Apr 18, 2012

lore
Share & tools
lore
#0 lore raw

cover [1.2] Enable untested distribution warning

The following changes since commit 20ff9db92165e6d16897671d2b1d370661962712:

lib/bb/ui/crumbs/recipeselectionpage: fix type availabel->available (2012-04-17 16:41:48 +0100)

are available in the git repository at:
git://git.yoctoproject.org/poky-contrib paule/sanity-distros
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=paule/sanity-distros

Paul Eggleton (1):
conf/distro/poky.conf: set SANITY_TESTED_DISTROS

 meta-yocto/conf/distro/poky.conf |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
Signature · 1 line
1.7.5.4
#1 lore raw

PATCH 1/1 conf/distro/poky.conf: set SANITY_TESTED_DISTROS

Specify a list of tested host distributions, based on those tested prior to the Yocto Project 1.2 release. This will enable a warning to be printed upon starting bitbake if the host distribution is not one on the list.

Note: this warning is intended to help new users; if you are receiving this warning and wish to disable it, just add SANITY_TESTED_DISTROS = "" to your local.conf.

Fixes [YOCTO #1096].

---
 meta-yocto/conf/distro/poky.conf |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
meta-yocto/conf/distro/poky.conf +16 -0
index e51ccdf..807a44d 100644
@@ -65,6 +65,22 @@ CONNECTIVITY_CHECK_URIS ?= "git://git.yoctoproject.org/yocto-firewall-test;proto
                           https://eula-downloads.yoctoproject.org/index.php \
                           http://bugzilla.yoctoproject.org/report.cgi"
 
+SANITY_TESTED_DISTROS ?= " \
+            Yocto (Built by Poky 7.0) 1.2 \n \
+            Ubuntu 10.04.4 LTS \n \
+            Ubuntu 11.10 \n \
+            Ubuntu 12.04 \n \
+            Fedora release 15 (Lovelock) \n \
+            Fedora release 16 (Verne) \n \
+            Fedora release 17 (Beefy Miracle) \n \
+            CentOS release 5.6 (Final) \n \
+            CentOS release 5.7 (Final) \n \
+            CentOS release 6.2 (Final) \n \
+            Debian GNU/Linux 6.0.3 (squeeze) \n \
+            openSUSE 11.4 \n \
+            openSUSE 12.1 \n \
+	    "
+
 # Default hash policy for distro
 BB_SIGNATURE_HANDLER ?= 'OEBasicHash'
 #
Signature · 1 line
1.7.5.4
#2 lore raw

Re: [PATCH 1/1] conf/distro/poky.conf: set SANITY_TESTED_DISTROS

Quoted 33 lines · Paul Eggleton

Specify a list of tested host distributions, based on those tested prior to the Yocto Project 1.2 release. This will enable a warning to be printed upon starting bitbake if the host distribution is not one on the list.

Note: this warning is intended to help new users; if you are receiving this warning and wish to disable it, just add SANITY_TESTED_DISTROS = "" to your local.conf.

Fixes [YOCTO #1096].

---
  meta-yocto/conf/distro/poky.conf |   16 ++++++++++++++++
  1 files changed, 16 insertions(+), 0 deletions(-)
meta-yocto/conf/distro/poky.conf +9 -0
index e51ccdf..807a44d 100644
@@ -65,6 +65,22 @@ CONNECTIVITY_CHECK_URIS ?= "git://git.yoctoproject.org/yocto-firewall-test;proto
                            https://eula-downloads.yoctoproject.org/index.php \
                            http://bugzilla.yoctoproject.org/report.cgi"
 
+SANITY_TESTED_DISTROS ?= " \
+            Yocto (Built by Poky 7.0) 1.2 \n \
+            Ubuntu 10.04.4 LTS \n \
+            Ubuntu 11.10 \n \
+            Ubuntu 12.04 \n \
+            Fedora release 15 (Lovelock) \n \
+            Fedora release 16 (Verne) \n \
+            Fedora release 17 (Beefy Miracle) \n \
+            CentOS release 5.6 (Final) \n \

meta-yocto/conf/distro/poky.conf CONNECTIVITY_CHECK_URIS ?= "git://git.yoctoproject.org/yocto-firewall-test;proto · line 86

Quoted 10 lines
meta-yocto/conf/distro/poky.conf +7 -0
+            CentOS release 5.7 (Final) \n \
+            CentOS release 6.2 (Final) \n \
+            Debian GNU/Linux 6.0.3 (squeeze) \n \
+            openSUSE 11.4 \n \
+            openSUSE 12.1 \n \
+	    "
+
  # Default hash policy for distro
  BB_SIGNATURE_HANDLER ?= 'OEBasicHash'
  #

Paul, I got the following WARNING withthis code enabled:

WARNING: Host distribution "Fedora release 16 (Verne)
" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.

$ cat /etc/redhat-release
Fedora release 16 (Verne)
[sgw@swold-mobl poky]$

Not sure what's going on, but the matching does not seem to be working.

Sau!