[Angstrom-devel] [meta-angstrom][PATCH] angstrom-feed-configs.bb: don't replace opkg-collateral

2015-09-29 Thread Max Krummenacher
opkg-collateral no longer exists in oe-core but the opkg recipe now
provides opkg.conf and RCONFLICTS, RREPLACES, RPROVIDES opkg-collateral.
http://cgit.openembedded.org/openembedded-core/commit/meta/recipes-devtools/opkg?id=e8879cd1ec8914815c7a78f1d9b296b0e2b30fcf

When angstrom-feed-configs also RCONFLICTS, RREPLACES, RPROVIDES
opkg-collateral this results in the opkg package being removed during
do_rootfs.
With the missing opkg run_postinstall then fails to run postinstall scripts.

Signed-off-by: Max Krummenacher 
---
 recipes-angstrom/angstrom/angstrom-feed-configs.bb | 5 -
 1 file changed, 5 deletions(-)

diff --git a/recipes-angstrom/angstrom/angstrom-feed-configs.bb 
b/recipes-angstrom/angstrom/angstrom-feed-configs.bb
index 6c92e31..5fb8972 100644
--- a/recipes-angstrom/angstrom/angstrom-feed-configs.bb
+++ b/recipes-angstrom/angstrom/angstrom-feed-configs.bb
@@ -59,11 +59,6 @@ CONFFILES_${PN} += "${sysconfdir}/opkg/base-feed.conf \
${sysconfdir}/opkg/sdk-feed.conf \
"
 
-# Get rid of opkg-collateral
-RCONFLICTS_${PN} = "opkg-collateral"
-RREPLACES_${PN} = "opkg-collateral"
-RPROVIDES_${PN} = "opkg-collateral"
-
 RRECOMMENDS_${PN} += "opkg"
 
 python populate_packages_prepend () {
-- 
1.8.4.5


___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


[Angstrom-devel] [meta-angstrom][RFC 0/1] angstrom.conf: arm: use compatible glibc and glibc-locale

2015-09-29 Thread Max Krummenacher
Hi

For arm angstrom master uses glibc linaro 2.20 while oe-core master uses
glibc 2.22.
The locale generation uses the oe-core 2.22 version. So the resulting
glibc and locales do not match in version with runtime issues in the
image.
The following post fosters that clain:
https://lists.gnu.org/archive/html/guix-devel/2015-08/msg00737.html

One solution would be to drop linaro 2.20 in favour of the oe-core glibc as
shown in the attached patch until a linaro 2.22 release is available.
Another would be to port the oe-core locale generation to also use the
linaro 2.20 glibc sources.

Any comments?

Regards
Max

Max Krummenacher (1):
  angstrom.conf: arm: use compatible glibc and glibc-locale

 conf/distro/angstrom.conf | 2 --
 1 file changed, 2 deletions(-)

-- 
1.8.4.5


___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


[Angstrom-devel] [meta-angstrom][RFC 1/1] angstrom.conf: arm: use compatible glibc and glibc-locale

2015-09-29 Thread Max Krummenacher
oe-core moved to glibc and cross-localedef-native based on version 2.22.
Angstrom currently uses linaro glibc in version 2.20 for arm.
This leads to incompatible locales. They cause exeptions or hangs. e.g.:

root@colibri-imx6:~# sh -c "LANG=en_US"
sh: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof
(_nl_value_type_LC_COLLATE) / sizeof (_nl_value_type_LC_COLLATE[0]))'
failed.
Aborted

root@colibri-imx6:~# localectl status
^C

Signed-off-by: Max Krummenacher 
---
 conf/distro/angstrom.conf | 2 --
 1 file changed, 2 deletions(-)

diff --git a/conf/distro/angstrom.conf b/conf/distro/angstrom.conf
index 330aebd..680bbd1 100644
--- a/conf/distro/angstrom.conf
+++ b/conf/distro/angstrom.conf
@@ -58,12 +58,10 @@ ANGSTROM_GDB_VERSION ?= "7.9%"
 #use Linaro tools for ARM
 ANGSTROM_GCC_VERSION_arm ?= "linaro-4.9%"
 ANGSTROM_BINUTILS_VERSION_arm?= "linaro-%"
-GLIBCVERSION_arm ?= "linaro-2.2%"
 ANGSTROM_GDB_VERSION_arm ?= "linaro-%"
 ANGSTROM_GCC_VERSION_aarch64 ?= "linaro-4.9%"
 ANGSTROM_BINUTILS_VERSION_aarch64?= "linaro-%"
 ANGSTROM_GDB_VERSION_aarch64 ?= "linaro-%"
-GLIBCVERSION_aarch64 ?= "linaro-2.2%"
 PREFERRED_VERSION_cross-localedef-native ?= "2.2%"
 
 ANGSTROM_QEMU_VERSION?= "2%"
-- 
1.8.4.5


___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel


Re: [Angstrom-devel] [meta-angstrom][PATCH] angstrom-feed-configs.bb: don't replace opkg-collateral

2015-09-29 Thread Koen Kooi

> Op 29 sep. 2015, om 22:38 heeft Max Krummenacher  het 
> volgende geschreven:
> 
> opkg-collateral no longer exists in oe-core but the opkg recipe now
> provides opkg.conf and RCONFLICTS, RREPLACES, RPROVIDES opkg-collateral.
> http://cgit.openembedded.org/openembedded-core/commit/meta/recipes-devtools/opkg?id=e8879cd1ec8914815c7a78f1d9b296b0e2b30fcf
> 
> When angstrom-feed-configs also RCONFLICTS, RREPLACES, RPROVIDES
> opkg-collateral this results in the opkg package being removed during
> do_rootfs.
> With the missing opkg run_postinstall then fails to run postinstall scripts.
> 
> Signed-off-by: Max Krummenacher 


Applied to master and v2015.06, thanks!
___
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel