Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 15/21] boost-jam-native: Add SRC_URI Checksum
From: Saul Wold @ 2011-10-06 16:14 UTC (permalink / raw)
  To: openembedded-core
In-Reply-To: <cover.1317917297.git.sgw@linux.intel.com>

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-support/boost/boost-jam-native.inc    |    2 +-
 .../boost/boost-jam-native_3.1.18.bb               |    4 ++++
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-support/boost/boost-jam-native.inc b/meta/recipes-support/boost/boost-jam-native.inc
index e6b2529..c5a9d99 100644
--- a/meta/recipes-support/boost/boost-jam-native.inc
+++ b/meta/recipes-support/boost/boost-jam-native.inc
@@ -7,7 +7,7 @@ DESCRIPTION = "Make system for boost (native)"
 HOMEPAGE = "http://www.boost.org/"
 SECTION = "devel"
 LICENSE = "Boost"
-PR = "r0"
+INC_PR = "r1"
 
 LIC_FILES_CHKSUM = "file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
 
diff --git a/meta/recipes-support/boost/boost-jam-native_3.1.18.bb b/meta/recipes-support/boost/boost-jam-native_3.1.18.bb
index 2e92146..7a0b1a8 100644
--- a/meta/recipes-support/boost/boost-jam-native_3.1.18.bb
+++ b/meta/recipes-support/boost/boost-jam-native_3.1.18.bb
@@ -1,4 +1,8 @@
 include boost-jam-native.inc
 
+PR = "${INC_PR}.0"
+
 SRC_URI = "${SOURCEFORGE_MIRROR}/boost/boost-jam-${PV}.tgz"
 
+SRC_URI[md5sum] = "f790e022d658db38db5cc4aeeccad3f1"
+SRC_URI[sha256sum] = "85dbb72c29837ba89cb5408782c82459b34fdecaedea8b54ce1cb3cb9990121a"
-- 
1.7.6.2




^ permalink raw reply related

* [PATCH 14/21] gail: Add SRC_URI Checksum
From: Saul Wold @ 2011-10-06 16:14 UTC (permalink / raw)
  To: openembedded-core
In-Reply-To: <cover.1317917297.git.sgw@linux.intel.com>

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-gnome/gnome/gail_1.20.2.bb |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-gnome/gnome/gail_1.20.2.bb b/meta/recipes-gnome/gnome/gail_1.20.2.bb
index 2c86228..32ef6c5 100644
--- a/meta/recipes-gnome/gnome/gail_1.20.2.bb
+++ b/meta/recipes-gnome/gnome/gail_1.20.2.bb
@@ -7,10 +7,13 @@ PROVIDES = "virtual/gail"
 LICENSE = "LGPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
 
-PR = "r0"
+PR = "r1"
 
 inherit gnome
 
+SRC_URI[archive.md5sum] = "e805806f897cf6040e1f3e9c0cd2151b"
+SRC_URI[archive.sha256sum] = "5025b13a4f3b960c8ab7c3e5c7d6d86082e2e1af6ee18e61e37fd4ce3dcc0153"
+
 EXTRA_OECONF = "--disable-gtk-doc"
 
 FILES_${PN} += "${libdir}/gtk-2.0/modules/*.so"
-- 
1.7.6.2




^ permalink raw reply related

* [PATCH 16/21] puzzles: Update to latest version
From: Saul Wold @ 2011-10-06 16:14 UTC (permalink / raw)
  To: openembedded-core
In-Reply-To: <cover.1317917297.git.sgw@linux.intel.com>

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../puzzles/{puzzles_r9175.bb => puzzles_r9306.bb} |    0
 1 files changed, 0 insertions(+), 0 deletions(-)
 rename meta/recipes-sato/puzzles/{puzzles_r9175.bb => puzzles_r9306.bb} (100%)

diff --git a/meta/recipes-sato/puzzles/puzzles_r9175.bb b/meta/recipes-sato/puzzles/puzzles_r9306.bb
similarity index 100%
rename from meta/recipes-sato/puzzles/puzzles_r9175.bb
rename to meta/recipes-sato/puzzles/puzzles_r9306.bb
-- 
1.7.6.2




^ permalink raw reply

* [PATCH 17/21] gnutls: Update to 2.12.11
From: Saul Wold @ 2011-10-06 16:14 UTC (permalink / raw)
  To: openembedded-core
In-Reply-To: <cover.1317917297.git.sgw@linux.intel.com>

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../configure-fix.patch                            |   40 +++++++++----------
 .../gnutls-openssl.patch                           |    0
 .../gnutls-texinfo-euro.patch                      |    0
 .../gnutls/{gnutls_2.12.5.bb => gnutls_2.12.11.bb} |    4 +-
 4 files changed, 21 insertions(+), 23 deletions(-)
 rename meta/recipes-support/gnutls/{gnutls-2.12.5 => gnutls-2.12.11}/configure-fix.patch (54%)
 rename meta/recipes-support/gnutls/{gnutls-2.12.5 => gnutls-2.12.11}/gnutls-openssl.patch (100%)
 rename meta/recipes-support/gnutls/{gnutls-2.12.5 => gnutls-2.12.11}/gnutls-texinfo-euro.patch (100%)
 rename meta/recipes-support/gnutls/{gnutls_2.12.5.bb => gnutls_2.12.11.bb} (46%)

diff --git a/meta/recipes-support/gnutls/gnutls-2.12.5/configure-fix.patch b/meta/recipes-support/gnutls/gnutls-2.12.11/configure-fix.patch
similarity index 54%
rename from meta/recipes-support/gnutls/gnutls-2.12.5/configure-fix.patch
rename to meta/recipes-support/gnutls/gnutls-2.12.11/configure-fix.patch
index e6f9785..14f87e0 100644
--- a/meta/recipes-support/gnutls/gnutls-2.12.5/configure-fix.patch
+++ b/meta/recipes-support/gnutls/gnutls-2.12.11/configure-fix.patch
@@ -11,13 +11,13 @@ against 2.8.6
 07/02/2010 - qhe
 
 ---
-Index: gnutls-2.12.5/lib/configure.ac
+Index: gnutls-2.12.11/lib/configure.ac
 ===================================================================
