Re: [OE-core] [PATCH 0/1] scripts: Add cleanup-downloads-dir tool

2015-06-16 Thread Laurentiu Palcu
Hi Ross, On Mon, Jun 15, 2015 at 11:38:01PM +0100, Burton, Ross wrote: On 12 June 2015 at 13:15, Laurentiu Palcu laurentiu.pa...@intel.com wrote: A few days ago I noticed I had no space on disk and decided to make some space. Since my downloads directory was never deleted since

[OE-core] [PATCH 0/1] scripts: Add cleanup-downloads-dir tool

2015-06-12 Thread Laurentiu Palcu
you to give it a test. Don't worry, it will not delete anything unless you allow it and you can review the list of files to be removed. If you see anything suspicious, let me know. laurentiu Laurentiu Palcu (1): scripts: Add cleanup-downloads-dir tool scripts/cleanup-downloads-dir | 158

[OE-core] [PATCH 1/1] scripts: Add cleanup-downloads-dir tool

2015-06-12 Thread Laurentiu Palcu
. :) Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- scripts/cleanup-downloads-dir | 158 ++ 1 file changed, 158 insertions(+) create mode 100755 scripts/cleanup-downloads-dir diff --git a/scripts/cleanup-downloads-dir b/scripts/cleanup-downloads

Re: [OE-core] [RFC] kernel: Enable externalsrc on kernels which instantiate kernel.bbclass

2014-12-03 Thread Laurentiu Palcu
Hi Paul, On Wed, Dec 03, 2014 at 12:00:31PM +, Paul Eggleton wrote: On Monday 22 September 2014 13:04:47 Bruce Ashfield wrote: On 14-09-22 01:03 PM, Khem Raj wrote: On Mon, Sep 22, 2014 at 8:27 AM, Bruce Ashfield bruce.ashfi...@windriver.com wrote: But the reports we've been

Re: [OE-core] struct.error: unpack requires a string argument of length 32 in Yocto

2014-11-05 Thread Laurentiu Palcu
Hi Wilder, On Tue, Nov 04, 2014 at 07:02:04PM +, Wilder wrote: Hi Laurentiu I am a student from Mexico, and we are using Yocto to build our images, however there is a unique error that is bothering me while trying to set up the environment to build an image with sdk, I am not so

Re: [OE-core] [PATCH 1/1] package_manager.py: fix rpm based do_rootfs failed while IMAGE_INSTALL_append = python3

2014-10-31 Thread Laurentiu Palcu
On Fri, Oct 31, 2014 at 03:05:58PM +0800, Hongxu Jia wrote: While a pkg name (such as python3) not existed in variable PACKAGES, but provided by another pkg (such as python-core), in this situation, rpm based do_rootfs could not search it in the feeds. The fix is to invoke 'smart query

Re: [OE-core] [PATCH] image.py: Fix error in graph sorting

2014-10-24 Thread Laurentiu Palcu
. This fixes this by splitting up the string into chunks. Signed-off-by: Pascal Bach pascal.b...@siemens.com Reviewed-by: Laurentiu Palcu laurentiu.pa...@intel.com --- meta/lib/oe/image.py |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oe/image.py b/meta/lib/oe

Re: [OE-core] [PATCH 2/8] lttng-modules: update to 2.5.0

2014-08-12 Thread Laurentiu Palcu
Hi Martin, On Tue, Aug 12, 2014 at 01:33:05PM +0200, Martin Jansa wrote: Sorry I thought you're maintainer of lttng-*, it seems like Laurentiu is No worries. I just get caught in the blast when lttng blows up during kernel uprevs, and I fix the wreckage so I can send out my updates :)

Re: [OE-core] [PATCH] populate_sdk_base: add auto-completion in setup

2014-06-17 Thread Laurentiu Palcu
On Tue, Jun 17, 2014 at 03:16:53PM +0200, Dennis Meier wrote: Signed-off-by: Dennis Meier meier.den...@siemens.com --- meta/classes/populate_sdk_base.bbclass |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/classes/populate_sdk_base.bbclass

Re: [OE-core] [PATCH] relocate_sdk.py: fix lib path error

2014-06-12 Thread Laurentiu Palcu
On Thu, Jun 12, 2014 at 06:14:46PM +0800, yzhu1 wrote: On 06/06/2014 08:22 PM, Khem Raj wrote: On Friday, June 6, 2014, rongqing...@windriver.com wrote: From: yzhu1 yanjun@windriver.com In centos 5.9 32bit, ld lib does not contain some flags, so ld

[OE-core] [PATCH 0/1] adt_installer: run autoreconf before configuring opkg

2014-05-12 Thread Laurentiu Palcu
://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=lpalcu/b6293_adt_installer_issue Laurentiu Palcu (1): adt_installer: run autoreconf before configuring opkg .../installer/adt-installer/adt_installer |1 + 1 file changed, 1 insertion(+) -- 1.7.9.5

[OE-core] [PATCH 1/1] adt_installer: run autoreconf before configuring opkg

