* [PATCH 1/7] busybox: don't strip the main binary
2011-08-11 18:23 [PATCH 0/7] Miscellaneous fixes Christopher Larson
@ 2011-08-11 18:23 ` Christopher Larson
2011-08-11 18:23 ` [PATCH 2/7] insane: add linux-gnu to the platform data Christopher Larson
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Christopher Larson @ 2011-08-11 18:23 UTC (permalink / raw)
To: openembedded-core; +Cc: Chris Larson
From: Chris Larson <chris_larson@mentor.com>
With this, we get a useful busybox-dbg package.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
---
meta/recipes-core/busybox/busybox.inc | 3 ++-
meta/recipes-core/busybox/busybox_1.18.4.bb | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
index 5eba0ca..d46c135 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -120,7 +120,8 @@ do_configure () {
do_compile() {
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
- base_do_compile
+ oe_runmake busybox_unstripped
+ cp busybox_unstripped busybox
}
do_install () {
diff --git a/meta/recipes-core/busybox/busybox_1.18.4.bb b/meta/recipes-core/busybox/busybox_1.18.4.bb
index d18af6f..b4681a4 100644
--- a/meta/recipes-core/busybox/busybox_1.18.4.bb
+++ b/meta/recipes-core/busybox/busybox_1.18.4.bb
@@ -1,5 +1,5 @@
require busybox.inc
-PR = "r7"
+PR = "r8"
SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
file://udhcpscript.patch \
--
1.7.4.1
^ permalink raw reply related [flat|nested] 10+ messages in thread* [PATCH 2/7] insane: add linux-gnu to the platform data
2011-08-11 18:23 [PATCH 0/7] Miscellaneous fixes Christopher Larson
2011-08-11 18:23 ` [PATCH 1/7] busybox: don't strip the main binary Christopher Larson
@ 2011-08-11 18:23 ` Christopher Larson
2011-08-11 18:23 ` [PATCH 3/7] nativesdk: inherit relocatable Christopher Larson
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Christopher Larson @ 2011-08-11 18:23 UTC (permalink / raw)
To: openembedded-core; +Cc: Chris Larson
From: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
---
meta/classes/insane.bbclass | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 0267fad..a660a06 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -80,6 +80,9 @@ def package_qa_get_machine_dict():
"arm" : (40, 0, 0, True, 32),
"armeb" : (40, 0, 0, False, 32),
},
+ "linux-gnu" : {
+ "powerpc": (20, 0, 0, False, 32),
+ },
"linux-gnuspe" : {
"powerpc": (20, 0, 0, False, 32),
},
--
1.7.4.1
^ permalink raw reply related [flat|nested] 10+ messages in thread* [PATCH 3/7] nativesdk: inherit relocatable
2011-08-11 18:23 [PATCH 0/7] Miscellaneous fixes Christopher Larson
2011-08-11 18:23 ` [PATCH 1/7] busybox: don't strip the main binary Christopher Larson
2011-08-11 18:23 ` [PATCH 2/7] insane: add linux-gnu to the platform data Christopher Larson
@ 2011-08-11 18:23 ` Christopher Larson
2011-08-11 18:23 ` [PATCH 4/7] sanity: shift the required utils into a variable Christopher Larson
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Christopher Larson @ 2011-08-11 18:23 UTC (permalink / raw)
To: openembedded-core; +Cc: Chris Larson
From: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
---
meta/classes/nativesdk.bbclass | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass
index 152d053..a495555 100644
--- a/meta/classes/nativesdk.bbclass
+++ b/meta/classes/nativesdk.bbclass
@@ -1,3 +1,5 @@
+inherit relocatable
+
# SDK packages are built either explicitly by the user,
# or indirectly via dependency. No need to be in 'world'.
EXCLUDE_FROM_WORLD = "1"
--
1.7.4.1
^ permalink raw reply related [flat|nested] 10+ messages in thread* [PATCH 4/7] sanity: shift the required utils into a variable
2011-08-11 18:23 [PATCH 0/7] Miscellaneous fixes Christopher Larson
` (2 preceding siblings ...)
2011-08-11 18:23 ` [PATCH 3/7] nativesdk: inherit relocatable Christopher Larson
@ 2011-08-11 18:23 ` Christopher Larson
2011-08-11 18:23 ` [PATCH 5/7] package: include SECTION in the pkgdata Christopher Larson
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Christopher Larson @ 2011-08-11 18:23 UTC (permalink / raw)
To: openembedded-core; +Cc: Chris Larson
From: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
---
meta/classes/sanity.bbclass | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 999e15d..d50c843 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -2,6 +2,8 @@
# Sanity check the users setup for common misconfigurations
#
+SANITY_REQUIRED_UTILITIES ?= "patch diffstat texi2html makeinfo cvs svn bzip2 tar gzip gawk chrpath wget cpio"
+
def raise_sanity_error(msg):
bb.fatal(""" Poky's config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
@@ -213,7 +215,7 @@ def check_sanity(e):
if not check_app_exists('${BUILD_PREFIX}g++', e.data):
missing = missing + "C++ Compiler (%sg++)," % data.getVar("BUILD_PREFIX", e.data, True)
- required_utilities = "patch diffstat texi2html makeinfo cvs svn bzip2 tar gzip gawk chrpath wget cpio"
+ required_utilities = e.data.getVar('SANITY_REQUIRED_UTILITIES', True)
if "qemu-native" in assume_provided:
if not check_app_exists("qemu-arm", e.data):
--
1.7.4.1
^ permalink raw reply related [flat|nested] 10+ messages in thread* [PATCH 5/7] package: include SECTION in the pkgdata
2011-08-11 18:23 [PATCH 0/7] Miscellaneous fixes Christopher Larson
` (3 preceding siblings ...)
2011-08-11 18:23 ` [PATCH 4/7] sanity: shift the required utils into a variable Christopher Larson
@ 2011-08-11 18:23 ` Christopher Larson
2011-08-11 18:23 ` [PATCH 6/7] package: allow setting a section for locale packages Christopher Larson
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Christopher Larson @ 2011-08-11 18:23 UTC (permalink / raw)
To: openembedded-core; +Cc: Chris Larson
From: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
---
meta/classes/package.bbclass | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index bb0ba68..0a954ef 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1051,6 +1051,7 @@ python emit_pkgdata() {
write_if_exists(sf, pkg, 'RSUGGESTS')
write_if_exists(sf, pkg, 'RREPLACES')
write_if_exists(sf, pkg, 'RCONFLICTS')
+ write_if_exists(sf, pkg, 'SECTION')
write_if_exists(sf, pkg, 'PKG')
write_if_exists(sf, pkg, 'ALLOW_EMPTY')
write_if_exists(sf, pkg, 'FILES')
--
1.7.4.1
^ permalink raw reply related [flat|nested] 10+ messages in thread* [PATCH 6/7] package: allow setting a section for locale packages
2011-08-11 18:23 [PATCH 0/7] Miscellaneous fixes Christopher Larson
` (4 preceding siblings ...)
2011-08-11 18:23 ` [PATCH 5/7] package: include SECTION in the pkgdata Christopher Larson
@ 2011-08-11 18:23 ` Christopher Larson
2011-08-11 18:23 ` [PATCH 7/7] cross: also empty PACKAGES_DYNAMIC Christopher Larson
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Christopher Larson @ 2011-08-11 18:23 UTC (permalink / raw)
To: openembedded-core; +Cc: Chris Larson
From: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
---
meta/classes/package.bbclass | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 0a954ef..100f465 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -44,6 +44,8 @@ inherit prserv
PKGD = "${WORKDIR}/package"
PKGDEST = "${WORKDIR}/packages-split"
+LOCALE_SECTION ?= ''
+
# rpm is used for the per-file dependency identification
PACKAGE_DEPENDS += "rpm-native"
@@ -401,6 +403,7 @@ python package_do_split_locales() {
summary = bb.data.getVar('SUMMARY', d, True) or pn
description = bb.data.getVar('DESCRIPTION', d, True) or ""
+ locale_section = bb.data.getVar('LOCALE_SECTION', d, True)
for l in locales:
ln = legitimize_package_name(l)
pkg = pn + '-locale-' + ln
@@ -410,6 +413,8 @@ python package_do_split_locales() {
bb.data.setVar('RPROVIDES_' + pkg, '%s-locale %s-translation' % (pn, ln), d)
bb.data.setVar('SUMMARY_' + pkg, '%s - %s translations' % (summary, l), d)
bb.data.setVar('DESCRIPTION_' + pkg, '%s This package contains language translation files for the %s locale.' % (description, l), d)
+ if locale_section:
+ bb.data.setVar('SECTION_' + pkg, locale_section, d)
bb.data.setVar('PACKAGES', ' '.join(packages), d)
--
1.7.4.1
^ permalink raw reply related [flat|nested] 10+ messages in thread* [PATCH 7/7] cross: also empty PACKAGES_DYNAMIC
2011-08-11 18:23 [PATCH 0/7] Miscellaneous fixes Christopher Larson
` (5 preceding siblings ...)
2011-08-11 18:23 ` [PATCH 6/7] package: allow setting a section for locale packages Christopher Larson
@ 2011-08-11 18:23 ` Christopher Larson
2011-08-11 18:44 ` [PATCH 0/7] Miscellaneous fixes Chris Larson
2011-08-12 17:55 ` Saul Wold
8 siblings, 0 replies; 10+ messages in thread
From: Christopher Larson @ 2011-08-11 18:23 UTC (permalink / raw)
To: openembedded-core; +Cc: Chris Larson
From: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
---
meta/classes/cross.bbclass | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass
index 519aa0d..5681ab9 100644
--- a/meta/classes/cross.bbclass
+++ b/meta/classes/cross.bbclass
@@ -5,6 +5,8 @@ inherit relocatable
EXCLUDE_FROM_WORLD = "1"
PACKAGES = ""
+PACKAGES_DYNAMIC = ""
+PACKAGES_DYNAMIC_virtclass-native = ""
HOST_ARCH = "${BUILD_ARCH}"
HOST_VENDOR = "${BUILD_VENDOR}"
--
1.7.4.1
^ permalink raw reply related [flat|nested] 10+ messages in thread* Re: [PATCH 0/7] Miscellaneous fixes
2011-08-11 18:23 [PATCH 0/7] Miscellaneous fixes Christopher Larson
` (6 preceding siblings ...)
2011-08-11 18:23 ` [PATCH 7/7] cross: also empty PACKAGES_DYNAMIC Christopher Larson
@ 2011-08-11 18:44 ` Chris Larson
2011-08-12 17:55 ` Saul Wold
8 siblings, 0 replies; 10+ messages in thread
From: Chris Larson @ 2011-08-11 18:44 UTC (permalink / raw)
To: openembedded-core; +Cc: Chris Larson
On Thu, Aug 11, 2011 at 11:23 AM, Christopher Larson <kergoth@gmail.com> wrote:
>
> are available in the git repository at:
> github:kergoth/oe-core misc-fixes
Erm, forgot to adjust this before sending, the url is
git://github.com/kergoth/oe-core (I use url insteadOf/pushInsteadOf in
.gitconfig to use the above url).
--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [PATCH 0/7] Miscellaneous fixes
2011-08-11 18:23 [PATCH 0/7] Miscellaneous fixes Christopher Larson
` (7 preceding siblings ...)
2011-08-11 18:44 ` [PATCH 0/7] Miscellaneous fixes Chris Larson
@ 2011-08-12 17:55 ` Saul Wold
8 siblings, 0 replies; 10+ messages in thread
From: Saul Wold @ 2011-08-12 17:55 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: Chris Larson
On 08/11/2011 11:23 AM, Christopher Larson wrote:
> From: Chris Larson<chris_larson@mentor.com>
>
> A variety of unrelated fixes I've had local for a while.
>
> The following changes since commit a752b23767189f2678367e47ca0b41f49c56a631:
>
> sstate: Add level 2 debug so its possible to see what sstate is doing (2011-08-11 17:19:51 +0100)
>
> are available in the git repository at:
> github:kergoth/oe-core misc-fixes
>
> go here for github's branch comparison interface:
> https://github.com/kergoth/oe-core/compare/master...misc-fixes
>
> Chris Larson (7):
> busybox: don't strip the main binary
> insane: add linux-gnu to the platform data
> nativesdk: inherit relocatable
> sanity: shift the required utils into a variable
> package: include SECTION in the pkgdata
> package: allow setting a section for locale packages
> cross: also empty PACKAGES_DYNAMIC
>
> meta/classes/cross.bbclass | 2 ++
> meta/classes/insane.bbclass | 3 +++
> meta/classes/nativesdk.bbclass | 2 ++
> meta/classes/package.bbclass | 6 ++++++
> meta/classes/sanity.bbclass | 4 +++-
> meta/recipes-core/busybox/busybox.inc | 3 ++-
> meta/recipes-core/busybox/busybox_1.18.4.bb | 2 +-
> 7 files changed, 19 insertions(+), 3 deletions(-)
>
Merged into OE-Core
Thanks
Sau!
^ permalink raw reply [flat|nested] 10+ messages in thread