---- gnutls-2.12.5.orig/lib/configure.ac	2011-05-11 00:05:33.000000000 -0700
-+++ gnutls-2.12.5/lib/configure.ac	2011-05-25 19:45:23.721180103 -0700
-@@ -96,8 +96,8 @@
- dnl for pakchois
- AC_LIB_HAVE_LINKFLAGS(dl,, [#include <dlfcn.h>], [dlclose (0);])
+--- gnutls-2.12.11.orig/lib/configure.ac
++++ gnutls-2.12.11/lib/configure.ac
+@@ -126,8 +126,8 @@ lgl_INIT
+ AC_CHECK_FUNCS(getrusage,,)
+ AC_LIB_HAVE_LINKFLAGS(pthread,, [#include <pthread.h>], [pthread_mutex_lock (0);])
  
 -LIBGNUTLS_LIBS="-L${libdir} -lgnutls $LIBS"
 -LIBGNUTLS_CFLAGS="-I${includedir}"
@@ -26,24 +26,22 @@ Index: gnutls-2.12.5/lib/configure.ac
  AC_SUBST(LIBGNUTLS_LIBS)
  AC_SUBST(LIBGNUTLS_CFLAGS)
  
-Index: gnutls-2.12.5/lib/gnutls.pc.in
+Index: gnutls-2.12.11/lib/gnutls.pc.in
 ===================================================================
---- gnutls-2.12.5.orig/lib/gnutls.pc.in	2011-04-23 08:00:07.000000000 -0700
-+++ gnutls-2.12.5/lib/gnutls.pc.in	2011-05-25 19:50:11.926102288 -0700
-@@ -19,7 +19,6 @@
- Description: Transport Security Layer implementation for the GNU system
+--- gnutls-2.12.11.orig/lib/gnutls.pc.in
++++ gnutls-2.12.11/lib/gnutls.pc.in
+@@ -20,6 +20,4 @@ Description: Transport Security Layer im
  URL: http://www.gnu.org/software/gnutls/
  Version: @VERSION@
-+Requires.private: libgcrypt, libtasn1
  Libs: -L${libdir} -lgnutls
--Libs.private: @LTLIBGCRYPT@ @NETTLE_LIBS@
+-Libs.private: @LTLIBGCRYPT@ @LTLIBNETTLE@ @NETTLE_LIBS@ @GNUTLS_ZLIB_LIBS_PRIVATE@
 -@GNUTLS_REQUIRES_PRIVATE@
  Cflags: -I${includedir}
-Index: gnutls-2.12.5/libextra/configure.ac
+Index: gnutls-2.12.11/libextra/configure.ac
 ===================================================================
---- gnutls-2.12.5.orig/libextra/configure.ac	2011-05-11 00:05:31.000000000 -0700
-+++ gnutls-2.12.5/libextra/configure.ac	2011-05-25 19:45:23.722186801 -0700
-@@ -41,8 +41,8 @@
+--- gnutls-2.12.11.orig/libextra/configure.ac
++++ gnutls-2.12.11/libextra/configure.ac
+@@ -41,8 +41,8 @@ LIBGNUTLS_EXTRA_HOOKS
  
  xgl_INIT
  
@@ -54,11 +52,11 @@ Index: gnutls-2.12.5/libextra/configure.ac
  AC_SUBST(LIBGNUTLS_EXTRA_LIBS)
  AC_SUBST(LIBGNUTLS_EXTRA_CFLAGS)
  
-Index: gnutls-2.12.5/libextra/gnutls-extra.pc.in
+Index: gnutls-2.12.11/libextra/gnutls-extra.pc.in
 ===================================================================
---- gnutls-2.12.5.orig/libextra/gnutls-extra.pc.in	2011-04-07 17:30:45.000000000 -0700
-+++ gnutls-2.12.5/libextra/gnutls-extra.pc.in	2011-05-25 19:45:23.722186801 -0700
-@@ -22,5 +22,5 @@
+--- gnutls-2.12.11.orig/libextra/gnutls-extra.pc.in
++++ gnutls-2.12.11/libextra/gnutls-extra.pc.in
+@@ -22,5 +22,5 @@ URL: http://www.gnu.org/software/gnutls/
  Requires: gnutls
  Version: @VERSION@
  Libs: -L${libdir} -lgnutls-extra
diff --git a/meta/recipes-support/gnutls/gnutls-2.12.5/gnutls-openssl.patch b/meta/recipes-support/gnutls/gnutls-2.12.11/gnutls-openssl.patch
similarity index 100%
rename from meta/recipes-support/gnutls/gnutls-2.12.5/gnutls-openssl.patch
rename to meta/recipes-support/gnutls/gnutls-2.12.11/gnutls-openssl.patch
diff --git a/meta/recipes-support/gnutls/gnutls-2.12.5/gnutls-texinfo-euro.patch b/meta/recipes-support/gnutls/gnutls-2.12.11/gnutls-texinfo-euro.patch
similarity index 100%
rename from meta/recipes-support/gnutls/gnutls-2.12.5/gnutls-texinfo-euro.patch
rename to meta/recipes-support/gnutls/gnutls-2.12.11/gnutls-texinfo-euro.patch
diff --git a/meta/recipes-support/gnutls/gnutls_2.12.5.bb b/meta/recipes-support/gnutls/gnutls_2.12.11.bb
similarity index 46%
rename from meta/recipes-support/gnutls/gnutls_2.12.5.bb
rename to meta/recipes-support/gnutls/gnutls_2.12.11.bb
index 9d3f5ab..bd5ebb3 100644
--- a/meta/recipes-support/gnutls/gnutls_2.12.5.bb
+++ b/meta/recipes-support/gnutls/gnutls_2.12.11.bb
@@ -5,5 +5,5 @@ PR = "${INC_PR}.0"
 SRC_URI += "file://gnutls-openssl.patch \
             file://configure-fix.patch"
 
-SRC_URI[md5sum] = "2d0bd5ae11534074fcd78da6ea384e64"
-SRC_URI[sha256sum] = "bf263880f327ac34a561d8e66b5a729cbe33eea56728bfed3406ff2898448b60"
+SRC_URI[md5sum] = "f08234b64a8025d6d5aa1307868b02ed"
+SRC_URI[sha256sum] = "00b58e1aafe99bbd0cb371e7f1df9cc58bf807301cf70a7eebedeee093991360"
-- 
1.7.6.2




^ permalink raw reply related

* [PATCH 18/21] tzdata: Update to 2011k
From: Saul Wold @ 2011-10-06 16:14 UTC (permalink / raw)
  To: openembedded-core
In-Reply-To: <cover.1317917297.git.sgw@linux.intel.com>

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../tzdata/{tzdata_2011i.bb => tzdata_2011k.bb}    |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-extended/tzdata/{tzdata_2011i.bb => tzdata_2011k.bb} (97%)

diff --git a/meta/recipes-extended/tzdata/tzdata_2011i.bb b/meta/recipes-extended/tzdata/tzdata_2011k.bb
similarity index 97%
rename from meta/recipes-extended/tzdata/tzdata_2011i.bb
rename to meta/recipes-extended/tzdata/tzdata_2011k.bb
index f507b7e..45f2c4d 100644
--- a/meta/recipes-extended/tzdata/tzdata_2011i.bb
+++ b/meta/recipes-extended/tzdata/tzdata_2011k.bb
@@ -14,8 +14,8 @@ RCONFLICTS= "timezones timezone-africa timezone-america timezone-antarctica \
 
 SRC_URI = "ftp://elsie.nci.nih.gov/pub/tzdata${PV}.tar.gz;name=tzdata"
 
-SRC_URI[tzdata.md5sum] = "c7a86ec34f30f8d6aa77ef94902a3047"
-SRC_URI[tzdata.sha256sum] = "f8dde7ca5e61f21ac34c8cdbef5568d00c829981211098f059d8104964c81ffa"
+SRC_URI[tzdata.md5sum] = "9da1c2d4d1a01f9f504b73ccd371830f"
+SRC_URI[tzdata.sha256sum] = "51f7d2a42b7fb9465feced642a6676afdf8b04a071e55f3fef1f0925bd67ef21"
 
 S = "${WORKDIR}"
 
-- 
1.7.6.2




^ permalink raw reply related

* [PATCH 19/21] lsof: Update to 4.84
From: Saul Wold @ 2011-10-06 16:14 UTC (permalink / raw)
  To: openembedded-core
In-Reply-To: <cover.1317917297.git.sgw@linux.intel.com>

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../lsof/{lsof_4.84.bb => lsof_4.85.bb}            |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
 rename meta/recipes-extended/lsof/{lsof_4.84.bb => lsof_4.85.bb} (89%)

diff --git a/meta/recipes-extended/lsof/lsof_4.84.bb b/meta/recipes-extended/lsof/lsof_4.85.bb
similarity index 89%
rename from meta/recipes-extended/lsof/lsof_4.84.bb
rename to meta/recipes-extended/lsof/lsof_4.85.bb
index 9e76096..96bc0c5 100644
--- a/meta/recipes-extended/lsof/lsof_4.84.bb
+++ b/meta/recipes-extended/lsof/lsof_4.85.bb
@@ -7,8 +7,9 @@ PR = "r0"
 
 SRC_URI = "ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_${PV}.tar.bz2"
 
-SRC_URI[md5sum] = "a09326df500ef7e4550af546868338d6"
-SRC_URI[sha256sum] = "20893a2d9b443fba519602f05692d5f72054a9f6dc1236bcb2616cc5330dc725"
+SRC_URI[md5sum] = "102ee2081172bbe76dccaa6cceda8573"
+SRC_URI[sha256sum] = "49aa58e63539c45bada514a6a2e5a1c9f946ada1f4137dc9154cf4bf6054a1c1"
+
 LOCALSRC = "file://${WORKDIR}/lsof_${PV}/lsof_${PV}_src.tar"
 S = "${WORKDIR}/lsof_${PV}_src"
 
-- 
1.7.6.2




^ permalink raw reply related

* [PATCH 20/21] apt: Update to 0.8.15.8
From: Saul Wold @ 2011-10-06 16:14 UTC (permalink / raw)
  To: openembedded-core
In-Reply-To: <cover.1317917297.git.sgw@linux.intel.com>

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../includes-fix.patch                             |    0
 .../no-ko-translation.patch                        |    0
 .../{apt-0.7.14 => apt-0.8.15.8}/noconfigure.patch |    0
 .../apt/{apt-0.7.14 => apt-0.8.15.8}/nodoc.patch   |    0
 .../{apt-0.7.14 => apt-0.8.15.8}/use-host.patch    |    0
 ...apt-native_0.7.14.bb => apt-native_0.8.15.8.bb} |    6 +++---
 .../apt/{apt_0.7.14.bb => apt_0.8.15.8.bb}         |    6 +++---
 7 files changed, 6 insertions(+), 6 deletions(-)
 rename meta/recipes-devtools/apt/{apt-0.7.14 => apt-0.8.15.8}/includes-fix.patch (100%)
 rename meta/recipes-devtools/apt/{apt-0.7.14 => apt-0.8.15.8}/no-ko-translation.patch (100%)
 rename meta/recipes-devtools/apt/{apt-0.7.14 => apt-0.8.15.8}/noconfigure.patch (100%)
 rename meta/recipes-devtools/apt/{apt-0.7.14 => apt-0.8.15.8}/nodoc.patch (100%)
 rename meta/recipes-devtools/apt/{apt-0.7.14 => apt-0.8.15.8}/use-host.patch (100%)
 rename meta/recipes-devtools/apt/{apt-native_0.7.14.bb => apt-native_0.8.15.8.bb} (60%)
 rename meta/recipes-devtools/apt/{apt_0.7.14.bb => apt_0.8.15.8.bb} (67%)

diff --git a/meta/recipes-devtools/apt/apt-0.7.14/includes-fix.patch b/meta/recipes-devtools/apt/apt-0.8.15.8/includes-fix.patch
similarity index 100%
rename from meta/recipes-devtools/apt/apt-0.7.14/includes-fix.patch
rename to meta/recipes-devtools/apt/apt-0.8.15.8/includes-fix.patch
diff --git a/meta/recipes-devtools/apt/apt-0.7.14/no-ko-translation.patch b/meta/recipes-devtools/apt/apt-0.8.15.8/no-ko-translation.patch
similarity index 100%
rename from meta/recipes-devtools/apt/apt-0.7.14/no-ko-translation.patch
rename to meta/recipes-devtools/apt/apt-0.8.15.8/no-ko-translation.patch
diff --git a/meta/recipes-devtools/apt/apt-0.7.14/noconfigure.patch b/meta/recipes-devtools/apt/apt-0.8.15.8/noconfigure.patch
similarity index 100%
rename from meta/recipes-devtools/apt/apt-0.7.14/noconfigure.patch
rename to meta/recipes-devtools/apt/apt-0.8.15.8/noconfigure.patch
diff --git a/meta/recipes-devtools/apt/apt-0.7.14/nodoc.patch b/meta/recipes-devtools/apt/apt-0.8.15.8/nodoc.patch
similarity index 100%
rename from meta/recipes-devtools/apt/apt-0.7.14/nodoc.patch
rename to meta/recipes-devtools/apt/apt-0.8.15.8/nodoc.patch
diff --git a/meta/recipes-devtools/apt/apt-0.7.14/use-host.patch b/meta/recipes-devtools/apt/apt-0.8.15.8/use-host.patch
similarity index 100%
rename from meta/recipes-devtools/apt/apt-0.7.14/use-host.patch
rename to meta/recipes-devtools/apt/apt-0.8.15.8/use-host.patch
diff --git a/meta/recipes-devtools/apt/apt-native_0.7.14.bb b/meta/recipes-devtools/apt/apt-native_0.8.15.8.bb
similarity index 60%
rename from meta/recipes-devtools/apt/apt-native_0.7.14.bb
rename to meta/recipes-devtools/apt/apt-native_0.8.15.8.bb
index c82d606..0c532c7 100644
--- a/meta/recipes-devtools/apt/apt-native_0.7.14.bb
+++ b/meta/recipes-devtools/apt/apt-native_0.8.15.8.bb
@@ -1,13 +1,13 @@
 require apt-native.inc
 
-PR = "r5"
+PR = "r0"
 
 SRC_URI += "file://nodoc.patch \
             file://noconfigure.patch \
 	    file://no-curl.patch \
 	    file://includes-fix.patch"
 
-SRC_URI[md5sum] = "19efa18fb1ef20c58b9b44e94258b814"
-SRC_URI[sha256sum] = "8fc06effaf8a4e4333308eedcdc6840f1c8056f2e924210f151dfc076bcd4045"
+SRC_URI[md5sum] = "9727845eaeff0d1191403f4d8b8d1e35"
+SRC_URI[sha256sum] = "d19efceb04b927a1c6cdac01fd29b7f0f927c8e168c1e722ddf7808438262742"
 
 LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3"
diff --git a/meta/recipes-devtools/apt/apt_0.7.14.bb b/meta/recipes-devtools/apt/apt_0.8.15.8.bb
similarity index 67%
rename from meta/recipes-devtools/apt/apt_0.7.14.bb
rename to meta/recipes-devtools/apt/apt_0.8.15.8.bb
index 93eebe9..37ca85b 100644
--- a/meta/recipes-devtools/apt/apt_0.7.14.bb
+++ b/meta/recipes-devtools/apt/apt_0.8.15.8.bb
@@ -3,13 +3,13 @@ RDEPENDS_${PN} = "dpkg"
 LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3"
 require apt.inc
 
-PR = "r8"
+PR = "r0"
 
 SRC_URI += "file://nodoc.patch \
             file://includes-fix.patch "
 
-SRC_URI[md5sum] = "19efa18fb1ef20c58b9b44e94258b814"
-SRC_URI[sha256sum] = "8fc06effaf8a4e4333308eedcdc6840f1c8056f2e924210f151dfc076bcd4045"
+SRC_URI[md5sum] = "9727845eaeff0d1191403f4d8b8d1e35"
+SRC_URI[sha256sum] = "d19efceb04b927a1c6cdac01fd29b7f0f927c8e168c1e722ddf7808438262742"
 
 require apt-package.inc
 
-- 
1.7.6.2




^ permalink raw reply related

* [PATCH 21/21] distro_tracking: Updates
From: Saul Wold @ 2011-10-06 16:15 UTC (permalink / raw)
  To: openembedded-core
In-Reply-To: <cover.1317917297.git.sgw@linux.intel.com>

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../conf/distro/include/distro_tracking_fields.inc |   62 ++++++++++++--------
 1 files changed, 37 insertions(+), 25 deletions(-)

diff --git a/meta/conf/distro/include/distro_tracking_fields.inc b/meta/conf/distro/include/distro_tracking_fields.inc
index dd0fbf8..7b6c4a9 100644
--- a/meta/conf/distro/include/distro_tracking_fields.inc
+++ b/meta/conf/distro/include/distro_tracking_fields.inc
@@ -418,7 +418,7 @@ RECIPE_INTEL_SECTION_pn-readline = "base libs"
 RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-readline = "11 months"
 RECIPE_LATEST_RELEASE_DATE_pn-readline = "Feb 13, 2011"
 RECIPE_COMMENTS_pn-readline = ""
-RECIPE_MANUAL_CHECK_DATE_pn-readline = "Sept 27, 2011"
+RECIPE_MANUAL_CHECK_DATE_pn-readline = "Sep 27, 2011"
 
 RECIPE_STATUS_pn-libgcrypt = "green"
 RECIPE_LAST_UPDATE_pn-libgcrypt = "Jul 29, 2010"
@@ -432,16 +432,16 @@ RECIPE_LATEST_RELEASE_DATE_pn-libgcrypt = "12/2009"
 RECIPE_COMMENTS_pn-libgcrypt = ""
 
 RECIPE_STATUS_pn-gnutls = "yellow"   # need explict pre configure
-RECIPE_LAST_UPDATE_pn-gnutls = "May 25, 2011"
+RECIPE_LATEST_VERSION_pn-gnutls = "2.12.11"
+RECIPE_LATEST_RELEASE_DATE_pn-gnutls = "Sep 18, 2011"
+RECIPE_LAST_UPDATE_pn-gnutls = "Oct 6, 2011"
 RECIPE_MAINTAINER_pn-gnutls = "Yu Ke <ke.yu@intel.com>"
 RECIPE_DEPENDENCY_CHECK_pn-gnutls = "done"
-RECIPE_LATEST_VERSION_pn-gnutls = "2.12.5"
 RECIPE_PATCH_pn-gnutls+gnutls-openssl = "unkown"
 RECIPE_PATCH_pn-gnutls+gnutls-texinfo-euro = "fix if @euro is missing in texinfo"
 RECIPE_PATCH_pn-gnutls+configure-fix = "fix Requires.private and Libs.private in autotools script"
 RECIPE_INTEL_SECTION_pn-gnutls = "base libs"
 RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gnutls = "4 months"
-RECIPE_LATEST_RELEASE_DATE_pn-gnutls = "May 14, 2011"
 RECIPE_COMMENTS_pn-gnutls = "requires libtasn1, but has an internal copy"
 
 RECIPE_STATUS_pn-lzo = "green"
@@ -479,11 +479,12 @@ RECIPE_INTEL_SECTION_pn-libnss-mdns = "base libs"
 RECIPE_LATEST_RELEASE_DATE_pn-libnss-mdns = "05/2007"
 
 RECIPE_STATUS_pn-ncurses = "green"
-RECIPE_LAST_UPDATE_pn-ncurses = "Dec 30, 2010"
-RECIPE_MAINTAINER_pn-ncurses = "Saul Wold <sgw@linux.intel.com>"
+RECIPE_LATEST_RELEASE_DATE_pn-ncurses = "Apr 04, 2011"
 RECIPE_LATEST_VERSION_pn-ncurses = "5.9"
+RECIPE_LAST_UPDATE_pn-ncurses = "Apr 06, 2011"
 RECIPE_INTEL_SECTION_pn-ncurses = "base libs"
-RECIPE_LATEST_RELEASE_DATE_pn-ncurses = "Apr 04, 2011"
+RECIPE_MAINTAINER_pn-ncurses = "Saul Wold <sgw@linux.intel.com>"
+RECIPE_MANUAL_CHECK_DATE_pn-ncurses = "Sep 29, 2011"
 
 RECIPE_STATUS_pn-popt = "green"
 RECIPE_LAST_UPDATE_pn-popt = "Jul 5, 2010"
@@ -563,8 +564,8 @@ RECIPE_MAINTAINER_pn-tcp-wrappers = "Saul Wold <sgw@linux.intel.com>"
 RECIPE_LATEST_VERSION_pn-tcp-wrappers = "7.6"
 RECIPE_INTEL_SECTION_pn-tcp-wrappers = "base libs"
 RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-tcp-wrappers = "n/a"
-RECIPE_LATEST_RELEASE_DATE_pn-tcp-wrappers = "n/a"
-RECIPE_MANUAL_CHECK_DATE_pn-tcp-wrappers = "Jul 12, 2011"
+RECIPE_LATEST_RELEASE_DATE_pn-tcp-wrappers = "Apr 04, 1997"
+RECIPE_MANUAL_CHECK_DATE_pn-tcp-wrappers = "Sep 28, 2011"
 RECIPE_COMMENTS_pn-tcp-wrappers = "Consider looking at ipv6.4 version"
 RECIPE_NO_UPDATE_REASON_pn-tcp-wrapers = "7.6 is last Stable release"
 
@@ -1170,8 +1171,9 @@ RECIPE_LAST_UPDATE_pn-apr-util = "Jul 28, 2011"
 RECIPE_MAINTAINER_pn-apr-util = "Zhai Edwin <edwin.zhai@intel.com>"
 
 RECIPE_STATUS_pn-apt = "red"
-RECIPE_LATEST_VERSION_pn-apt = "0.7.25.3"
-RECIPE_LAST_UPDATE_pn-apt = "Jun 19, 2008"
+RECIPE_LATEST_VERSION_pn-apt = "0.8.15.8"
+RECIPE_LATEST_RELEASE_DATE_pn-apt = "Sep 14, 2011"
+RECIPE_LAST_UPDATE_pn-apt = "Oct 6, 2011"
 RECIPE_MAINTAINER_pn-apt = "Mei Lei <lei.mei@intel.com>"
 RECIPE_NO_UPDATE_REASON_pn-apt="similar to zypper, defer the upgrading"
 
@@ -1682,11 +1684,11 @@ RECIPE_LATEST_RELEASE_DATE_pn-strace = "04/2010"
 RECIPE_COMMENTS_pn-strace = "3-clause BSD"
 
 RECIPE_STATUS_pn-dhcp = "green"
-RECIPE_LAST_UPDATE_pn-dhcp = "Nov 17, 2010"
+RECIPE_LAST_UPDATE_pn-dhcp = "Sep 28, 2011"
+RECIPE_LATEST_VERSION_pn-dhcp = "4.2.2
+RECIPE_LATEST_RELEASE_DATE_pn-dhcp = "Aug 10, 2011
 RECIPE_MAINTAINER_pn-dhcp = "Saul Wold <sgw@linux.intel.com>"
-RECIPE_LATEST_VERSION_pn-dhcp = "4.2.0-P2"
 RECIPE_INTEL_SECTION_pn-dhcp = "base utils"
-RECIPE_LATEST_RELEASE_DATE_pn-dhcp = "12/2010"
 RECIPE_COMMENTS_pn-dhcp = "several major release, others are 3.1.3, 4.0.2-P1, need to identify"
 
 RECIPE_STATUS_pn-v86d = "yellow"   # self written configure
@@ -1712,14 +1714,14 @@ RECIPE_LATEST_RELEASE_DATE_pn-udev = "06/2010"
 RECIPE_COMMENTS_pn-udev = "may need different versions for different kernels"
 
 RECIPE_STATUS_pn-tzdata = "green"
-RECIPE_LAST_UPDATE_pn-tzdata = "May 24, 2010"
+RECIPE_LATEST_VERSION_pn-tzdata = "2011k"
+RECIPE_LATEST_RELEASE_DATE_pn-tzdata = "Sep 26, 2011"
+RECIPE_LAST_UPDATE_pn-tzdata = "Oct 6, 2011"
 RECIPE_MAINTAINER_pn-tzdata = "Zhai Edwin <edwin.zhai@intel.com>"
 RECIPE_DEPENDENCY_CHECK_pn-tzdata = "not done"
-RECIPE_LATEST_VERSION_pn-tzdata = "2011g"
 RECIPE_INTEL_SECTION_pn-tzdata = "base utils"
 RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-tzdata = "1 month"
-RECIPE_LATEST_RELEASE_DATE_pn-tzdata = "05/2010"
-RECIPE_MANUAL_CHECK_DATE_pn-tzdata = "May 24, 2011"
+RECIPE_MANUAL_CHECK_DATE_pn-tzdata = "Oct 6, 2011"
 RECIPE_COMMENTS_pn-tzdata = ""
 DISTRO_PN_ALIAS_pn-tzcode = "OSPDT"
 
@@ -1807,9 +1809,9 @@ DISTRO_PN_ALIAS_pn-zypper = "OpenSuse=zypper Meego=zypper"
 
 RECIPE_STATUS_pn-sysstat = "green"
 RECIPE_LAST_UPDATE_pn-sysstat = "Sep 27, 2011"
-RECIPE_MAINTAINER_pn-sysstat = "Saul Wold <sgw@linux.intel.com>"
 RECIPE_LATEST_VERSION_pn-sysstat = "10.0.2"
 RECIPE_MANUAL_CHECK_DATE_pn-sysstat = "Sep 27, 2011"
+RECIPE_MAINTAINER_pn-sysstat = "Saul Wold <sgw@linux.intel.com>"
 
 RECIPE_STATUS_pn-sysklogd = "red"    # need upgrade
 RECIPE_LAST_UPDATE_pn-sysklogd = "Aug 27, 2010"
@@ -3189,9 +3191,9 @@ RECIPE_LATEST_VERSION_pn-oh-puzzles = "0.1+svnr23"
 RECIPE_NO_OF_PATCHES_pn-oh-puzzles = "1"
 RECIPE_INTEL_SECTION_pn-oh-puzzles = "graphic apps"
 RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-oh-puzzles = "n/a"
-RECIPE_LATEST_RELEASE_DATE_pn-oh-puzzles = "04/2008"
+RECIPE_LATEST_RELEASE_DATE_pn-oh-puzzles = "Oct 1, 2011"
 RECIPE_COMMENTS_pn-oh-puzzles = ""
-RECIPE_LAST_UPDATE_pn-oh-puzzles = "Apr 8, 2008"
+RECIPE_LAST_UPDATE_pn-oh-puzzles = "Oct 6, 2011"
 RECIPE_MAINTAINER_pn-oh-puzzles = "Zhai Edwin <edwin.zhai@intel.com>"
 
 RECIPE_STATUS_pn-gnome-terminal = "red"
@@ -5704,9 +5706,12 @@ RECIPE_LATEST_VERSION_pn-man-pages = "3.32"
 RECIPE_LATEST_VERSION_pn-qmmp = "0.4.3"
 RECIPE_LATEST_VERSION_pn-sysprof = "6b5b8432711ef5c747f8375073cd9af88922d3c6"
 RECIPE_LATEST_VERSION_pn-table = "d42a44938699ee30a998fc42bc149aebf69389db"
+
 RECIPE_LATEST_VERSION_pn-texinfo = "4.13a"
-RECIPE_NO_UPDATE_REASON_pn-texinfo = "Checking script parse directory wrong"
-RECIPE_MANUAL_CHECK_DATE_pn-texinfo = "Feb 28, 2011"
+RECIPE_LATEST_RELEASE_DATE_pn-texinfo = "Sep 22, 2008"
+RECIPE_LAST_UPDATE_pn-texinfo = "Sep 16, 2011"
+RECIPE_MANUAL_CHECK_DATE_pn-texinfo = "Sep 28, 2011"
+RECIPE_NO_UPDATE_REASON_pn-texinfo = "Checking script parses directory wrong"
 
 RECIPE_LATEST_VERSION_pn-blktrace = "a788dfde86dfaff8f1c277a233f92c1822e06b76"
 RECIPE_LATEST_VERSION_pn-dtc = "37c0b6a0916c31a5eae0a9ddfcc5d0b8fb4569c6"
@@ -5833,6 +5838,12 @@ RECIPE_LAST_UPDATE_pn-slang = "Jul 28, 2011"
 RECIPE_MANUAL_CHECK_DATE_pn-slang = "Jun 28, 2011"
 RECIPE_MAINTAINER_pn-slang = "Kai Kang <kai.kang@windriver.com>"
 
+RECIPE_STATUS_pn-cups = "red"
+RECIPE_LATEST_VERSION_pn-cups = "1.5.0"
+RECIPE_LATEST_RELEASE_DATE_pn-cups = "Jul 25, 2011"
+RECIPE_LAST_UPDATE_pn-cups = "Feb 1, 2011"
+RECIPE_MANUAL_CHECK_DATE_pn-cups = "Sep 28, 2011"
+
 RECIPE_STATUS_pn-libnewt = "green"
 DISTRO_PN_ALIAS_pn-libnewt = "Debian=libnewt0.52 Fedora=newt"
 RECIPE_LATEST_VERSION_pn-libnewt = "0.52.13"
@@ -5883,8 +5894,9 @@ RECIPE_MANUAL_CHECK_DATE_pn-mesa-demos = "Jun 7, 2011"
 
 RECIPE_STATUS_pn-gettext = "red"
 RECIPE_LATEST_VERSION_pn-gettext = "0.18.1.1"
-RECIPE_LAST_UPDATE_pn-gettext = "Jun 6, 2010"
-RECIPE_MANUAL_CHECK_DATE_pn-gettext = "Jun 7, 2011" 
+RECIPE_LATEST_RELEASE_DATE_pn-gettext = "Jun 06, 2010"
+RECIPE_LAST_UPDATE_pn-gettext = "May 24, 2011"
+RECIPE_MANUAL_CHECK_DATE_pn-gettext = "Sep 29, 2011" 
 
 RECIPE_STATUS_pn-pseudo = "green"
 RECIPE_LATEST_VERSION_pn-pseudo = "1.1.1"
-- 
1.7.6.2




^ permalink raw reply related

* [PATCH 1/1] acl/attr: don't make symlink if base_libdir = libdir
From: Saul Wold @ 2011-10-06 18:25 UTC (permalink / raw)
  To: openembedded-core
In-Reply-To: <cover.1317925433.git.sgw@linux.intel.com>

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-support/attr/ea-acl.inc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-support/attr/ea-acl.inc b/meta/recipes-support/attr/ea-acl.inc
index 22d7848..6a45858 100644
--- a/meta/recipes-support/attr/ea-acl.inc
+++ b/meta/recipes-support/attr/ea-acl.inc
@@ -37,6 +37,9 @@ LDFLAGS_append_libc-uclibc = "${@['', ' -lintl '][(bb.data.getVar('PN', d, True)
 EXTRA_OECONF_append_libc-uclibc = "${@['', ' --disable-gettext '][(bb.data.getVar('PN', d, True) == bb.data.getVar('BPN', d , True)) and (bb.data.getVar('USE_NLS', d, True) == 'no')]}"
 
 fix_symlink () {
+	if test "${libdir}" = "${base_libdir}" ; then
+		return
+	fi
 	# Remove bad symlinks & create the correct symlinks
 	if test -L ${libdir}/lib${BPN}.so ; then
 		rm -rf ${libdir}/lib${BPN}.so
-- 
1.7.6.2




^ permalink raw reply related

* [PATCH 0/1] acl/attr fix for libdir = base_libdir
From: Saul Wold @ 2011-10-06 18:25 UTC (permalink / raw)
  To: openembedded-core

Richard,

This should address the above situation.

Phil, please let me know if this works for you.

Thanks

Sau!

The following changes since commit cc626b9e1671670a931ea3e528ea4b0f7b2e923b:

  webkit-gtk: Enable dependency tracking since the webkit makefiles have bugs (2011-10-05 14:36:18 +0100)

are available in the git repository at:
  git://git.openembedded.org/openembedded-core-contrib sgw/fix
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=sgw/fix

Saul Wold (1):
  acl/attr: don't make symlink if base_libdir = libdir

 meta/recipes-support/attr/ea-acl.inc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

-- 
1.7.6.2




^ permalink raw reply

* Re: [PATCH 20/21] apt: Update to 0.8.15.8
From: Saul Wold @ 2011-10-06 20:55 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer
In-Reply-To: <1b41379e5232701f7d96ea78c673d34aa4132c2f.1317917297.git.sgw@linux.intel.com>

On 10/06/2011 09:14 AM, Saul Wold wrote:
> Signed-off-by: Saul Wold<sgw@linux.intel.com>
> ---
>   .../includes-fix.patch                             |    0
>   .../no-ko-translation.patch                        |    0
>   .../{apt-0.7.14 =>  apt-0.8.15.8}/noconfigure.patch |    0
>   .../apt/{apt-0.7.14 =>  apt-0.8.15.8}/nodoc.patch   |    0
>   .../{apt-0.7.14 =>  apt-0.8.15.8}/use-host.patch    |    0
>   ...apt-native_0.7.14.bb =>  apt-native_0.8.15.8.bb} |    6 +++---
>   .../apt/{apt_0.7.14.bb =>  apt_0.8.15.8.bb}         |    6 +++---
>   7 files changed, 6 insertions(+), 6 deletions(-)
>   rename meta/recipes-devtools/apt/{apt-0.7.14 =>  apt-0.8.15.8}/includes-fix.patch (100%)
>   rename meta/recipes-devtools/apt/{apt-0.7.14 =>  apt-0.8.15.8}/no-ko-translation.patch (100%)
>   rename meta/recipes-devtools/apt/{apt-0.7.14 =>  apt-0.8.15.8}/noconfigure.patch (100%)
>   rename meta/recipes-devtools/apt/{apt-0.7.14 =>  apt-0.8.15.8}/nodoc.patch (100%)
>   rename meta/recipes-devtools/apt/{apt-0.7.14 =>  apt-0.8.15.8}/use-host.patch (100%)
>   rename meta/recipes-devtools/apt/{apt-native_0.7.14.bb =>  apt-native_0.8.15.8.bb} (60%)
>   rename meta/recipes-devtools/apt/{apt_0.7.14.bb =>  apt_0.8.15.8.bb} (67%)
>
> diff --git a/meta/recipes-devtools/apt/apt-0.7.14/includes-fix.patch b/meta/recipes-devtools/apt/apt-0.8.15.8/includes-fix.patch
> similarity index 100%
> rename from meta/recipes-devtools/apt/apt-0.7.14/includes-fix.patch
> rename to meta/recipes-devtools/apt/apt-0.8.15.8/includes-fix.patch
> diff --git a/meta/recipes-devtools/apt/apt-0.7.14/no-ko-translation.patch b/meta/recipes-devtools/apt/apt-0.8.15.8/no-ko-translation.patch
> similarity index 100%
> rename from meta/recipes-devtools/apt/apt-0.7.14/no-ko-translation.patch
> rename to meta/recipes-devtools/apt/apt-0.8.15.8/no-ko-translation.patch
> diff --git a/meta/recipes-devtools/apt/apt-0.7.14/noconfigure.patch b/meta/recipes-devtools/apt/apt-0.8.15.8/noconfigure.patch
> similarity index 100%
> rename from meta/recipes-devtools/apt/apt-0.7.14/noconfigure.patch
> rename to meta/recipes-devtools/apt/apt-0.8.15.8/noconfigure.patch
> diff --git a/meta/recipes-devtools/apt/apt-0.7.14/nodoc.patch b/meta/recipes-devtools/apt/apt-0.8.15.8/nodoc.patch
> similarity index 100%
> rename from meta/recipes-devtools/apt/apt-0.7.14/nodoc.patch
> rename to meta/recipes-devtools/apt/apt-0.8.15.8/nodoc.patch
> diff --git a/meta/recipes-devtools/apt/apt-0.7.14/use-host.patch b/meta/recipes-devtools/apt/apt-0.8.15.8/use-host.patch
> similarity index 100%
> rename from meta/recipes-devtools/apt/apt-0.7.14/use-host.patch
> rename to meta/recipes-devtools/apt/apt-0.8.15.8/use-host.patch
> diff --git a/meta/recipes-devtools/apt/apt-native_0.7.14.bb b/meta/recipes-devtools/apt/apt-native_0.8.15.8.bb
> similarity index 60%
> rename from meta/recipes-devtools/apt/apt-native_0.7.14.bb
> rename to meta/recipes-devtools/apt/apt-native_0.8.15.8.bb
> index c82d606..0c532c7 100644
> --- a/meta/recipes-devtools/apt/apt-native_0.7.14.bb
> +++ b/meta/recipes-devtools/apt/apt-native_0.8.15.8.bb
> @@ -1,13 +1,13 @@
>   require apt-native.inc
>
> -PR = "r5"
> +PR = "r0"
>
>   SRC_URI += "file://nodoc.patch \
>               file://noconfigure.patch \
>   	    file://no-curl.patch \
>   	    file://includes-fix.patch"
>
> -SRC_URI[md5sum] = "19efa18fb1ef20c58b9b44e94258b814"
> -SRC_URI[sha256sum] = "8fc06effaf8a4e4333308eedcdc6840f1c8056f2e924210f151dfc076bcd4045"
> +SRC_URI[md5sum] = "9727845eaeff0d1191403f4d8b8d1e35"
> +SRC_URI[sha256sum] = "d19efceb04b927a1c6cdac01fd29b7f0f927c8e168c1e722ddf7808438262742"
>
>   LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3"
> diff --git a/meta/recipes-devtools/apt/apt_0.7.14.bb b/meta/recipes-devtools/apt/apt_0.8.15.8.bb
> similarity index 67%
> rename from meta/recipes-devtools/apt/apt_0.7.14.bb
> rename to meta/recipes-devtools/apt/apt_0.8.15.8.bb
> index 93eebe9..37ca85b 100644
> --- a/meta/recipes-devtools/apt/apt_0.7.14.bb
> +++ b/meta/recipes-devtools/apt/apt_0.8.15.8.bb
> @@ -3,13 +3,13 @@ RDEPENDS_${PN} = "dpkg"
>   LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3"
>   require apt.inc
>
> -PR = "r8"
> +PR = "r0"
>
>   SRC_URI += "file://nodoc.patch \
>               file://includes-fix.patch "
>
> -SRC_URI[md5sum] = "19efa18fb1ef20c58b9b44e94258b814"
> -SRC_URI[sha256sum] = "8fc06effaf8a4e4333308eedcdc6840f1c8056f2e924210f151dfc076bcd4045"
> +SRC_URI[md5sum] = "9727845eaeff0d1191403f4d8b8d1e35"
> +SRC_URI[sha256sum] = "d19efceb04b927a1c6cdac01fd29b7f0f927c8e168c1e722ddf7808438262742"
>
>   require apt-package.inc
>

Please disregard this patch.

Sau!




^ permalink raw reply

* Re: sstate.bbclass: Ensure machine specific stamps are only wiped for the current task
From: Koen Kooi @ 2011-10-06 20:57 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer
In-Reply-To: <1317910796.6398.86.camel@ted>

let's get this in before my buildserver melts a hole in the floor :)

Op 6 okt. 2011, om 16:19 heeft Richard Purdie het volgende geschreven:

> sstate was being a little too ethusiastic about removing stamp files and
> was removing stamp files for other machines when it shouldn't have been.
> 
> This patch teaches sstate about machine specific stamp extensions and
> allows it to only remove the current task's stampfiles.
> 
> Based on a patch from Phil Blundell <philb@gnu.org> with some tweaks
> from me.
> 
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> ---
> diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
> index eee04ab..6abf55b 100644
> --- a/meta/classes/sstate.bbclass
> +++ b/meta/classes/sstate.bbclass
> @@ -259,10 +259,15 @@ def sstate_clean(ss, d):
>             bb.utils.unlockfile(lock)
> 
>     stfile = d.getVar("STAMP", True) + ".do_" + ss['task']
> +    extrainf = d.getVarFlag("do_" + ss['task'], 'stamp-extra-info')
>     oe.path.remove(stfile)
>     oe.path.remove(stfile + "_setscene")
> -    oe.path.remove(stfile + ".*")
> -    oe.path.remove(stfile + "_setscene" + ".*")
> +    if extrainf:
> +        oe.path.remove(stfile + ".*" + extrainf)
> +        oe.path.remove(stfile + "_setscene" + ".*" + extrainf)
> +    else:
> +        oe.path.remove(stfile + ".*")
> +        oe.path.remove(stfile + "_setscene" + ".*")
> 
> CLEANFUNCS += "sstate_cleanall"
> 
> 
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core




^ permalink raw reply

* Re: [PATCH] native.bbclass: Ensure native recipes have a deterministic baselib value
From: McClintock Matthew-B29882 @ 2011-10-06 21:01 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer
In-Reply-To: <1317910843.6398.87.camel@ted>

On Thu, Oct 6, 2011 at 9:20 AM, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> Changes to baselib by specific machine configuration were resulting
> in sstate cache invalidation, particularly in multilib configurations.
>
> This patch ensures this doesn't happen and native sstate cache files
> are reusable.
>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

This fixes native sstate-cache (re)usage when enabling multilib.

-M



^ permalink raw reply

* Minutes: OpenEmbedded eV Board meeting, 22-Sep-2011
From: Denys Dmytriyenko @ 2011-10-06 20:44 UTC (permalink / raw)
  To: openembedded-members, openembedded-devel, openembedded-core

Minutes: OpenEmbedded eV Board meeting, 22-Sep-2011

Attendees:

Michael Lauer (mickey)
Philip Balister (Crofton)
Florian Boor (florian)
Denys Dmytriyenko (denix)


00) action items from last meeting:
* no changes on the event box
  ** ready for next event?
  ** ELCE doesn't have real community exhibit though
* open credit card with the bank
  ** no updates so far, florian to check again
* follow up on Intel's donation offer

01) agenda:
* Yocto updates
* status of Crofton's meeting with OSUOSL team
* TSC elections for second (Khem's) seat
* GA arrangements and proxy logistics
* LF server donation status, receipt & accounting processing
* general budget

02) follow up on Intel's donation offer
* no progress - expedite the process:
  ** work with DaveS or Dirk
  ** florian to handle the financial side
  ** Crofton to handle any leagl questions, reuse prev form from TI donation
  ** denix to initiate the dialog

03) Yocto advocacy group
* a group separate from advisory board
  ** marketing oriented - t-shirts, logos on merchandise etc.
