[OE-core] [PATCH 2/2] useradd_base.bbclass: prevent variable expansion in $opts

2016-04-08 Thread Mark Asselstine
Many user/group operations will involve hashes which will include '$' followed by a number or even possibly an env. variable name. Passing $opts to flock requires that we take additional precautions to prevent the unexpected expansion of these instances. This was found by an image which used userm

[OE-core] [PATCH 1/2] extrausers.bbclass: drop retry count for perform_user/group* calls

2016-04-08 Thread Mark Asselstine
Commit 2ebf697b46c42cee8bfa6d2e6087397f8cce385c [useradd_base.bbclass: replace retry logic with flock] dropped the 3rd (retry) parameter for these functions. These are simply being ignored now but we should remove the retry count to avoid confusion. Signed-off-by: Mark Asselstine --- meta/classe

Re: [OE-core] [PATCH] meta/conf/distro/include/distro_alias.inc

2016-04-08 Thread Graydon, Tracy
On 04/08/16, 5:46 AM, "Flanagan, Elizabeth" wrote: >On 8 April 2016 at 07:57, Richard Purdie > wrote: >> On Thu, 2016-04-07 at 09:42 -0700, Graydon, Tracy wrote: >>> Update the distro_alias.inc file to include updated/new packages. >>> >>> This is required for the Yocto-2.1 release. >>> >>> Signe

[OE-core] userdel_sysroot_sstate failed when try to remove group

2016-04-08 Thread Fabio Berton
Hi all, I'm getting this error when building recipe meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb from meta-openembedded: DEBUG: Executing shell function userdel_sysroot_sstate NOTE: cyrus-sasl: Performing userdel with [--root /home/user/src/prj/build/tmp/sysroots/intel-core2-32

[OE-core] Yocto Project Status WW15

2016-04-08 Thread Jolley, Stephen K
Current Dev Position: YP 2.1 M4 (Stabilization only milestone.) Next Deadline: YP 2.1 Final Release Target: April 29, 2016 SWAT team rotation: Saul -> Paul https://wiki.yoctoproject.org/wiki/Yocto_Build_Failure_Swat_Team Key Status/Updates: *YP 2.1 M3.rc2 was released *YP 2.

Re: [OE-core] does a normal OE kernel build negate the ability to generate a local version string?

2016-04-08 Thread Martin Jansa
On Fri, Apr 08, 2016 at 09:57:02AM -0400, Robert P. J. Day wrote: > > i was just playing with wind river linux 8 and trying to figure out > why i couldn't generate a local version string that contained the git > commit ID, so i zipped over to oe-core to see how it was done there, > and it seems

[OE-core] does a normal OE kernel build negate the ability to generate a local version string?

2016-04-08 Thread Robert P. J. Day
i was just playing with wind river linux 8 and trying to figure out why i couldn't generate a local version string that contained the git commit ID, so i zipped over to oe-core to see how it was done there, and it seems to be the same way, so can someone clarify that my understanding here is cor

Re: [OE-core] [PATCH] meta/conf/distro/include/distro_alias.inc

2016-04-08 Thread Flanagan, Elizabeth
On 8 April 2016 at 07:57, Richard Purdie wrote: > On Thu, 2016-04-07 at 09:42 -0700, Graydon, Tracy wrote: >> Update the distro_alias.inc file to include updated/new packages. >> >> This is required for the Yocto-2.1 release. >> >> Signed-off-by: Graydon, Tracy >> --- >> meta/conf/distro/include

[OE-core] [PATCH 0/1] libxml2: fix AM_PATH_XML2