2014-05-12 Thread Laurentiu Palcu
opkg fails to build on hosts with older autotools versions. [YOCTO #6293] Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- .../installer/adt-installer/adt_installer |1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/installer/adt-installer

[OE-core] [PATCH 00/12] package upgrades

2014-04-29 Thread Laurentiu Palcu
://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=lpalcu/upgrades Laurentiu Palcu (12): xf86-input-synaptics: upgrade to 1.7.4 libdrm: upgrade to 2.4.53 xserver-xorg: upgrade to 1.15.1 python-pygobject: upgrade to 2.28.3 gdb: upgrade to 7.7 xproto: upgrade to 7.0.26 xrandr: upgrade to 1.4.2 xtrans

[OE-core] [PATCH 02/12] libdrm: upgrade to 2.4.53

2014-04-29 Thread Laurentiu Palcu
Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- .../drm/{libdrm_2.4.52.bb = libdrm_2.4.53.bb} |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-graphics/drm/{libdrm_2.4.52.bb = libdrm_2.4.53.bb} (46%) diff --git a/meta/recipes-graphics/drm

[OE-core] [PATCH 01/12] xf86-input-synaptics: upgrade to 1.7.4

2014-04-29 Thread Laurentiu Palcu
Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- ...tics_1.7.3.bb = xf86-input-synaptics_1.7.4.bb} |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-graphics/xorg-driver/{xf86-input-synaptics_1.7.3.bb = xf86-input-synaptics_1.7.4.bb} (81%) diff --git

[OE-core] [PATCH 04/12] python-pygobject: upgrade to 2.28.3

2014-04-29 Thread Laurentiu Palcu
Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- ...bject_2.27.91.bb = python-pygobject_2.28.3.bb} |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) rename meta/recipes-devtools/python/{python-pygobject_2.27.91.bb = python-pygobject_2.28.3.bb} (87%) diff --git a/meta

[OE-core] [PATCH 05/12] gdb: upgrade to 7.7

2014-04-29 Thread Laurentiu Palcu
Removed the following patch(es): * gdb-fix-cygwin-check-in-configure-script.patch (changes included in release) Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- .../gdb/{gdb-7.6.2.inc = gdb-7.7.inc} |6 ++-- ...canadian_7.6.2.bb = gdb-cross-canadian_7.7.bb} |0

[OE-core] [PATCH 07/12] xrandr: upgrade to 1.4.2

2014-04-29 Thread Laurentiu Palcu
Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- .../xorg-app/{xrandr_1.4.1.bb = xrandr_1.4.2.bb} |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-graphics/xorg-app/{xrandr_1.4.1.bb = xrandr_1.4.2.bb} (72%) diff --git a/meta/recipes-graphics/xorg

[OE-core] [PATCH 03/12] xserver-xorg: upgrade to 1.15.1

2014-04-29 Thread Laurentiu Palcu
Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- ...erver-xorg_1.15.0.bb = xserver-xorg_1.15.1.bb} |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-graphics/xorg-xserver/{xserver-xorg_1.15.0.bb = xserver-xorg_1.15.1.bb} (88%) diff --git a/meta

[OE-core] [PATCH 06/12] xproto: upgrade to 7.0.26

2014-04-29 Thread Laurentiu Palcu
Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- .../{xproto_7.0.25.bb = xproto_7.0.26.bb} |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-graphics/xorg-proto/{xproto_7.0.25.bb = xproto_7.0.26.bb} (74%) diff --git a/meta/recipes-graphics

[OE-core] [PATCH 09/12] kexec-tools: upgrade to 2.0.6

2014-04-29 Thread Laurentiu Palcu
Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- .../{kexec-tools_2.0.4.bb = kexec-tools_2.0.6.bb} |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-kernel/kexec/{kexec-tools_2.0.4.bb = kexec-tools_2.0.6.bb} (57%) diff --git a/meta/recipes-kernel

[OE-core] [PATCH 10/12] nasm: upgrade to 2.11.02

2014-04-29 Thread Laurentiu Palcu
Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- .../nasm/{nasm_2.11.bb = nasm_2.11.02.bb} |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/nasm/{nasm_2.11.bb = nasm_2.11.02.bb} (81%) diff --git a/meta/recipes-devtools/nasm/nasm_2.11

[OE-core] [PATCH 11/12] xauth: upgrade to 1.0.9

2014-04-29 Thread Laurentiu Palcu
Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- .../xorg-app/{xauth_1.0.8.bb = xauth_1.0.9.bb}|4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-graphics/xorg-app/{xauth_1.0.8.bb = xauth_1.0.9.bb} (68%) diff --git a/meta/recipes-graphics/xorg-app

[OE-core] [PATCH 12/12] fontconfig: upgrade to 2.11.1

2014-04-29 Thread Laurentiu Palcu
Removed the following patch(es): * sysroot-arg.patch (changes included in release) Correct the fccache.c license checksum and the line numbers because the license snippet has moved and, also, at the previous upgrade the lines were wrong (shifted a couple of lines). Signed-off-by: Laurentiu

[OE-core] [PATCH 08/12] xtrans: upgrade to 1.3.4

2014-04-29 Thread Laurentiu Palcu
Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- .../xorg-lib/{xtrans_1.3.3.bb = xtrans_1.3.4.bb} |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-graphics/xorg-lib/{xtrans_1.3.3.bb = xtrans_1.3.4.bb} (82%) diff --git a/meta/recipes-graphics/xorg

Re: [OE-core] relocate_sdk.py: Possible bug, /lib64/ld-linux-x86-64.so.2 not relocated