* works on the project "messaging" aspects
  ** especially important for oe-core based distros outside of Yocto
  ** clear up for the upcoming Yocto 1.1 release @ ELCE
* need someone to attend the calls and follow the progress

04) short status on Yocto advisory board meetings
* trying to figure out the budget and members fees
* auto-builders issues
  ** wearing out disks often

05) status of Crofton's meeting with OSUOSL team
* OSUOSL is not going away - high prestige
* Lance is a new paid admin for OSUOSL
* improve collaboration with OSUOSL team
  ** share/offload some of the simple admin tasks to OSUOSL admins
  ** possibly get them to host Wiki, solve Spam issues
* figure out a way for regular donations to OSUOSL
  ** try to reach the next Patron level from current Champion
  ** see if donations to OSUOSL can be made directly in OE name
* Crofton to continue discussions with Lance and Tom

06) TSC elections for Khem's seat
* run the election process:
  ** call for candidates - denix
  ** in case of 1 candidate, appoint by acclamation
  ** otherwise run the voting process and process the results - denix
  ** consult with Graeme for previous experience

07) GA arrangements and proxy logistics
* check with Jefro (or Dirk) on meeting space
* proxy form was discussed on the list and made available
* schedule the formal election process for the Board seat, currently occupied by denix
* check, if possible to have GA meetings in the US, e.g. at ELC
  ** maybe too often to have GAs every 6 month
  ** but will help people that are unable to travel to Europe
  ** making formal GA meetings more accessible would make people feel more included
* check if anybody is interested in free pass to ELCE (Martin/JaMa is local, but may not be able to attend)

08) LF servers donations, receipt processing
* LF has donated 2 servers for OE infrastructure
* Tom is receiving and setting them up
* need to handle receipts and accounting
  ** need to get the original receipt from Mike Woster and provide donation receipt
  ** florian to take care of the financial paperwork, along with mickey
  ** denix to ping Mike for the original (sales) receipt

09) general budget
* florian to start the initial draft of the budget plans
* waiting for Tom's proposal on the infrasture spending budget
* figure out possible ways to encourage donations
  ** branded merchandise - t-shirts, mugs, etc.
  ** own printed publication - magazine, newspaper with news and tutorials from oe and yocto
  ** friends/sponsors of the project page, inspired by OSUOSL implementation



^ permalink raw reply

* Re: [PATCH] native.bbclass: Ensure native recipes have a deterministic baselib value
From: Richard Purdie @ 2011-10-06 21:47 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer
In-Reply-To: <4E8DBF9E.70600@windriver.com>

On Thu, 2011-10-06 at 09:47 -0500, Mark Hatle wrote:
> On 10/6/11 9:20 AM, Richard Purdie wrote:
> > Changes to baselib by specific machine configuration were resulting
> > in sstate cache invalidation, particularly in multilib configurations.
> > 
> > This patch ensures this doesn't happen and native sstate cache files
> > are reusable.
> 
> Likely throwing in a can of worms here, but for our existing (non-OE based)
> work, we generally change the baselib to "lib64" on 64-bit machines.  Without
> patching native.bbclass, is it possible to do that?