2016-04-08 Thread Robert Yang
The following changes since commit 5ebea1114d54120d5ff5d8a6cd148110d0fda23f: build-appliance-image: Update to master head revision (2016-04-06 23:54:57 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/libxml2 http://cgit.openembedded

[OE-core] [PATCH 1/1] libxml2: fix AM_PATH_XML2

2016-04-08 Thread Robert Yang
The code: suppose $1 == 2.7: verdep=ifelse([$1], [], [], [>= $1]) results in: verdep=>= 2.7 This is wrong in shell: bash: 2.7: command not found Use quotation marks to fix the problem. Signed-off-by: Robert Yang --- meta/recipes-core/libxml/libxml2/libxml-m4-use-pkgconfig.patch | 2 +- 1 file c

Re: [OE-core] [PATCH 0/4] image_types.bbclass: fix btrfs, ubifs and elf

2016-04-08 Thread Robert Yang
Removed patch 2/4 and updated in the repo: git://git.openembedded.org/openembedded-core-contrib rbt/img Robert Yang (3): image_types.bbclass: set nodesize for btrfs image_types.bbclass: fix elf image-vm.bbclass/image_types.bbclass: IMAGE_NAME -> IMAGE_LINK_NAME So there are only 3 patch

Re: [OE-core] [PATCH 2/4] image_types.bbclass: fix ubi ubifs and multiubi

2016-04-08 Thread Robert Yang
On 04/08/2016 05:54 PM, Anders Darander wrote: * Stefano Babic [160408 11:19]: On 08/04/2016 09:15, Robert Yang wrote: Fixed when do_image_ubi: | DEBUG: Executing shell function do_image_ubifs | Error: min. I/O unit was not specified (use -h for help) | WARNING: exit code 255 from a shell co

Re: [OE-core] [PATCH] curl: add krb5 to PACKAGECONFIG

2016-04-08 Thread Burton, Ross
On 8 April 2016 at 10:02, wrote: > +PACKAGECONFIG[krb5] = "--with-gssapi-includes=${STAGING_INCDIR}/gssapi/, \ > + --without-gssapi,krb5" > If you're using pkgconfig why do you need to pass paths? Ross -- ___ Openembedded-core m

Re: [OE-core] [PATCH 2/4] image_types.bbclass: fix ubi ubifs and multiubi

2016-04-08 Thread Anders Darander
* Stefano Babic [160408 11:19]: > On 08/04/2016 09:15, Robert Yang wrote: > > Fixed when do_image_ubi: > > | DEBUG: Executing shell function do_image_ubifs > > | Error: min. I/O unit was not specified (use -h for help) > > | WARNING: exit code 255 from a shell command. NAK > > +MKUBIFS_ARGS ?= "

Re: [OE-core] [PATCH 2/4] image_types.bbclass: fix ubi ubifs and multiubi

2016-04-08 Thread Stefano Babic
Hi Robert, On 08/04/2016 09:15, Robert Yang wrote: > Fixed when do_image_ubi: > | DEBUG: Executing shell function do_image_ubifs > | Error: min. I/O unit was not specified (use -h for help) > | WARNING: exit code 255 from a shell command. > > Signed-off-by: Robert Yang > --- > meta/classes/imag

Re: [OE-core] [PATCH] package: ensure do_split_packages doesn't return duplicates

2016-04-08 Thread Burton, Ross
On 8 April 2016 at 08:01, Richard Purdie wrote: > On Thu, 2016-04-07 at 09:56 +0100, Ross Burton wrote: > > do_split_package() constructs a list of packages that were created as > > it > > iterates through the files, so if multiple files go into the same > > package then > > the package will be r

[OE-core] [PATCH 1/2] wic/utils/partitionedfs.py: assemble .wic images as sparse files

2016-04-08 Thread Joshua Lock
From: Joshua Lock The individual partitions created by wic are sparse but without this change the assembled image is written as one (potentially very) large file. Preserve sparseness in the assembled image by passing the sparse conversion symbol. [YOCTO #9099] Signed-off-by: Joshua Lock ---

[OE-core] [PATCH 2/2] oeqa/selftest/wic: add test case for sparse images

2016-04-08 Thread Joshua Lock
From: Joshua Lock Add a testcase to build a directdisk image and check that the used disk size is less than the apparent size, as wic now assembles images as sparse files. Signed-off-by: Joshua Lock Signed-off-by: Ed Bartosh --- meta/lib/oeqa/selftest/wic.py | 13 + 1 file changed

[OE-core] [PATCH] curl: add krb5 to PACKAGECONFIG

2016-04-08 Thread rongqing.li
From: Roy Li krb5 is needed to enables GSS-Negotiate authentication Signed-off-by: Roy Li --- .../0001-replace-krb5-config-with-pkg-config.patch | 43 ++ meta/recipes-support/curl/curl_7.47.1.bb | 6 ++- 2 files changed, 48 insertions(+), 1 deletion(-) create mo

[OE-core] [PATCH 3/4] image_types.bbclass: fix elf

2016-04-08 Thread Robert Yang
Fixed: | DEBUG: Executing shell function do_image_elf | Cannot open `/path/to/tmp/sysroots/qemux86-64/usr/src/kernel/bzImage': (null) | WARNING: exit code 1 from a shell command. The bzImage is in DEPLOY_DIR_IMAGE Signed-off-by: Robert Yang --- meta/classes/image_types.bbclass | 3 ++- 1 file c

[OE-core] [PATCH 4/4] image-vm.bbclass/image_types.bbclass: IMAGE_NAME -> IMAGE_LINK_NAME

2016-04-08 Thread Robert Yang
If we create hdddirect in the first time, and run bitbake to create vmimg in the second time, then the previouse created ${IMAGE_LINK_NAME}.hdddirect may can not be found since it contains the data string which are different. Use IMAGE_LINK_NAME to fix the problem. Signed-off-by: Robert Yang ---

[OE-core] [PATCH 1/4] image_types.bbclass: set nodesize for btrfs

2016-04-08 Thread Robert Yang
The default value is 16K which is too big to create image for core-image-minimal: rootfs.btrfs is too small to make a usable filesystem Minimum size for each btrfs device is 41943040. Use 4K as ext2/3/4 to fix the problem. Signed-off-by: Robert Yang --- meta/classes/image_types.bbclass | 2 +-

[OE-core] [PATCH 0/4] image_types.bbclass: fix btrfs, ubifs and elf

2016-04-08 Thread Robert Yang
The following changes since commit 5ebea1114d54120d5ff5d8a6cd148110d0fda23f: build-appliance-image: Update to master head revision (2016-04-06 23:54:57 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/img http://cgit.openembedded.org/

[OE-core] [PATCH 2/4] image_types.bbclass: fix ubi ubifs and multiubi

2016-04-08 Thread Robert Yang
Fixed when do_image_ubi: | DEBUG: Executing shell function do_image_ubifs | Error: min. I/O unit was not specified (use -h for help) | WARNING: exit code 255 from a shell command. Signed-off-by: Robert Yang --- meta/classes/image_types.bbclass | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [OE-core] [PATCH] package: ensure do_split_packages doesn't return duplicates

2016-04-08 Thread Richard Purdie
On Thu, 2016-04-07 at 09:56 +0100, Ross Burton wrote: > do_split_package() constructs a list of packages that were created as > it > iterates through the files, so if multiple files go into the same > package then > the package will be repeated in the output. > > Solve this by using a set() to sto