2014-04-03 Thread Laurentiu Palcu
/poky/1.5+snapshot): Then, run 'readelf -p .interp' on those binaries. They should all start with the default prefix. laurentiu On Thu, Apr 03, 2014 at 09:59:34AM +0200, Stefan Agner wrote: Hi Laurentiu, Am 2014-03-03 09:38, schrieb Laurentiu Palcu: This is the correct behavior. We shouldn't

Re: [OE-core] image.bbclass: USE_DEVFS is now useless

2014-04-02 Thread Laurentiu Palcu
Hi Matthieu, On Wed, Feb 26, 2014 at 11:11:28AM +, Matthieu CRAPET wrote: Hi, Since : http://cgit.openembedded.org/openembedded-core/commit/meta/classes/ image.bbclass?id=a83144bac8d67704ff66f5dc0fc56f5b63979694 USE_DEVFS is not considered anymore. Setting

Re: [OE-core] [PATCH 0/1] package_manager.py: delete RPM db locks after calling rpmresolve

2014-03-28 Thread Laurentiu Palcu
, Laurentiu Palcu wrote: The following changes since commit c4eeaa8e35e926b6d1f633549f76d1ba9ed9278b: bitbake: knotty: Show a link to the logfile for failed setscene tasks (2014-03-27 10:42:08 +) are available in the git repository at: git://git.yoctoproject.org/poky-contrib lpalcu

[OE-core] [PATCH 1/2] package_manager.py: leave the __db.00* files in place