Yes, you could set this based on the build system architecture no
problem at all.

The reason for this change is to have a single value for native packages
which doesn't change based on MACHINE. That doesn't stop you changing it
based on something specific the native binaries themselves.

The native sysroots are different depending on the build system
architecture anyway so this actually might be a non-issue for you
anyway.

Cheers,

Richard




^ permalink raw reply

* [PATCH] mutter: update to 2.29.1 and fix SRC_URI
From: Joshua Lock @ 2011-10-06 22:11 UTC (permalink / raw)
  To: openembedded-core

mutter has been hosted by the gnome community for some time now, update the
recipe to use the new SRC_URI and a more recernt version - this is the last
version to support Gtk+ 2.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
---
 meta/recipes-graphics/mutter/mutter_2.28.1.bb |   14 --------------
 meta/recipes-graphics/mutter/mutter_2.29.1.bb |   13 +++++++++++++
 2 files changed, 13 insertions(+), 14 deletions(-)
 delete mode 100644 meta/recipes-graphics/mutter/mutter_2.28.1.bb
 create mode 100644 meta/recipes-graphics/mutter/mutter_2.29.1.bb

diff --git a/meta/recipes-graphics/mutter/mutter_2.28.1.bb b/meta/recipes-graphics/mutter/mutter_2.28.1.bb
deleted file mode 100644
index 50f2647..0000000
--- a/meta/recipes-graphics/mutter/mutter_2.28.1.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-require mutter.inc
-
-PR = "r1"
-
-LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
-
-SRC_URI = "http://download.moblin.org/sources/mutter/2.28/mutter-2.28.1_0.0.tar.bz2 \
-           file://nodocs.patch \
-           file://nozenity.patch \
-           file://fix_pkgconfig.patch \
-           file://fix_CGL_TEXTURE_RECTANGLE_ARB.patch \
-           "
-
-S = "${WORKDIR}/mutter-2.28.1_0.0"
diff --git a/meta/recipes-graphics/mutter/mutter_2.29.1.bb b/meta/recipes-graphics/mutter/mutter_2.29.1.bb
new file mode 100644
index 0000000..5d031f6
--- /dev/null
+++ b/meta/recipes-graphics/mutter/mutter_2.29.1.bb
@@ -0,0 +1,13 @@
+require mutter.inc
+
+PR = "r0"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
+
+SRC_URI += "file://nodocs.patch \
+            file://nozenity.patch \
+            file://fix_pkgconfig.patch \
+           "
+SRC_URI[archive.md5sum] = "ebe3c04751741fb2a028a3c6c4f1c2d7"
+SRC_URI[archive.sha256sum] = "175f3adcc5ad5c6f23772ca15c862f275fc3d9a9c3104e9146cf265847a4a10a"
+
-- 
1.7.6.4




^ permalink raw reply related

* [PATCH] pkgconfig: Fix logic that was accidently leaving legacy pkg-config functionality enabled
From: Richard Purdie @ 2011-10-06 22:58 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig/disable-legacy.patch b/meta/recipes-devtools/pkgconfig/pkgconfig/disable-legacy.patch
index 1b3c12a..30db36c 100644
--- a/meta/recipes-devtools/pkgconfig/pkgconfig/disable-legacy.patch
+++ b/meta/recipes-devtools/pkgconfig/pkgconfig/disable-legacy.patch
@@ -7,13 +7,13 @@ pkgconfig with the --disable-legacy-scripts option, to maintain compatibility
 the default is to leave the scripts enabled.
 
 JL - 22/06/10
-Index: pkg-config-0.23/configure.in
+Index: pkg-config-0.25/configure.in
 ===================================================================
---- pkg-config-0.23.orig/configure.in	2008-01-16 22:48:07.000000000 +0000
-+++ pkg-config-0.23/configure.in	2010-06-22 13:05:58.951984140 +0100
-@@ -125,6 +125,14 @@
-   AC_CONFIG_SUBDIRS(glib-1.2.10)
- fi # !native_win32
+--- pkg-config-0.25.orig/configure.in	2011-10-05 18:52:24.879726050 +0100
++++ pkg-config-0.25/configure.in	2011-10-05 18:55:39.639726152 +0100
+@@ -151,6 +151,18 @@
+ AC_SUBST([POPT_LIBS])
+ AM_CONDITIONAL([USE_INSTALLED_POPT], [test "x$with_installed_popt" = xyes])
  
 +# legacy *-configure scripts can cause headaches, add option to disable
 +AC_ARG_ENABLE(legacy-scripts,
@@ -21,20 +21,24 @@ Index: pkg-config-0.23/configure.in
 +                        [Whether pkg-config will try and use legacy scripts such as glib-config and gnome-config @<:@default=yes@:>@])],
 +        [],
 +        [enable_legacy=yes])
-+AM_CONDITIONAL([LEGACY_SCRIPTS], [test x$enable_legacy = xyes])
++AM_CONDITIONAL([NO_LEGACY_SCRIPTS], [test x$enable_legacy != xyes])
++if test x$enable_legacy != xyes; then
++  AC_DEFINE(NO_LEGACY_SCRIPTS, 1, [We are not using legacy scripts])
++fi
++
 +
  AC_FUNC_ALLOCA
  
  AC_CHECK_FUNCS(setresuid setreuid,break)
-Index: pkg-config-0.23/parse.c
+Index: pkg-config-0.25/parse.c
 ===================================================================
---- pkg-config-0.23.orig/parse.c	2008-01-16 20:42:49.000000000 +0000
-+++ pkg-config-0.23/parse.c	2010-06-22 13:09:10.410129471 +0100
-@@ -1195,6 +1195,11 @@
+--- pkg-config-0.25.orig/parse.c	2011-10-05 18:52:24.869726050 +0100
++++ pkg-config-0.25/parse.c	2011-10-05 18:54:49.909726133 +0100
+@@ -1237,6 +1237,11 @@
     * messages.
     */
    return NULL;
-+#elif defined(LEGACY_SCRIPTS)
++#elif defined(NO_LEGACY_SCRIPTS)
 +  /* There are scenarios where we might not want to use these legacy
 +   * scripts even if they are available.
 +   */
diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig_0.25.bb b/meta/recipes-devtools/pkgconfig/pkgconfig_0.25.bb
index a1f9508..76c0df9 100644
--- a/meta/recipes-devtools/pkgconfig/pkgconfig_0.25.bb
+++ b/meta/recipes-devtools/pkgconfig/pkgconfig_0.25.bb
@@ -1,6 +1,6 @@
 require pkgconfig.inc
 
-PR = "r0"
+PR = "r2"
 
 SRC_URI[md5sum] = "a3270bab3f4b69b7dc6dbdacbcae9745"
 SRC_URI[sha256sum] = "3ba691ee2431f32ccb8efa131e59bf23e37f122dc66791309023ca6dcefcd10e"





^ permalink raw reply related

* [PATCH v3 0/2] Fix useradd class to accept useradd long options
From: Julian Pidancet @ 2011-10-07  0:13 UTC (permalink / raw)
  To: openembedded-core; +Cc: julian.pidancet

This first patch fixes the --root option for programs in shadow-native and
allow one to specify useradd long options when using the useradd class
in a recipe.

The second patch demonstrates usage of the useradd class and ability to
specify long options in the USERADD_PARAM variable by converting the OpenSSH
recipe to useradd.

v2: Fixed a typo in add_root_cmd_options.patch, --root is equivalent to -Q
instead of -R.

v3: Comment modifications and add Signed-off-by line in the modified patch
directly.

Julian Pidancet (2):
  Fix the --root option in shadow-native programs
  Use useradd and update-rc.d classes in the OpenSSH recipe

 meta/recipes-connectivity/openssh/openssh_5.8p2.bb |   29 +---
 .../shadow/files/add_root_cmd_options.patch        |  189 ++++++++++----------
 2 files changed, 106 insertions(+), 112 deletions(-)

-- 
Julian Pidancet




^ permalink raw reply

* [PATCH v3 2/2] Use useradd and update-rc.d classes in the OpenSSH recipe
From: Julian Pidancet @ 2011-10-07  0:13 UTC (permalink / raw)
  To: openembedded-core; +Cc: julian.pidancet
In-Reply-To: <cover.1317946258.git.julian.pidancet@gmail.com>

The current sshd postinst and postrm scripts in the OpenSSH make the
package dependant of the adduser/addgroup scripts which may not be
available on all systems.

This patch replaces the sshd postinst and postrm scripts with proper
usage of the useradd and update-rc.d classes.

This patch had been modified from the previous proposed version to
use useradd long options for more clarity.

Signed-off-by: Julian Pidancet <julian.pidancet@gmail.com>
---
 meta/recipes-connectivity/openssh/openssh_5.8p2.bb |   29 +++++--------------
 1 files changed, 8 insertions(+), 21 deletions(-)

diff --git a/meta/recipes-connectivity/openssh/openssh_5.8p2.bb b/meta/recipes-connectivity/openssh/openssh_5.8p2.bb
index 030a83b..5f5f0bc 100644
--- a/meta/recipes-connectivity/openssh/openssh_5.8p2.bb
+++ b/meta/recipes-connectivity/openssh/openssh_5.8p2.bb
@@ -29,6 +29,14 @@ PAM_SRC_URI = "file://sshd"
 SRC_URI[md5sum] = "0541579adf9d55abb15ef927048d372e"
 SRC_URI[sha256sum] = "5c35ec7c966ce05cc4497ac59c0b54a556e55ae7368165cc8c4129694654f314"
 
+inherit useradd update-rc.d
+
+USERADD_PACKAGES = "${PN}-sshd"
+USERADD_PARAM_${PN}-sshd = "--system --no-create-home --home-dir /var/run/sshd --shell /bin/false --user-group sshd"
+INITSCRIPT_PACKAGES = "${PN}-sshd"
+INITSCRIPT_NAME_${PN}-sshd = "sshd"
+INITSCRIPT_PARAMS_${PN}-sshd = "defaults 9"
+
 inherit autotools
 
 # LFS support:
@@ -91,16 +99,6 @@ RDEPENDS_${PN} += "${PN}-scp ${PN}-ssh ${PN}-sshd ${PN}-keygen"
 DEPENDS_${PN}-sshd += "update-rc.d"
 RDEPENDS_${PN}-sshd += "update-rc.d ${PN}-keygen"
 
-pkg_postinst_${PN}-sshd () {
-	if [ "x$D" != "x" ]; then
-		exit 1
-	else
-		addgroup sshd
-		adduser --system --home /var/run/sshd --no-create-home --disabled-password --ingroup sshd -s /bin/false sshd
-		update-rc.d sshd defaults 9
-	fi
-}
-
 pkg_postinst_${PN}-scp () {
 	update-alternatives --install ${bindir}/scp scp scp.${PN} 90
 }
@@ -117,16 +115,5 @@ pkg_postrm_${PN}-scp () {
 	update-alternatives --remove ${bindir}/scp scp.${PN}
 }
 
-pkg_postrm_${PN}-sshd () {
-	if [ "x$D" != "x" ]; then
-		exit 1
-	else
-		${sysconfdir}/init.d/sshd stop
-		deluser sshd
-		delgroup sshd
-		update-rc.d -f sshd remove
-	fi
-}
-
 CONFFILES_${PN}-sshd = "${sysconfdir}/ssh/sshd_config"
 CONFFILES_${PN}-ssh = "${sysconfdir}/ssh/ssh_config"
-- 
Julian Pidancet




^ permalink raw reply related

* [PATCH v3 1/2] Fix the --root option in shadow-native programs
From: Julian Pidancet @ 2011-10-07  0:13 UTC (permalink / raw)
  To: openembedded-core; +Cc: julian.pidancet
In-Reply-To: <cover.1317946258.git.julian.pidancet@gmail.com>

The add_root_cmd_options.patch that we apply to shadow-native allow the
various programs from the shadow utility package to chroot() so they can
be used to modify etc/passwd and etc/group if they are located in a
sysroot.

Some of the shadow programs (gpasswd, useradd and usermod) need to parse
the command line in two passes. But we can't use getopt_long() twice
because getopt_long() reorders the command line arguments, and
consequently corrupts the option parsing during the second pass.

This patch fixes this issue by replacing the first pass by a very simple
manual walk of the command line to handle the --root argument.

This change is a patch of another patch, I apologize if it is
difficult to read. But IMHO it wouldn't make sense to put the patch for
this issue in another separated file.

The --root options in groupadd and useradd are needed to make the
useradd class work, and this issue was preventing to use useradd and
groupadd long options while using the class.

Signed-off-by: Julian Pidancet <julian.pidancet@gmail.com>
---
 .../shadow/files/add_root_cmd_options.patch        |  189 ++++++++++----------
 1 files changed, 98 insertions(+), 91 deletions(-)

diff --git a/meta/recipes-extended/shadow/files/add_root_cmd_options.patch b/meta/recipes-extended/shadow/files/add_root_cmd_options.patch
index c5f2bec..5edd3b8 100644
--- a/meta/recipes-extended/shadow/files/add_root_cmd_options.patch
+++ b/meta/recipes-extended/shadow/files/add_root_cmd_options.patch
@@ -25,9 +25,18 @@ Workaround is specific to our build system.
 
 Signed-off-by: Scott Garman <scott.a.garman@intel.com>
 
+2011-09-29 Fix the parsing of the --root option in gpasswd, useradd, usermod:
+
+In programs which need to scan the command line in two passes to handle 
+--root option separately from the rest of the arguments, replace the first
+calls to getopt_long with a simple iteration over the argument list since 
+getopt_long has the bad habit of reordering arguments on the command line.
+
+Signed-off-by: Julian Pidancet <julian.pidancet@gmail.com>
+
 diff -urN shadow-4.1.4.3.orig//src/gpasswd.c shadow-4.1.4.3//src/gpasswd.c
---- shadow-4.1.4.3.orig//src/gpasswd.c	2011-02-13 09:58:16.000000000 -0800
-+++ shadow-4.1.4.3//src/gpasswd.c	2011-06-28 15:12:03.539504372 -0700
+--- shadow-4.1.4.3.orig//src/gpasswd.c	2011-09-29 12:00:45.211000091 +0100
++++ shadow-4.1.4.3//src/gpasswd.c	2011-09-29 12:09:54.590000090 +0100
 @@ -63,6 +63,7 @@
   * (/etc/gshadow present) */
  static bool is_shadowgrp;
@@ -52,7 +61,7 @@ diff -urN shadow-4.1.4.3.orig//src/gpasswd.c shadow-4.1.4.3//src/gpasswd.c
  	           "  -r, --remove-password         remove the GROUP's password\n"
  	           "  -R, --restrict                restrict access to GROUP to its members\n"
  	           "  -M, --members USER,...        set the list of members of GROUP\n"
-@@ -226,6 +229,55 @@
+@@ -226,6 +229,57 @@
  }
  
  /*
@@ -68,23 +77,26 @@ diff -urN shadow-4.1.4.3.orig//src/gpasswd.c shadow-4.1.4.3//src/gpasswd.c
 +	/*
 +	 * Parse the command line options.
 +	 */
-+	int flag;
-+	int option_index = 0;
-+	static struct option long_options[] = {
-+		{"root", required_argument, NULL, 'Q'},
-+		{NULL, 0, NULL, '\0'}
-+	};
++	int i;
++        char *root;
 +