2014-03-28 Thread Laurentiu Palcu
environment We might also gain some time here by not deleting/creating those files very often. [YOCTO #6049] Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- meta/lib/oe/package_manager.py |8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/meta/lib/oe

[OE-core] [PATCH 0/2] Don't fool around with rpm __db.00* files

2014-03-28 Thread Laurentiu Palcu
-contrib/log/?h=lpalcu/b6049_do_rootfs_crash Laurentiu Palcu (2): package_manager.py: leave the __db.00* files in place rootfs.py: add new cleanup method meta/lib/oe/package_manager.py |8 +--- meta/lib/oe/rootfs.py | 25 + 2 files changed, 26

[OE-core] [PATCH 2/2] rootfs.py: add new cleanup method

2014-03-28 Thread Laurentiu Palcu
This commit adds a new _cleanup() internal method that will be called at the end of rootfs creation, so that each backend can delete various files that were probably generated during rootfs postprocess execution, etc. [YOCTO #6049] Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com

[OE-core] [PATCH 0/1] populate_sdk_base: add dependency of do_package_write_* tasks

2014-03-28 Thread Laurentiu Palcu
-contrib/log/?h=lpalcu/b5900_fix_adt_installer_issue Laurentiu Palcu (1): populate_sdk_base: add dependency of do_package_write_* tasks meta/classes/populate_sdk_base.bbclass |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.7.9.5

[OE-core] [PATCH 1/1] populate_sdk_base: add dependency of do_package_write_* tasks

2014-03-28 Thread Laurentiu Palcu
is based on opkg repos. Credits go to richard.pur...@linuxfoundation.org who suggested me this fix. [YOCTO #5900] Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- meta/classes/populate_sdk_base.bbclass |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes

[OE-core] [PATCH 0/1] image.py: check file exists before deleting

2014-03-28 Thread Laurentiu Palcu
/b6029_ignore_broken_symlinks http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=lpalcu/b6029_ignore_broken_symlinks Laurentiu Palcu (1): image.py: check file exists before deleting meta/lib/oe/image.py |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 1.7.9.5

[OE-core] [PATCH 1/1] image.py: check file exists before deleting

2014-03-28 Thread Laurentiu Palcu
When RM_OLD_IMAGE = 1, we delete old images but we didn't check they actually exist... [YOCTO #6029] Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- meta/lib/oe/image.py |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/lib/oe/image.py b/meta/lib/oe

[OE-core] [PATCH 1/1] run-postinsts: fix issue with checking IMAGE_FEATURES

2014-03-27 Thread Laurentiu Palcu
other changes to IMAGE_FEATURES, like removing/adding 'package-management' did not reflect in the final script. This commit makes run-postinsts script autodetect the backend used for creating the image, making it generic. [YOCTO #5666] [YOCTO #5972] Signed-off-by: Laurentiu Palcu laurentiu.pa

[OE-core] [PATCH 0/1] Fix run-postinsts

2014-03-27 Thread Laurentiu Palcu
://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=lpalcu/b5666_unique_run_postinsts Laurentiu Palcu (1): run-postinsts: fix issue with checking IMAGE_FEATURES .../run-postinsts/run-postinsts/run-postinsts | 30 +++- .../run-postinsts/run-postinsts_1.0.bb |2 -- 2 files

[OE-core] [PATCH 0/1] package_manager.py: delete RPM db locks after calling rpmresolve

2014-03-27 Thread Laurentiu Palcu
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=lpalcu/b6049_do_rootfs_crash Laurentiu Palcu (1): package_manager.py: delete RPM db locks after calling rpmresolve meta/lib/oe/package_manager.py | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) -- 1.7.9.5

[OE-core] [PATCH 1/1] package_manager.py: delete RPM db locks after calling rpmresolve

2014-03-27 Thread Laurentiu Palcu
If the locks are not removed, the output of the next rpm command executed will contain the following string: rpmdb: BDB1540 configured environment flags incompatible with existing environment And this will create various parsing issues. [YOCTO #6049] Signed-off-by: Laurentiu Palcu laurentiu.pa

Re: [OE-core] SDK build refers to existing installed SDK

2014-03-26 Thread Laurentiu Palcu
On Wed, Mar 26, 2014 at 07:40:26AM +, Mats Kärrman wrote: On Wednesday, March 26, 2014 4:23 AM, Khem Raj wrote: Hi, I just ran into an unexpected error while doing some multitasking. Project is based on OE-core Dora distroless. While my build machine was busy building a new

Re: [OE-core] [PATCH 2/3] buildhistory.bbclass: Fix dependency files creation

2014-03-26 Thread Laurentiu Palcu
From: openembedded-core-boun...@lists.openembedded.org [openembedded-core-boun...@lists.openembedded.org] on behalf of Laurentiu Palcu [laurentiu.pa...@intel.com] Sent: Friday, March 07, 2014 8:35 AM To: Richard Purdie Cc: openembedded-core@lists.openembedded.org Subject: Re: [OE-core] [PATCH 2

Re: [OE-core] [PATCH 2/3] buildhistory.bbclass: Fix dependency files creation

2014-03-26 Thread Laurentiu Palcu
Please file a bug on this. thanks, laurentiu On Wed, Mar 26, 2014 at 01:45:40PM +0200, Florin Sarbu wrote: On 03/26/2014 12:09 PM, Laurentiu Palcu wrote: On Wed, Mar 26, 2014 at 09:15:43AM +, Sarbu, Florin-Ionut (Florin) wrote: I get the same error on do_rootfs for a rpm based image

[OE-core] [PATCH v2 0/4] SDK buildhistory fixes (cover letter only)

2014-03-19 Thread Laurentiu Palcu
/cgit.cgi/poky-contrib/log/?h=lpalcu/buildhistory_sdk_dep_files_fix Laurentiu Palcu (4): package_manager.py: create separate class for installed packages listing rootfs.py, sdk.py: adjust/create the wrappers for creating installed packages list image.bbclass, license.bbclass: adjust the name

[OE-core] [PATCH 2/4] rootfs.py, sdk.py: adjust/create the wrappers for creating installed packages list

2014-03-18 Thread Laurentiu Palcu
SDK rootfs's. Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- meta/lib/oe/rootfs.py | 19 --- meta/lib/oe/sdk.py| 18 ++ 2 files changed, 22 insertions(+), 15 deletions(-) diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py index 30a1321

[OE-core] [PATCH 1/4] package_manager.py: create separate class for installed packages listing

2014-03-18 Thread Laurentiu Palcu
instantiating a new PM object just to get the list of installed packages in a certain rootfs. Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- meta/lib/oe/package_manager.py | 376 ++-- 1 file changed, 211 insertions(+), 165 deletions(-) diff --git

[OE-core] [PATCH 3/4] image.bbclass, license.bbclass: adjust the name of list_installed_packages()

2014-03-18 Thread Laurentiu Palcu
The old wrapper got renamed to image_list_installed_packages(). Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- meta/classes/image.bbclass |4 ++-- meta/classes/license.bbclass |4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/classes

[OE-core] [PATCH 0/4] SDK buildhistory fixes

2014-03-18 Thread Laurentiu Palcu
at: git://git.yoctoproject.org/poky-contrib lpalcu/buildhistory_sdk_dep_files_fix http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=lpalcu/buildhistory_sdk_dep_files_fix Laurentiu Palcu (4): package_manager.py: create separate class for installed packages listing rootfs.py, sdk.py

[OE-core] [PATCH 4/4] buildhistory.bbclass: create proper dependency files for SDK

2014-03-18 Thread Laurentiu Palcu
because the wrapper was always looking into the image rootfs... This commit fixes the problem and calls the right wrapper for image/sdk. Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- meta/classes/buildhistory.bbclass | 40 + 1 file changed, 27

Re: [OE-core] [PATCH 2/3] buildhistory.bbclass: Fix dependency files creation

2014-03-10 Thread Laurentiu Palcu
I succeeded to replicate this. I'll take a look at it. laurentiu On Sat, Mar 08, 2014 at 04:23:22PM +0800, Hongxu Jia wrote: On 03/07/2014 02:35 PM, Laurentiu Palcu wrote: On Thu, Mar 06, 2014 at 09:55:38PM +, Richard Purdie wrote: On Wed, 2014-03-05 at 14:39 +0200, Laurentiu Palcu wrote

[OE-core] [PATCH 1/1] xf86-video-intel: add recipe for 2.99.910, remove the git one

2014-03-07 Thread Laurentiu Palcu
Intel graphics stack releases = 2013Q3 need xf86-video-intel = 2.99.902. However, keep the stable release around too, in case people need it. The git recipe is not really used. Remove. Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- meta/conf/distro/include/default-versions.inc

[OE-core] [PATCH 0/1] xf86-video-intel: add recipe for 2.99.910, remove the git one

2014-03-07 Thread Laurentiu Palcu
://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=lpalcu/b5705_q4_intel_graphics_stack Laurentiu Palcu (1): xf86-video-intel: add recipe for 2.99.910, remove the git one meta/conf/distro/include/default-versions.inc |3 ++ .../xorg-driver/xf86-video-intel_2.99.910.bb | 31

[OE-core] [PATCH 1/2] run-postinsts: use it for opkg/dpkg too

2014-03-06 Thread Laurentiu Palcu
Currently, opkg/dpkg have their own postinstalls that create a run-postinsts script which is run at first boot. This commit prepares the run-postinsts recipe/script to be used by opkg/dpkg when DISTRO_FEATURES includes package-management. [YOCTO #5666] Signed-off-by: Laurentiu Palcu

[OE-core] [PATCH 2/2] opkg/dpkg: remove the postinstalls

2014-03-06 Thread Laurentiu Palcu
Just use the run-postinsts recipe for running first boot postinstalls. [YOCTO #5666] Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- meta/recipes-devtools/dpkg/dpkg.inc | 24 +--- meta/recipes-devtools/opkg/opkg.inc | 28 +--- 2 files

[OE-core] [PATCH 0/2] Unique run-postinsts

2014-03-06 Thread Laurentiu Palcu
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=lpalcu/b5666_unique_run_postinsts Laurentiu Palcu (2): run-postinsts: use it for opkg/dpkg too opkg/dpkg: remove the postinstalls meta/recipes-devtools/dpkg/dpkg.inc| 24 +--- meta/recipes-devtools/opkg

Re: [OE-core] [PATCH 2/3] buildhistory.bbclass: Fix dependency files creation

2014-03-06 Thread Laurentiu Palcu
On Thu, Mar 06, 2014 at 09:55:38PM +, Richard Purdie wrote: On Wed, 2014-03-05 at 14:39 +0200, Laurentiu Palcu wrote: Call the new python routines. [YOCTO #5904] Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- meta/classes/buildhistory.bbclass |9

[OE-core] [PATCH 0/3] Fix issue with unpopulated buildhistory depends files

2014-03-05 Thread Laurentiu Palcu
://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=lpalcu/b5904_buildhistory_depends_empty Laurentiu Palcu (3): package_manager.py: make list_installed() list pkg dependencies too buildhistory.bbclass: Fix dependency files creation populate_sdk_*.bbclass: remove old

[OE-core] [PATCH 1/3] package_manager.py: make list_installed() list pkg dependencies too

2014-03-05 Thread Laurentiu Palcu
list_installed(deps) will now return the package dependencies. Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- meta/lib/oe/package_manager.py | 31 +++ 1 file changed, 31 insertions(+) diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe

[OE-core] [PATCH 2/3] buildhistory.bbclass: Fix dependency files creation

2014-03-05 Thread Laurentiu Palcu
Call the new python routines. [YOCTO #5904] Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- meta/classes/buildhistory.bbclass |9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass index

[OE-core] [PATCH 3/3] populate_sdk_*.bbclass: remove old rootfs_list_installed_depends()

2014-03-05 Thread Laurentiu Palcu
We're using the python routines now. Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- meta/classes/populate_sdk_deb.bbclass |5 - meta/classes/populate_sdk_ipk.bbclass |4 meta/classes/populate_sdk_rpm.bbclass |4 3 files changed, 13 deletions(-) diff --git

Re: [OE-core] relocate_sdk.py: Possible bug, /lib64/ld-linux-x86-64.so.2 not relocated

2014-03-03 Thread Laurentiu Palcu
Hi Stefan, On Sat, Mar 01, 2014 at 03:28:09PM +0100, Stefan Agner wrote: Hi, Using top of dylan branch, I generated a SDK using bitbake meta-toolchain. I'm running Arch Linux, but I also see similar issues on Ubuntu 12.04.4 LTS: Some binaries segfault when running them. I discovered,

[OE-core] [PATCH 0/2] fix package archs ordering for RPM

2014-03-03 Thread Laurentiu Palcu
/b5890_rpm_pkg_arch_selection_logic_fix http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=lpalcu/b5890_rpm_pkg_arch_selection_logic_fix Laurentiu Palcu (2): Revert lib/oe/package_manager.py: RpmPM: fix issue with multilib builds package_manager.py: RpmPM: don't add smart channel if already

[OE-core] [PATCH 1/2] Revert lib/oe/package_manager.py: RpmPM: fix issue with multilib builds

2014-03-03 Thread Laurentiu Palcu
Converting a list to a set does not keep the order of the items, as they were added, which might result in the wrong packages being installed in the final image... This reverts commit 12f47c23df8c109676f66d580d666a3147f3b046. [YOCTO #5890] Signed-off-by: Laurentiu Palcu laurentiu.pa

[OE-core] [PATCH 2/2] package_manager.py: RpmPM: don't add smart channel if already added

2014-03-03 Thread Laurentiu Palcu
Make sure the channel was not already added, before attempting to add. [YOCTO #5890] Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- meta/lib/oe/package_manager.py |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta/lib/oe/package_manager.py b/meta/lib

Re: [OE-core] [PATCH 2/2] package_manager.py: RpmPM: don't add smart channel if already added

2014-03-03 Thread Laurentiu Palcu
Hi Mark, On Mon, Mar 03, 2014 at 09:02:35AM -0600, Mark Hatle wrote: On 3/3/14, 3:43 AM, Laurentiu Palcu wrote: Make sure the channel was not already added, before attempting to add. [YOCTO #5890] When generating the rootfs/etc/rpm/platform file, the order should be in the order

[OE-core] [PATCH 0/1] image.py, rootfs.py, package_manager.py: redirect stderr to stdout when calling check_output()

2014-03-03 Thread Laurentiu Palcu
://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=lpalcu/b5902_errors_not_displayed Laurentiu Palcu (1): image.py, rootfs.py, package_manager.py: redirect stderr to stdout when calling check_output() meta/lib/oe/image.py |2 +- meta/lib/oe/package_manager.py | 48

[OE-core] [PATCH 1/1] image.py, rootfs.py, package_manager.py: redirect stderr to stdout when calling check_output()

2014-03-03 Thread Laurentiu Palcu
will be displayed in terminal. [YOCTO #5902] Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- meta/lib/oe/image.py |2 +- meta/lib/oe/package_manager.py | 48 +--- meta/lib/oe/rootfs.py |2 +- 3 files changed, 27 insertions(+), 25

Re: [OE-core] [RFC][PATCH] Attempt to unify predefined package feed handling

2014-02-27 Thread Laurentiu Palcu
Hi David, My comments/questions below. laurentiu On Thu, Feb 27, 2014 at 02:28:21PM +0100, David Nyström wrote: local.conf defines PACKAGE_FEED_URIS = http://www.feed_repo.org/repo/; should we do it this way or some other way ? [Bug 5407] Signed-off-by: David Nyström

Re: [OE-core] [RFC][PATCH] Attempt to unify predefined package feed handling

2014-02-27 Thread Laurentiu Palcu
On Thu, Feb 27, 2014 at 03:35:50PM +0100, David Nyström wrote: On 2014-02-27 15:24, Laurentiu Palcu wrote: Hi David, My comments/questions below. Thank you for your detailed comments on the RFC. I will return with V2, where your comments are addressed when the general approach is Acked

Re: [OE-core] [PATCH 1/2] do_rootfs: Added PACKAGE_FEED_URIS functionality

2014-02-27 Thread Laurentiu Palcu
Reviewed-by: Laurentiu Palcu laurentiu.pa...@intel.com On Thu, Feb 27, 2014 at 09:20:37PM +0100, David Nyström wrote: Adding a common interface to add predefined package manager channels to prebuilt rootfs:es. Adding PACKAGE_FEED_URIS = http://myre.po/repo/, will assume repo directories

[OE-core] [PATCH 1/1] adt_installer: fix issue with x86_64

2014-02-26 Thread Laurentiu Palcu
the environment script name using 'opkg files meta-environment-MACHINE'. So, no need to do any other sort of searches. We know exactly which is the environment setup script for the specified machine. [YOCTO #5806] Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- .../adt-installer/scripts

[OE-core] [PATCH 0/1] adt_installer: fix issue with x86_64

2014-02-26 Thread Laurentiu Palcu
/b5806_adt_installer_fails_for_xf86_64 for you to fetch changes up to 72cf90ecf51d88becfaf037b6233c78e8c6e4a9c: adt_installer: fix issue with x86_64 (2014-02-26 15:36:44 +0200) Laurentiu Palcu (1): adt_installer: fix issue with x86_64 .../adt-installer

[OE-core] [PATCH 0/1] package_manager.py: create index files for all backends in PACKAGE_CLASSES

2014-02-25 Thread Laurentiu Palcu
/b5827_package_index_fix for you to fetch changes up to ae8627a6eb1d76b1535a222d9011093bdee79cdb: package_manager.py: create index files for all backends in PACKAGE_CLASSES (2014-02-25 14:25:35 +0200) Laurentiu Palcu (1

[OE-core] [PATCH 1/1] package_manager.py: create index files for all backends in PACKAGE_CLASSES

2014-02-25 Thread Laurentiu Palcu
The previous implementation was checking IMAGE_PKGTYPE and created the index files just for the backend used to create the image. Apparently, 'bitbake package-index' should attempt to create the index files for all backends specified in PACKAGE_CLASSES. [YOCTO #5827] Signed-off-by: Laurentiu

Re: [OE-core] [PATCH V3 0/5] manifest.py/package_manager.py/rootfs.py: support ipk incremental image generation

2014-02-21 Thread Laurentiu Palcu
Reviewed-by: Laurentiu Palcu laurentiu.palcu.intel.com laurentiu On Fri, Feb 21, 2014 at 02:38:16PM +0800, Hongxu Jia wrote: Change in V2: - Move dump_install_solution to Manifest class as create_full; - Move load_old_install_solution to Manifest class as parse_full_manifest; - Handle

Re: [OE-core] [PATCH 1/5] manifest.py: add create_full for OpkgManifest class

2014-02-20 Thread Laurentiu Palcu
On Thu, Feb 20, 2014 at 03:06:51PM +0800, Hongxu Jia wrote: The function create_full creates the manifest after the package in initial manifest has been dummy installed. It lists all *to be installed* packages. There is no real installation, just a test. [YOCTO #1894] Signed-off-by: Hongxu

Re: [OE-core] [PATCH 2/5] package_manager.py: support ipk incremental image generation

2014-02-20 Thread Laurentiu Palcu
On Thu, Feb 20, 2014 at 03:06:52PM +0800, Hongxu Jia wrote: Add the following three functions to OpkgPM class: - The 'dummy_install' is used to dummy install pkgs, and returns the log of output; - The 'backup_packaging_data' is used to back up the current opkg database; - The

Re: [OE-core] [PATCH 3/5] rootfs.py: support ipk incremental image generation

2014-02-20 Thread Laurentiu Palcu
On Thu, Feb 20, 2014 at 03:06:53PM +0800, Hongxu Jia wrote: The incremental image generation is based on the previous existing image, adds new packages, upgrades existing packages, and removes unused packages. [YOCTO #1894] Signed-off-by: Hongxu Jia hongxu@windriver.com ---

Re: [OE-core] [PATCH 5/5] rootfs.py: support BAD_RECOMMENDATIONS for ipk incremental image generation

2014-02-20 Thread Laurentiu Palcu
On Thu, Feb 20, 2014 at 03:06:55PM +0800, Hongxu Jia wrote: While incremental image generation enabled and the previous image is existed, if BAD_RECOMMENDATIONS is changed, the operation on the existing image is complicated, so remove the existing image in this situation. The same with

[OE-core] [PATCH 1/3] package_manager.py: fix installed package list creation for Opkg/Dpkg

2014-02-19 Thread Laurentiu Palcu
Small error in the package list creation routine. Buildhistory was supposed to use this but was never called. Hence, it escaped tests... Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- meta/lib/oe/package_manager.py |6 -- 1 file changed, 4 insertions(+), 2 deletions

[OE-core] [PATCH 0/3] Fix buildhistory problem

2014-02-19 Thread Laurentiu Palcu
) Laurentiu Palcu (3): package_manager.py: fix installed package list creation for Opkg/Dpkg buildhistory.bbclass: fix creation of installed packages list populate_sdk_*.bbclass: remove left over bash routines meta/classes

[OE-core] [PATCH 2/3] buildhistory.bbclass: fix creation of installed packages list

2014-02-19 Thread Laurentiu Palcu
Call the new python routines to create the packages list. [YOCTO #5831] Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- meta/classes/buildhistory.bbclass | 21 + 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/meta/classes/buildhistory.bbclass

[OE-core] [PATCH 3/3] populate_sdk_*.bbclass: remove left over bash routines

2014-02-19 Thread Laurentiu Palcu
The list_installed_packages bash routine is no longer needed here. We've got a python replacement. Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- meta/classes/populate_sdk_deb.bbclass | 21 - meta/classes/populate_sdk_ipk.bbclass | 20 2

Re: [OE-core] [PATCH] update-rc.d.bbclass: fix inhibit check

2014-02-19 Thread Laurentiu Palcu
On Wed, Feb 19, 2014 at 06:59:26PM +0800, Kai Kang wrote: In update-rc.d.bbclass it checks variable INITSCRIPT_PACKAGES to avoid inherit this class. But it is wrong logic to check INITSCRIPT_PACKAGES. When 'sysvinit' is in 'DISTRO_FEATURES', INITSCRIPT_PACKAGES will not be checked.

Re: [OE-core] [PATCH 3/6] rootfs.py: Check for LDCONFIGDEPEND being empty string

2014-02-18 Thread Laurentiu Palcu
Hi Khem, On Mon, Feb 17, 2014 at 11:34:15AM -0800, Khem Raj wrote: We override LDCONFIGDEPEND to be empty string for uclibc however the current check is for it being None as a result the function is still executed but ldconfig-native is not built as dependency for rootfs when building with

[OE-core] [PATCH 2/2] lib/oe/image.py: add image dependency mechanism

2014-02-18 Thread Laurentiu Palcu
-by: Laurentiu Palcu laurentiu.pa...@intel.com --- meta/lib/oe/image.py | 282 ++ 1 file changed, 191 insertions(+), 91 deletions(-) diff --git a/meta/lib/oe/image.py b/meta/lib/oe/image.py index c15296f..488683e 100644 --- a/meta/lib/oe/image.py +++ b/meta/lib

[OE-core] [PATCH 0/2] Add image creation dependency mechanism

2014-02-18 Thread Laurentiu Palcu
) Laurentiu Palcu (2): image*.bbclass, bootimg.bbclass: add image type dependencies lib/oe/image.py: add image dependency mechanism meta/classes/bootimg.bbclass |4 + meta/classes/image-live.bbclass |3 + meta/classes/image

[OE-core] [PATCH 1/2] image*.bbclass, bootimg.bbclass: add image type dependencies

2014-02-18 Thread Laurentiu Palcu
by this commit: elf - cpio.gz live - ext3 vmdk - ext3 iso - ext3 hddimg - ext3 This commit adds also another new variable: IMAGE_TYPES_MASKED. Currently, masking out certain types from IMAGE_FSTYPES was hardcoded in the image creation code. [YOCTO #5830] Signed-off-by: Laurentiu Palcu laurentiu.pa

Re: [OE-core] [PATCH 1/5] package_manager.py: support ipk incremental image generation

2014-02-18 Thread Laurentiu Palcu
On Tue, Feb 18, 2014 at 05:42:24PM +0800, Hongxu Jia wrote: While incremental image generation enabled, 'load_old_install_solution' is used to determine what we've got in the previous (existed) image and 'dump_install_solution' to determine what we need to install in the current image. The

Re: [OE-core] [PATCH 4/5] rootfs.py: fix BAD_RECOMMENDATIONS for ipk incremental image generation

2014-02-18 Thread Laurentiu Palcu
On Tue, Feb 18, 2014 at 05:42:27PM +0800, Hongxu Jia wrote: While incremental image generation enabled and the previous image existed, if BAD_RECOMMENDATIONS is changed, the operation on the existed image is complicated, so remove the existed image in this situation. The same with

Re: [OE-core] [PATCH 5/5] rootfs.py: tweak _multilib_sanity_test for ipk incremental image generation

2014-02-18 Thread Laurentiu Palcu
On Tue, Feb 18, 2014 at 05:42:28PM +0800, Hongxu Jia wrote: The _multilib_sanity_test installs multilib packages in a temporary root fs, and compare with the current image to figure out duplicated file that comes from different packages. While incremental image generation enabled and the

Re: [OE-core] [PATCH 3/7] lsbinitscripts: Update to 9.52

2014-02-17 Thread Laurentiu Palcu
Hi Saul, On Mon, Feb 17, 2014 at 12:22:58AM -0800, Saul Wold wrote: Signed-off-by: Saul Wold s...@linux.intel.com --- meta/recipes-extended/lsb/lsbinitscripts_9.52.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended/lsb/lsbinitscripts_9.52.bb

[OE-core] [PATCH 2/3] package-index.bb: use the new python indexing routines

2014-02-14 Thread Laurentiu Palcu
Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- meta/recipes-core/meta/package-index.bb |7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/meta/recipes-core/meta/package-index.bb b/meta/recipes-core/meta/package-index.bb index 3cc1239..27b6d8e 100644

[OE-core] [PATCH 3/3] package_*.bbclass: remove references to the old bash indexing routines

2014-02-14 Thread Laurentiu Palcu
Package indexing is done in python and package-index.bb uses the new routines. Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- meta/classes/package_deb.bbclass |1 - meta/classes/package_ipk.bbclass |1 - meta/classes/package_rpm.bbclass |1 - 3 files changed, 3

[OE-core] [PATCH 0/3] fix package-index build issue

2014-02-14 Thread Laurentiu Palcu
references to the old bash indexing routines (2014-02-14 12:47:53 +0200) Laurentiu Palcu (3): package_manager.py, rootfs.py, sdk.py: add Indexer class package-index.bb: use the new python indexing routines package_*.bbclass

[OE-core] [PATCH 1/3] package_manager.py, rootfs.py, sdk.py: add Indexer class

2014-02-14 Thread Laurentiu Palcu
so that it can be easily moved out of the PackageManager class; * removes some RPM duplicate code, moves it into a method inside RpmPM class and changes the RpmPM constructor so that the new method is effective; Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- meta/lib/oe

[OE-core] [PATCH 0/1] package_manager.py: move multilib prefix list computation function to RpmIndexer

2014-02-14 Thread Laurentiu Palcu
to RpmIndexer (2014-02-14 20:59:17 +0200) Laurentiu Palcu (1): package_manager.py: move multilib prefix list computation function to RpmIndexer meta/lib/oe/package_manager.py | 105 1

[OE-core] [PATCH 1/1] package_manager.py: move multilib prefix list computation function to RpmIndexer

2014-02-14 Thread Laurentiu Palcu
was hoping to avoid this but, unfortunately, I couldn't. Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com --- meta/lib/oe/package_manager.py | 105 1 file changed, 53 insertions(+), 52 deletions(-) diff --git a/meta/lib/oe/package_manager.py b

Re: [OE-core] [PATCH 1/1] lib/oe/rootfs.py: fix RPM multilib issue

2014-02-13 Thread Laurentiu Palcu
Hi Mark, On Wed, Feb 12, 2014 at 01:46:31PM -0600, Mark Hatle wrote: On 2/12/14, 12:54 PM, Laurentiu Palcu wrote: For some odd reason (at least I couldn't find an explanation to this, yet), if a multilib version of a package is installed after the main one (that is: in a different smart

Re: [OE-core] [PATCH 1/1] lib/oe/rootfs.py: fix RPM multilib issue

2014-02-13 Thread Laurentiu Palcu
On Thu, Feb 13, 2014 at 11:32:36AM +, Richard Purdie wrote: On Wed, 2014-02-12 at 20:54 +0200, Laurentiu Palcu wrote: For some odd reason (at least I couldn't find an explanation to this, yet), if a multilib version of a package is installed after the main one (that is: in a different

[OE-core] [PATCH v2 0/1] lib/oe/rootfs.py: fix RPM multilib issue

2014-02-13 Thread Laurentiu Palcu
/git.yoctoproject.org/poky-contrib lpalcu/rootfs_refactoring_rpm_multilib_fix for you to fetch changes up to 453395e793d0d5c30d4e8092ee6faf80484ad447: lib/oe/rootfs.py: fix RPM multilib issue (2014-02-13 13:52:38 +0200) Laurentiu Palcu (1

  1   2   3   4   5   6   7   8   >