-+	while ((flag = getopt_long (argc, argv, "a:A:d:gM:Q:rR", long_options, &option_index)) != -1) {
-+		switch (flag) {
-+		case 'Q':
-+			if ('/' != optarg[0]) {
++        for (i = 0; i < argc; i++) {
++		if (!strcmp (argv[i], "--root") || !strcmp (argv[i], "-Q")) {
++			if (i + 1 == argc) {
++				fprintf (stderr,
++				         _("%s: option '%s' requires an argument\n"),
++				         Prog, argv[i]);
++				exit (E_BAD_ARG);
++			}
++			root = argv[i + 1];
++
++			if ('/' != root[0]) {
 +				fprintf (stderr,
 +				         _("%s: invalid chroot path '%s'\n"),
-+				         Prog, optarg);
++				         Prog, root);
 +				exit (E_BAD_ARG);
 +			}
-+			newroot = optarg;
++			newroot = root;
 +
 +			if (access (newroot, F_OK) != 0) {
 +				fprintf(stderr,
@@ -99,7 +111,6 @@ diff -urN shadow-4.1.4.3.orig//src/gpasswd.c shadow-4.1.4.3//src/gpasswd.c
 +				exit (E_BAD_ARG);
 +			}
 +			break;
-+		/* no-op on everything else - they will be hanled by process_flags() */
 +		}
 +	}
 +}
@@ -108,7 +119,7 @@ diff -urN shadow-4.1.4.3.orig//src/gpasswd.c shadow-4.1.4.3//src/gpasswd.c
   * process_flags - process the command line options and arguments
   */
  static void process_flags (int argc, char **argv)
-@@ -235,6 +287,7 @@
+@@ -235,6 +289,7 @@
  	static struct option long_options[] = {
  		{"add", required_argument, NULL, 'a'},
  		{"delete", required_argument, NULL, 'd'},
@@ -116,7 +127,7 @@ diff -urN shadow-4.1.4.3.orig//src/gpasswd.c shadow-4.1.4.3//src/gpasswd.c
  		{"remove-password", no_argument, NULL, 'r'},
  		{"restrict", no_argument, NULL, 'R'},
  		{"administrators", required_argument, NULL, 'A'},
-@@ -242,7 +295,7 @@
+@@ -242,7 +297,7 @@
  		{NULL, 0, NULL, '\0'}
  		};
  
@@ -125,7 +136,7 @@ diff -urN shadow-4.1.4.3.orig//src/gpasswd.c shadow-4.1.4.3//src/gpasswd.c
  		switch (flag) {
  		case 'a':	/* add a user */
  			aflg = true;
-@@ -283,6 +336,9 @@
+@@ -283,6 +338,9 @@
  			}
  			Mflg = true;
  			break;
@@ -135,7 +146,7 @@ diff -urN shadow-4.1.4.3.orig//src/gpasswd.c shadow-4.1.4.3//src/gpasswd.c
  		case 'r':	/* remove group password */
  			rflg = true;
  			break;
-@@ -995,6 +1051,8 @@
+@@ -995,6 +1053,8 @@
  	setbuf (stdout, NULL);
  	setbuf (stderr, NULL);
  
@@ -145,8 +156,8 @@ diff -urN shadow-4.1.4.3.orig//src/gpasswd.c shadow-4.1.4.3//src/gpasswd.c
  	is_shadowgrp = sgr_file_present ();
  #endif
 diff -urN shadow-4.1.4.3.orig//src/groupadd.c shadow-4.1.4.3//src/groupadd.c
---- shadow-4.1.4.3.orig//src/groupadd.c	2011-02-13 09:58:16.000000000 -0800
-+++ shadow-4.1.4.3//src/groupadd.c	2011-06-28 15:12:03.539504372 -0700
+--- shadow-4.1.4.3.orig//src/groupadd.c	2011-09-29 12:00:45.212000091 +0100
++++ shadow-4.1.4.3//src/groupadd.c	2011-09-29 11:59:28.386000092 +0100
 @@ -76,6 +76,7 @@
  static gid_t group_id;
  static /*@null@*/char *group_passwd;
@@ -208,8 +219,8 @@ diff -urN shadow-4.1.4.3.orig//src/groupadd.c shadow-4.1.4.3//src/groupadd.c
  			rflg = true;
  			break;
 diff -urN shadow-4.1.4.3.orig//src/groupdel.c shadow-4.1.4.3//src/groupdel.c
---- shadow-4.1.4.3.orig//src/groupdel.c	2011-02-13 09:58:16.000000000 -0800
-+++ shadow-4.1.4.3//src/groupdel.c	2011-06-28 15:12:03.539504372 -0700
+--- shadow-4.1.4.3.orig//src/groupdel.c	2011-09-29 12:00:45.212000091 +0100
++++ shadow-4.1.4.3//src/groupdel.c	2011-09-29 11:59:28.386000092 +0100
 @@ -36,6 +36,7 @@
  
  #include <ctype.h>
@@ -340,8 +351,8 @@ diff -urN shadow-4.1.4.3.orig//src/groupdel.c shadow-4.1.4.3//src/groupdel.c
  #ifdef USE_PAM
  	{
 diff -urN shadow-4.1.4.3.orig//src/groupmod.c shadow-4.1.4.3//src/groupmod.c
---- shadow-4.1.4.3.orig//src/groupmod.c	2011-02-13 09:58:16.000000000 -0800
-+++ shadow-4.1.4.3//src/groupmod.c	2011-06-28 15:12:03.539504372 -0700
+--- shadow-4.1.4.3.orig//src/groupmod.c	2011-09-29 12:00:45.212000091 +0100
++++ shadow-4.1.4.3//src/groupmod.c	2011-09-29 11:59:28.387000092 +0100
 @@ -79,6 +79,7 @@
  static char *group_passwd;
  static gid_t group_id;
@@ -401,8 +412,8 @@ diff -urN shadow-4.1.4.3.orig//src/groupmod.c shadow-4.1.4.3//src/groupmod.c
  			usage ();
  		}
 diff -urN shadow-4.1.4.3.orig//src/grpconv.c shadow-4.1.4.3//src/grpconv.c
---- shadow-4.1.4.3.orig//src/grpconv.c	2011-02-13 09:58:16.000000000 -0800
-+++ shadow-4.1.4.3//src/grpconv.c	2011-06-28 15:12:03.539504372 -0700
+--- shadow-4.1.4.3.orig//src/grpconv.c	2011-09-29 12:00:45.213000091 +0100
++++ shadow-4.1.4.3//src/grpconv.c	2011-09-29 11:59:28.387000092 +0100
 @@ -39,6 +39,7 @@
  
  #include <errno.h>
@@ -527,8 +538,8 @@ diff -urN shadow-4.1.4.3.orig//src/grpconv.c shadow-4.1.4.3//src/grpconv.c
  		fprintf (stderr,
  		         _("%s: cannot lock %s; try again later.\n"),
 diff -urN shadow-4.1.4.3.orig//src/grpunconv.c shadow-4.1.4.3//src/grpunconv.c
---- shadow-4.1.4.3.orig//src/grpunconv.c	2011-02-13 09:58:16.000000000 -0800
-+++ shadow-4.1.4.3//src/grpunconv.c	2011-06-28 15:12:03.539504372 -0700
+--- shadow-4.1.4.3.orig//src/grpunconv.c	2011-09-29 12:00:45.213000091 +0100
++++ shadow-4.1.4.3//src/grpunconv.c	2011-09-29 11:59:28.387000092 +0100
 @@ -43,6 +43,7 @@
  #include <stdlib.h>
  #include <string.h>
@@ -653,8 +664,8 @@ diff -urN shadow-4.1.4.3.orig//src/grpunconv.c shadow-4.1.4.3//src/grpunconv.c
  		exit (0);	/* no /etc/gshadow, nothing to do */
  	}
 diff -urN shadow-4.1.4.3.orig//src/passwd.c shadow-4.1.4.3//src/passwd.c
---- shadow-4.1.4.3.orig//src/passwd.c	2011-02-13 09:58:16.000000000 -0800
-+++ shadow-4.1.4.3//src/passwd.c	2011-06-28 15:12:03.539504372 -0700
+--- shadow-4.1.4.3.orig//src/passwd.c	2011-09-29 12:00:45.214000091 +0100
++++ shadow-4.1.4.3//src/passwd.c	2011-09-29 11:59:28.388000092 +0100
 @@ -75,6 +75,7 @@
  static char *name;		/* The name of user whose password is being changed */
  static char *myname;		/* The current user's name */
@@ -718,8 +729,8 @@ diff -urN shadow-4.1.4.3.orig//src/passwd.c shadow-4.1.4.3//src/passwd.c
  				/* -r repository (files|nis|nisplus) */
  				/* only "files" supported for now */
 diff -urN shadow-4.1.4.3.orig//src/pwconv.c shadow-4.1.4.3//src/pwconv.c
---- shadow-4.1.4.3.orig//src/pwconv.c	2011-02-13 09:58:16.000000000 -0800
-+++ shadow-4.1.4.3//src/pwconv.c	2011-06-28 15:12:03.539504372 -0700
+--- shadow-4.1.4.3.orig//src/pwconv.c	2011-09-29 12:00:45.214000091 +0100
++++ shadow-4.1.4.3//src/pwconv.c	2011-09-29 11:59:28.388000092 +0100
 @@ -59,6 +59,7 @@
  
  #include <errno.h>
@@ -847,8 +858,8 @@ diff -urN shadow-4.1.4.3.orig//src/pwconv.c shadow-4.1.4.3//src/pwconv.c
  		fprintf (stderr,
  		         _("%s: cannot lock %s; try again later.\n"),
 diff -urN shadow-4.1.4.3.orig//src/pwunconv.c shadow-4.1.4.3//src/pwunconv.c
---- shadow-4.1.4.3.orig//src/pwunconv.c	2011-02-13 09:58:16.000000000 -0800
-+++ shadow-4.1.4.3//src/pwunconv.c	2011-06-28 15:12:03.539504372 -0700
+--- shadow-4.1.4.3.orig//src/pwunconv.c	2011-09-29 12:00:45.214000091 +0100
++++ shadow-4.1.4.3//src/pwunconv.c	2011-09-29 11:59:28.388000092 +0100
 @@ -35,6 +35,7 @@
  #ident "$Id: pwunconv.c 2852 2009-04-30 21:44:35Z nekral-guest $"
  
@@ -969,8 +980,8 @@ diff -urN shadow-4.1.4.3.orig//src/pwunconv.c shadow-4.1.4.3//src/pwunconv.c
  		/* shadow not installed, do nothing */
  		exit (0);
 diff -urN shadow-4.1.4.3.orig//src/useradd.c shadow-4.1.4.3//src/useradd.c
---- shadow-4.1.4.3.orig//src/useradd.c	2011-02-13 09:58:16.000000000 -0800
-+++ shadow-4.1.4.3//src/useradd.c	2011-06-28 15:12:14.608787030 -0700
+--- shadow-4.1.4.3.orig//src/useradd.c	2011-09-29 12:00:45.215000091 +0100
++++ shadow-4.1.4.3//src/useradd.c	2011-09-29 11:59:28.520000092 +0100
 @@ -112,6 +112,7 @@
  #ifdef WITH_SELINUX
  static const char *user_selinux = "";
@@ -995,7 +1006,7 @@ diff -urN shadow-4.1.4.3.orig//src/useradd.c shadow-4.1.4.3//src/useradd.c
  	(void) fputs (_("  -r, --system                  create a system account\n"), stderr);
  	(void) fputs (_("  -s, --shell SHELL             login shell of the new account\n"), stderr);
  	(void) fputs (_("  -u, --uid UID                 user ID of the new account\n"), stderr);
-@@ -943,6 +946,59 @@
+@@ -943,6 +946,57 @@
  }
  
  /*
@@ -1011,27 +1022,26 @@ diff -urN shadow-4.1.4.3.orig//src/useradd.c shadow-4.1.4.3//src/useradd.c
 +	/*
 +	 * Parse the command line options.
 +	 */
-+	int c;
-+	static struct option long_options[] = {
-+		{"root", required_argument, NULL, 'R'},
-+		{NULL, 0, NULL, '\0'}
-+	};
-+	while ((c = getopt_long (argc, argv,
-+#ifdef WITH_SELINUX
-+	                         "b:c:d:De:f:g:G:k:K:lmMNop:R:rs:u:UZ:",
-+#else
-+	                         "b:c:d:De:f:g:G:k:K:lmMNop:R:rs:u:U",
-+#endif
-+	                         long_options, NULL)) != -1) {
-+		switch (c) {
-+		case 'R':
-+			if ('/' != optarg[0]) {
++	int i;
++        char *root;
++
++        for (i = 0; i < argc; i++) {
++		if (!strcmp (argv[i], "--root") || !strcmp (argv[i], "-R")) {
++			if (i + 1 == argc) {
++				fprintf (stderr,
++				         _("%s: option '%s' requires an argument\n"),
++				         Prog, argv[i]);
++				exit (E_BAD_ARG);
++			}
++			root = argv[i + 1];
++
++			if ('/' != root[0]) {
 +				fprintf (stderr,
 +				         _("%s: invalid chroot path '%s'\n"),
-+				         Prog, optarg);
++				         Prog, root);
 +				exit (E_BAD_ARG);
 +			}
-+			newroot = optarg;
++			newroot = root;
 +
 +			if (access (newroot, F_OK) != 0) {
 +				fprintf(stderr,
@@ -1046,7 +1056,6 @@ diff -urN shadow-4.1.4.3.orig//src/useradd.c shadow-4.1.4.3//src/useradd.c
 +				exit (E_BAD_ARG);
 +			}
 +			break;
-+		/* no-op on everything else - they will be hanled by process_flags() */
 +		}
 +	}
 +}
@@ -1055,7 +1064,7 @@ diff -urN shadow-4.1.4.3.orig//src/useradd.c shadow-4.1.4.3//src/useradd.c
   * process_flags - perform command line argument setting
   *
   *	process_flags() interprets the command line arguments and sets
-@@ -978,6 +1034,7 @@
+@@ -978,6 +1032,7 @@
  			{"no-user-group", no_argument, NULL, 'N'},
  			{"non-unique", no_argument, NULL, 'o'},
  			{"password", required_argument, NULL, 'p'},
@@ -1063,7 +1072,7 @@ diff -urN shadow-4.1.4.3.orig//src/useradd.c shadow-4.1.4.3//src/useradd.c
  			{"system", no_argument, NULL, 'r'},
  			{"shell", required_argument, NULL, 's'},
  #ifdef WITH_SELINUX
-@@ -989,9 +1046,9 @@
+@@ -989,9 +1044,9 @@
  		};
  		while ((c = getopt_long (argc, argv,
  #ifdef WITH_SELINUX
@@ -1075,7 +1084,7 @@ diff -urN shadow-4.1.4.3.orig//src/useradd.c shadow-4.1.4.3//src/useradd.c
  #endif
  		                         long_options, NULL)) != -1) {
  			switch (c) {
-@@ -1156,6 +1213,9 @@
+@@ -1156,6 +1211,9 @@
  				}
  				user_pass = optarg;
  				break;
@@ -1085,7 +1094,7 @@ diff -urN shadow-4.1.4.3.orig//src/useradd.c shadow-4.1.4.3//src/useradd.c
  			case 'r':
  				rflg = true;
  				break;
-@@ -1735,6 +1795,36 @@
+@@ -1735,6 +1793,36 @@
  	}
  }
  #endif
@@ -1122,7 +1131,7 @@ diff -urN shadow-4.1.4.3.orig//src/useradd.c shadow-4.1.4.3//src/useradd.c
  /*
   * create_home - create the user's home directory
   *
-@@ -1748,34 +1838,31 @@
+@@ -1748,34 +1836,31 @@
  #ifdef WITH_SELINUX
  		selinux_file_context (user_home);
  #endif
@@ -1175,7 +1184,7 @@ diff -urN shadow-4.1.4.3.orig//src/useradd.c shadow-4.1.4.3//src/useradd.c
  }
  
  /*
-@@ -1861,6 +1948,7 @@
+@@ -1861,6 +1946,7 @@
  	 */
  	user_groups[0] = (char *) 0;
  
@@ -1184,8 +1193,8 @@ diff -urN shadow-4.1.4.3.orig//src/useradd.c shadow-4.1.4.3//src/useradd.c
  	is_shadow_pwd = spw_file_present ();
  #ifdef SHADOWGRP
 diff -urN shadow-4.1.4.3.orig//src/userdel.c shadow-4.1.4.3//src/userdel.c
---- shadow-4.1.4.3.orig//src/userdel.c	2011-02-13 09:58:16.000000000 -0800
-+++ shadow-4.1.4.3//src/userdel.c	2011-06-28 15:12:03.549503721 -0700
+--- shadow-4.1.4.3.orig//src/userdel.c	2011-09-29 12:00:45.216000091 +0100
++++ shadow-4.1.4.3//src/userdel.c	2011-09-29 11:59:28.389000092 +0100
 @@ -79,6 +79,7 @@
  static char *user_name;
  static uid_t user_id;
@@ -1239,8 +1248,8 @@ diff -urN shadow-4.1.4.3.orig//src/userdel.c shadow-4.1.4.3//src/userdel.c
  				rflg = true;
  				break;
 diff -urN shadow-4.1.4.3.orig//src/usermod.c shadow-4.1.4.3//src/usermod.c
---- shadow-4.1.4.3.orig//src/usermod.c	2011-02-13 09:58:16.000000000 -0800
-+++ shadow-4.1.4.3//src/usermod.c	2011-06-28 15:12:03.549503721 -0700
+--- shadow-4.1.4.3.orig//src/usermod.c	2011-09-29 12:00:45.216000091 +0100
++++ shadow-4.1.4.3//src/usermod.c	2011-09-29 11:59:28.390000092 +0100
 @@ -110,6 +110,7 @@
  static long user_newinactive;
  static long sys_ngroups;
@@ -1265,7 +1274,7 @@ diff -urN shadow-4.1.4.3.orig//src/usermod.c shadow-4.1.4.3//src/usermod.c
  	         "  -s, --shell SHELL             new login shell for the user account\n"
  	         "  -u, --uid UID                 new UID for the user account\n"
  	         "  -U, --unlock                  unlock the user account\n"
-@@ -802,6 +805,60 @@
+@@ -802,6 +805,58 @@
  }
  
  /*
@@ -1281,28 +1290,27 @@ diff -urN shadow-4.1.4.3.orig//src/usermod.c shadow-4.1.4.3//src/usermod.c
 +	/*
 +	 * Parse the command line options.
 +	 */
-+	int c;
-+	static struct option long_options[] = {
-+		{"root", required_argument, NULL, 'R'},
-+		{NULL, 0, NULL, '\0'}
-+	};
-+	while ((c = getopt_long (argc, argv,
-+#ifdef WITH_SELINUX
-+                             "ac:d:e:f:g:G:hl:Lmop:R:s:u:UZ:",
-+#else
-+	                         "ac:d:e:f:g:G:hl:Lmop:R:s:u:U",
-+#endif
-+	                         long_options, NULL)) != -1) {
-+		switch (c) {
-+		case 'R':
-+			if (    (!VALID (optarg) ) 
-+				|| (   ('/' != optarg[0]) ) ) {
++	int i;
++        char *root;
++
++        for (i = 0; i < argc; i++) {
++		if (!strcmp (argv[i], "--root") || !strcmp (argv[i], "-R")) {
++			if (i + 1 == argc) {
++				fprintf (stderr,
++				         _("%s: option '%s' requires an argument\n"),
++				         Prog, argv[i]);
++				exit (E_BAD_ARG);
++			}
++			root = argv[i + 1];
++
++			if (    (!VALID (root) ) 
++				|| (   ('/' != root[0]) ) ) {
 +				fprintf (stderr,
 +				         _("%s: invalid chroot path '%s'\n"),
-+				         Prog, optarg);
++				         Prog, root);
 +				exit (E_BAD_ARG);
 +			}
-+			newroot = optarg;
++			newroot = root;
 +
 +			if (access (newroot, F_OK) != 0) {
 +				fprintf(stderr,
@@ -1317,7 +1325,6 @@ diff -urN shadow-4.1.4.3.orig//src/usermod.c shadow-4.1.4.3//src/usermod.c
 +				exit (E_BAD_ARG);
 +			}
 +			break;
-+		/* no-op on everything else - they will be hanled by process_flags() */
 +		}
 +	}
 +}
@@ -1326,7 +1333,7 @@ diff -urN shadow-4.1.4.3.orig//src/usermod.c shadow-4.1.4.3//src/usermod.c
   * process_flags - perform command line argument setting
   *
   *	process_flags() interprets the command line arguments and sets the
-@@ -895,6 +952,7 @@
+@@ -895,6 +950,7 @@
  			{"move-home", no_argument, NULL, 'm'},
  			{"non-unique", no_argument, NULL, 'o'},
  			{"password", required_argument, NULL, 'p'},
@@ -1334,7 +1341,7 @@ diff -urN shadow-4.1.4.3.orig//src/usermod.c shadow-4.1.4.3//src/usermod.c
  #ifdef WITH_SELINUX
  			{"selinux-user", required_argument, NULL, 'Z'},
  #endif
-@@ -905,9 +963,9 @@
+@@ -905,9 +961,9 @@
  		};
  		while ((c = getopt_long (argc, argv,
  #ifdef WITH_SELINUX
@@ -1346,7 +1353,7 @@ diff -urN shadow-4.1.4.3.orig//src/usermod.c shadow-4.1.4.3//src/usermod.c
  #endif
  			                 long_options, NULL)) != -1) {
  			switch (c) {
-@@ -999,6 +1057,9 @@
+@@ -999,6 +1055,9 @@
  				user_pass = optarg;
  				pflg = true;
  				break;
@@ -1356,7 +1363,7 @@ diff -urN shadow-4.1.4.3.orig//src/usermod.c shadow-4.1.4.3//src/usermod.c
  			case 's':
  				if (!VALID (optarg)) {
  					fprintf (stderr,
-@@ -1715,6 +1776,8 @@
+@@ -1715,6 +1774,8 @@
  
  	OPENLOG ("usermod");
  
-- 
Julian Pidancet




^ permalink raw reply related

* Re: Bringing an image from OE to OE-Core
From: Frans Meulenbroeks @ 2011-10-07  5:51 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer
In-Reply-To: <4E8CDF5C.7050008@intel.com>

[-- Attachment #1: Type: text/plain, Size: 3001 bytes --]

2011/10/6 Saul Wold <saul.wold@intel.com>

> On 10/05/2011 01:03 PM, Philip Balister wrote:
>
>> On 10/05/2011 03:35 PM, Khem Raj wrote:
>>
>>> On Wed, Oct 5, 2011 at 7:14 AM, Philip Balister<philip@balister.org>
>>> wrote:
>>>
>>>>
>>>> 1) I do not want rpm in the image. This would confuse my customer base.
>>>> 2) I am tired of dropbear, I want openssh only.
>>>> 3) I need the full versions of tools, not the busybox ones.
>>>> 4) I am not limited to gpv2 software.
>>>>
>>>> Richard, it looks to me like we should add an item for the next Yocto
>>>> development cycle to review how images are built and try to make the
>>>> base
>>>> stuff in oe-core more usable by everyone. We need to define what
>>>> choices are
>>>> made by distros. For example opkg, rpm, no package management in image.
>>>> Images may want dropbear or openssh.
>>>>
>>>> Short term, I think I'll copy the tasks/images into my bsp and get some
>>>> stuff together for testing. I'd like a better long term solution though.
>>>>
>>>
>>> There always will be customizations needed. But we can strive for
>>> better basic blocks
>>>
>>
>> Sure. The immediate things I noticed are rpm being installed and lack of
>> a way to chose between dropbear/openssh.
>>
>> I think it is worth having a conversation to find out if when can make
>> it easier for users to create images, with a small number of knobs to
>> turn.
>>
>>  I agree, your 4 items above make sense and we could create a set of tasks
> that can be use it as building blocks, I think that task-core-basic could be
> a starting point for that.
>
> We did work to enable the selection of either openssh/dropbear but at an
> IMAGE_FEATURE level, not as a DISTRO_FEATURE or virtual.
>
> Let's see what you come up with for your tasks and we can go from there.
>
> Thanks
> Sau!
>
> The usability of tasks in general greatly depends on the use case you are
in.
To give an idea of our use case.
We make embedded systems to which the user only can interact in a specified
way. No online upgrading of packages let alone installing new ones (actually
some of the boards do not even have a network interface).
As we are limited on flash space our images are hand crafted, only to
contain those packages that we really need.
Wrt kernel: we hardly use modules, almost everything is configured into the
kernel (as we exactly know our hardware).

Then again if you have more space and or need to be more flexible tasks
definitely can have their merits. (especially when mapping machine features
to kernel modules etc).

For the specific case with dropbear.
OE classic task-base.bb contained
DISTRO_SSH_DAEMON ?= "dropbear"
and then used the variable in the image list
OE classic task-poky.bb hardcoded dropbear.

Personally I don't really see too much value in having the package in a var.
It is more work to type ${DISTRO_SSH_DAEMON} in the IMAGE-INSTALL than it is
to type dropbear or openssh.

Frans

[-- Attachment #2: Type: text/html, Size: 3821 bytes --]

^ permalink raw reply

* [PATCH] task-core-basic: Drop hal dependency, its deprecated
From: Richard Purdie @ 2011-10-07 10:19 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/recipes-extended/tasks/task-core-basic.bb b/meta/recipes-extended/tasks/task-core-basic.bb
index e2a37d1..8bab0db 100644
--- a/meta/recipes-extended/tasks/task-core-basic.bb
+++ b/meta/recipes-extended/tasks/task-core-basic.bb
@@ -3,7 +3,7 @@
 #
 
 DESCRIPTION = "Create Basic Image Tasks"
-PR = "r3"
+PR = "r4"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
                     file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
@@ -140,7 +140,6 @@ RDEPENDS_task-core-sys-services = "\
     python-dbus \
     elfutils \
     gzip \
-    hal \
     less \
     libcap \
     libevent \





^ permalink raw reply related

* [PATCH] connman: Drop hal dependency and udev configure option, neither is used
From: Richard Purdie @ 2011-10-07 10:19 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc
index a72c34a..ae1b725 100644
--- a/meta/recipes-connectivity/connman/connman.inc
+++ b/meta/recipes-connectivity/connman/connman.inc
@@ -13,7 +13,7 @@ LICENSE  = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \
                     file://src/main.c;beginline=1;endline=20;md5=4b55b550fa6b33cc2055ef30dd262b3e"
 
-DEPENDS  = "libgdbus dbus glib-2.0 hal iptables"
+DEPENDS  = "libgdbus dbus glib-2.0 iptables"
 
 INITSCRIPT_NAME = "connman"
 INITSCRIPT_PARAMS = "start 05 5 2 3 . stop 22 0 1 6 ."
diff --git a/meta/recipes-connectivity/connman/connman_0.75.bb b/meta/recipes-connectivity/connman/connman_0.75.bb
index 5a7b284..4c25fcc 100644
--- a/meta/recipes-connectivity/connman/connman_0.75.bb
+++ b/meta/recipes-connectivity/connman/connman_0.75.bb
@@ -13,7 +13,6 @@ EXTRA_OECONF += "\
   --enable-dnsproxy \
   --disable-dhclient \
   --enable-test \
-  --disable-udev \
   --disable-polkit \
   --enable-client \
   --enable-ofono \





^ permalink raw reply related

* [PATCH] libc-package.bbclass: Use a makefile for locale gernation to increase parallelization
From: Richard Purdie @ 2011-10-07 12:29 UTC (permalink / raw)
  To: openembedded-core

We can generate the locales in parallel. The easiest way to do this is
generate a Makefile and then run this with our usual parallel make
options.

[YOCTO #1554]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass
index 71a577b..6ef2f97 100644
--- a/meta/classes/libc-package.bbclass
+++ b/meta/classes/libc-package.bbclass
@@ -252,6 +252,8 @@ python package_do_split_gconvs () {
 		rprovides.append(legitimize_package_name('%s-binary-localedata-%s' % (bpn, libc_name)))
 		bb.data.setVar('RPROVIDES_%s' % pkgname, " ".join(rprovides), d)
 
+	commands = {}
+
 	def output_locale_binary(name, pkgname, locale, encoding):
 		treedir = base_path_join(bb.data.getVar("WORKDIR", d, 1), "locale-tree")
 		ldlibdir = base_path_join(treedir, bb.data.getVar("base_libdir", d, 1))
@@ -298,17 +300,9 @@ python package_do_split_gconvs () {
 				-E LD_LIBRARY_PATH=%s %s %s/bin/localedef %s" % \
 				(path, i18npath, qemu, treedir, ldlibdir, qemu_options, treedir, localedef_opts)
 
+		commands["%s/%s" % (outputpath, name)] = cmd
+
 		bb.note("generating locale %s (%s)" % (locale, encoding))
-		import subprocess
-		process = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
-		if process.wait() != 0:
-			bb.note("cmd:")
-			bb.note(cmd)
-			bb.note("stdout:")
-			bb.note(process.stdout.read())
-			bb.note("stderr:")
-			bb.note(process.stderr.read())
-			raise bb.build.FuncFailed("localedef returned an error")
 
 	def output_locale(name, locale, encoding):
 		pkgname = bb.data.getVar('MLPREFIX', d) + 'locale-base-' + legitimize_package_name(name)
@@ -353,6 +347,17 @@ python package_do_split_gconvs () {
 		bb.note("  " + " ".join(non_utf8))
 
 	if use_bin == "compile":
+		makefile = base_path_join(bb.data.getVar("WORKDIR", d, 1), "locale-tree", "Makefile")
+		m = open(makefile, "w")
+		m.write("all: %s\n\n" % " ".join(commands.keys()))
+		for cmd in commands:
+			m.write(cmd + ":\n")
+			m.write("	" + commands[cmd] + "\n\n")
+		m.close()
+		d.setVar("B", os.path.dirname(makefile))
+		d.setVar("EXTRA_OEMAKE", "${PARALLEL_MAKE}")
+		bb.note("Executing binary locale generation makefile")
+		bb.build.exec_func("oe_runmake", d)
 		bb.note("collecting binary locales from locale tree")
 		bb.build.exec_func("do_collect_bins_from_locale_tree", d)
 		do_split_packages(d, binary_locales_dir, file_regex='(.*)', \





^ permalink raw reply related

* [PATCH] qt-demo-init/linux-firmware/adt-installer: Convert to Use allarch class file
From: Richard Purdie @ 2011-10-07 13:06 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/recipes-devtools/installer/adt-installer_1.0.bb b/meta/recipes-devtools/installer/adt-installer_1.0.bb
index 74e1b9f..53911b8 100644
--- a/meta/recipes-devtools/installer/adt-installer_1.0.bb
+++ b/meta/recipes-devtools/installer/adt-installer_1.0.bb
@@ -29,7 +29,6 @@ LICENSE = "MIT"
 ALLOW_EMPTY = "1"
 
 PACKAGES = ""
-PACKAGE_ARCH = "all"
 
 PR = "r4"
 
@@ -38,7 +37,7 @@ ADT_DIR = "${WORKDIR}/adt-installer/"
 YOCTOADT_VERSION = "${SDK_VERSION}"
 S = "${WORKDIR}/trunk"
 
-inherit deploy
+inherit deploy allarch
 
 SRCREV = "596"
 PV = "0.1.8+svnr${SRCPV}"
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
index 660877e..86d60b4 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
@@ -30,6 +30,8 @@ SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.gi
 
 S = "${WORKDIR}/git"
 
+inherit allarch
+
 do_compile() {
 	:
 }
@@ -78,4 +80,3 @@ FILES_${PN}-rtl8192su = " \
 "
 RPROVIDES_${PN}-rtl8192su = "${PN}-rtl8192su"
 
-PACKAGE_ARCH = "all"
diff --git a/meta/recipes-qt/qt-demo/qt-demo-init_0.1.bb b/meta/recipes-qt/qt-demo/qt-demo-init_0.1.bb
index 0f089ad..6cd3e17 100644
--- a/meta/recipes-qt/qt-demo/qt-demo-init_0.1.bb
+++ b/meta/recipes-qt/qt-demo/qt-demo-init_0.1.bb
@@ -6,14 +6,12 @@ PR = "r3"
 LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
                     file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 
-PACKAGE_ARCH = "all"
-
 do_install() {
 	install -d ${D}${sysconfdir}/init.d/
 	install -m 0755 ${WORKDIR}/qtdemo-init ${D}${sysconfdir}/init.d/qtdemo
 }
 
-inherit update-rc.d
+inherit update-rc.d allarch
 
 INITSCRIPT_NAME = "qtdemo"
 INITSCRIPT_PARAMS = "start 99 5 2 . stop 19 0 1 6 ."





^ permalink raw reply related


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox