Re: [OE-core] [PATCH 1/2] image.bbclass: Correct chaining compression support

2017-07-25 Thread Patrick Ohly
On Mon, 2017-07-24 at 07:19 -0400, Tom Rini wrote: > On Mon, Jul 24, 2017 at 10:35:37AM +0200, Patrick Ohly wrote: > > On Fri, 2017-07-21 at 18:06 -0400, Tom Rini wrote: > > > The fix for this inadvertently broke chaining > > > compression/conversion.  First, correct the u-boot conversion > > >

[OE-core] [PATCH v3 1/6] wic: copy rootfs directory before changing fstab

2017-07-25 Thread Ed Bartosh
wic updates /etc/fstab on root partition if there are valid mount points in .wks When wic runs from bitbake this can cause incorrect results or even breakage of other tasks working with the same rootfs directory in parallel with do_image_wic. Implemented copying rootfs directory to a temporary

[OE-core] [PATCH v3 2/6] wic: use absolute paths in rootfs plugin

2017-07-25 Thread Ed Bartosh
Using relative paths can cause copyhardlinktree API to fail as it changes current directory when working. Converted all paths to absolute paths using os.path.realpath. Signed-off-by: Ed Bartosh --- scripts/lib/wic/plugins/source/rootfs.py | 4 ++-- 1 file changed, 2

[OE-core] [PATCH v3 6/6] oe-selftest: wic: fix test_quemu

2017-07-25 Thread Ed Bartosh
This test case boots the image in qemu and checks for mounted partitions. As /boot is mounted automatically the test case fails. Fixed this by adding /boot to the list of mounted partitions. Signed-off-by: Ed Bartosh --- meta/lib/oeqa/selftest/cases/wic.py | 2 +- 1

[OE-core] [PATCH v3 4/6] wic: rootfs: make copied rootfs unique

2017-07-25 Thread Ed Bartosh
Used unique suffix (line number from .wks file) for the copied rootfs directory to avoid possible conflicts. Signed-off-by: Ed Bartosh --- scripts/lib/wic/plugins/source/rootfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [PATCH v3 3/6] wic: rootfs: fix rootfs path reporting

2017-07-25 Thread Ed Bartosh
wic gets rootfs paths from partition object property 'rootfs_dir' and shows them in final report. rootfs plugin sets this property to the temporary path, which causes temporary paths appearing in the report. Changed the code to prevent storing temporary rootfs path in part.rootfs_dir. This

[OE-core] [PATCH v3 5/6] wic: add /boot mount point to fstab by default

2017-07-25 Thread Ed Bartosh
wic avoided adding /boot to fstab for no reason. This exception was hardcoded in the wic code. There is no need for this as mountpoint in .wks file is an optional field. It can be used only if user wants to have partitions automatically mounted on system boot. [YOCTO #11662] Signed-off-by: Ed

Re: [OE-core] [PATCH] debianutils: set higher priority than busybox for run-parts

2017-07-25 Thread Huang, Jie (Jackie)
I will rebase and send v2 since debianutils is already updated to 4.8.1.1 Thanks, Jackie > -Original Message- > From: openembedded-core-boun...@lists.openembedded.org > [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of > jackie.hu...@windriver.com > Sent: Tuesday,

[OE-core] [PATCH v3 0/6] #11662 - wic should mount /boot

2017-07-25 Thread Ed Bartosh
Hi, This patchset adds /boot to the /etc/fstab of root partition, making it mounted on boot. It also fixes reporting and testing issues caused by this change. The patchset also fixes long standing bug: wic updated fstab inplace in rootfs directory. This causes other tasks working with rootfs

[OE-core] ✗ patchtest: failure for debianutils: set higher priority than busybox for run-parts

2017-07-25 Thread Patchwork
== Series Details == Series: debianutils: set higher priority than busybox for run-parts Revision: 1 URL : https://patchwork.openembedded.org/series/7917/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several

[OE-core] ✗ patchtest: failure for "elfutils: use HTTP instead of ..." and 2 more

2017-07-25 Thread Patchwork
== Series Details == Series: "elfutils: use HTTP instead of ..." and 2 more Revision: 1 URL : https://patchwork.openembedded.org/series/7924/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been

[OE-core] [PATCH 1/1] wic-tools: ensure pseudo is available

2017-07-25 Thread Paul Eggleton
wic will attempt to use pseudo from the wic-tools sysroot to run, but it was only sure to be in there if do_install had executed - which is not the case if it had been restored from sstate, in which case it failed horribly as seen when running the wic.Wic.test_fs_types and test_mkfs_extraopts

[OE-core] [PATCH 0/1] wic-tools: ensure pseudo is available

2017-07-25 Thread Paul Eggleton
The following changes since commit d3a41fbd94462efc8c6f1b55f6fb54001b447c45: linux-yocto: only suggest default kernel type (2017-07-24 09:12:28 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib paule/wic-pseudo

[OE-core] [PATCH v3] dkms: Add new recipe for supporting dkms

2017-07-25 Thread Alexandru Vasiu
Dkms is a tool used to compile out of tree modules directly on target devices (sometimes you have sources or binaries which need to be compiled directly on target, outside OE). I used a simple module and a dkms config to test it, and dkms compiled and installed the module on target. For example:

[OE-core] [PATCH 1/2] python3-pycairo: Pass -fPIC via CFLAGS

2017-07-25 Thread Khem Raj
Fixes | /mnt/a/oe/build/tmp/work/corei7-64-bec-linux/python3-pycairo/1.10.0-r2/recipe-sysroot-native/usr/bin/x86_64-bec-linu x/x86_64-bec-linux-ld: src/cairomodule.c.1.o: relocation R_X86_64_PC32 against symbol `CairoError' can not be used whe n making a shared object; recompile with -fPIC

[OE-core] [PATCH 2/2] webkitgtk: Do not use -isystem forcibly

2017-07-25 Thread Khem Raj
this causes include_next to not find this header since -isystem is added via cmake, we alrady are using --sysroot so rely on that Signed-off-by: Khem Raj --- ...bKitMacros-Append-to-I-and-not-to-isystem.patch | 170 +

[OE-core] [PATCH 2/3] libpng: use SourceForge mirror

2017-07-25 Thread Ross Burton
The Gentoo mirror also deletes old versions when they're not used, so revert back to the canonical SourceForge site, adding /older-releases/ to MIRRORS to handle new releases moving the version we want. Original idea by Maxin B. John . Signed-off-by: Ross Burton

[OE-core] [PATCH 3/3] fetch/wget: mitigate a wget race condition when listing FTP directories

2017-07-25 Thread Ross Burton
When wget is fetching a listing for a directory over FTP it writes to a temporary file called .listing in the current directory. If there are many such operations happening in parallel - for example during 'bitbake world -c checkpkg' - then up to BB_NUMBER_THREADS instances of wget will be racing

[OE-core] [PATCH 1/3] elfutils: use HTTP instead of FTP to fetch

2017-07-25 Thread Ross Burton
FTP is inferiour to HTTP is all respects, so use the HTTP URL for the tarball. Signed-off-by: Ross Burton --- meta/recipes-devtools/elfutils/elfutils_0.168.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [OE-core] [PATCH 3/3] fetch/wget: mitigate a wget race condition when listing FTP directories

2017-07-25 Thread Burton, Ross
Wrong list, sorry. Ross On 25 July 2017 at 11:17, Ross Burton wrote: > When wget is fetching a listing for a directory over FTP it writes to a > temporary file called .listing in the current directory. If there are > many such > operations happening in parallel - for

[OE-core] [PATCH v2] debianutils: set higher priority than busybox for run-parts

2017-07-25 Thread jackie.huang
From: Jackie Huang debianutils-run-parts should have higher priority than busybox (which is 50), so set the priority to 60 for debianutils-run-parts. Signed-off-by: Jackie Huang --- meta/recipes-support/debianutils/debianutils_4.8.1.1.bb

[OE-core] [PATCH] gnome-themes-standard: don't generate multiple -dev and -dbg packages

2017-07-25 Thread Ross Burton
Signed-off-by: Ross Burton --- meta/recipes-gnome/gnome/gnome-themes-standard_3.22.3.bb | 5 - 1 file changed, 5 deletions(-) diff --git a/meta/recipes-gnome/gnome/gnome-themes-standard_3.22.3.bb b/meta/recipes-gnome/gnome/gnome-themes-standard_3.22.3.bb index

Re: [OE-core] [PATCH 05/11] gperf: upgrade to 3.1

2017-07-25 Thread Burton, Ross
This breaks the libcap build: | In file included from :0:0: | ./_caps_output.gperf:71:80: error: unknown type name 'size_t' | gperf_case_strncmp (register const char *s1, register const char *s2, register size_t n) | ^~ | ./_caps_output.gperf:96:53: error: unknown type name 'size_t' |

[OE-core] [PATCH] gettext.bbclass: also search for files in target sysroot

2017-07-25 Thread Patrick Ohly
fwupd contains polkit policy files that it translates using polkit.its and polkit.loc files that the next polkit release is going to install (see https://github.com/hughsie/fwupd/issues/107). In order to make that work with OE-core, the gettext tools must be told to look also for files in the

[OE-core] [PATCH][pyro] kernel.bbclass: fix KERNEL_IMAGETYPE(S) for Image.gz

2017-07-25 Thread Nicolas Dechesne
KERNEL_IMAGETYPES lists all the kernel images that we want to build. in cb17b6c2a7 (kernel.bbclass: support kernel image type of vmlinux.gz), some logic was added to support vmlinux.gz which is not a target built by kernel makefiles (only vmlinux). It is clear that the goal of this logic is only

Re: [OE-core] [PATCH 05/11] gperf: upgrade to 3.1

2017-07-25 Thread Khem Raj
On Tue, Jul 25, 2017 at 6:12 AM, Burton, Ross wrote: > This breaks the libcap build: > > | In file included from :0:0: > | ./_caps_output.gperf:71:80: error: unknown type name 'size_t' include might help > | gperf_case_strncmp (register const char *s1, register const

[OE-core] [PATCH] buildperf/tests_basics: sync the system to have clean esdk deploy dir

2017-07-25 Thread jose . perez . carranza
From: Jose Perez Carranza In some cases and depending on the resources measurement of disk usage for eSDK deploy dir is failing due “measure_disk_usage” was locking for tmp files (bitbake.lock and bitbake.sock) that were not deleted on time, this can be

[OE-core] [PATCH] action: new bitbake-layer plugin to create a simple layer

2017-07-25 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval Though the script bitbake-layers (from the bitbake project), this plugin creates a simple layer with a example recipe, the latter with a single task (do_build). Layer's license and priority is MIT and 6, respectively. Example

[OE-core] [PATCH] debianutils: set higher priority than busybox for run-parts

2017-07-25 Thread jackie.huang
From: Jackie Huang debianutils-run-parts should have higher priority than busybox (which is 50), so set the priority to 60 for debianutils-run-parts. Signed-off-by: Jackie Huang --- meta/recipes-support/debianutils/debianutils_4.8.1.bb |

Re: [OE-core] [PATCH V2] tclibc-musl.inc: fix bfd "cannot make copy relocation for protected symbol" issues

2017-07-25 Thread Ming Liu
Hi, Burton: I also agree with you, your suggestion is better. Hi, Khem: But is this a bug of binutils? Or musl libc? Since I had only observed this error with musl libc only, it did not occur with glibc. //Ming Liu 2017-07-24 15:39 GMT+02:00 Khem Raj : > On Mon, Jul 24,

[OE-core] [PATCH] image: Fix "metadata is not deterministic" when chaining 2+ CONVERSION_CMDs

2017-07-25 Thread Tom Rini
When we have more than one CONVERSION_CMD being used, for example ext4.gz.sha256sum we will see errors about "metadata is not deterministic". This is because we do not have a stable order of intermediate files that will be removed in the generated shell command. We fix this by calling sorted() on

[OE-core] [PATCH] image: Convert vmdk/vdi/qcow2 to strict CONVERSION_CMD types

2017-07-25 Thread Tom Rini
The vmdk/vdi/qcow2 IMAGE_FSTYPEs predate wic. As such, they provide some similar underlying functionality in order to produce a "disk" image that in turn can be converted into different formats that various hypervisor types work with. They do not however provide the ability for other disk image

[OE-core] [PATCH v2] oeqa/buildperf: Add 'bitbake -m' on sync function to ensure bitbake is unloaded

2017-07-25 Thread jose . perez . carranza
From: Jose Perez Carranza Add 'bitbake -m' to the sync method and ensure all process related to bitbake are correctly unloaded before doing the different measurements. Also add a call to sync funtion on Test4 before final measurment of eSDK deploy dir disk

[OE-core] [PATCH] wic: Switch to using --use-uuid by default

2017-07-25 Thread Tom Rini
The most portable way to specifiy a root device in a disk image that we create is to use PARTUUID rather than /dev/sda2. As background, both GPT and MBR tables provide valid UUID values for each partition and the Linux Kernel contains the logic to parse this value. With this change we can now

[OE-core] [PATCH] oeqa/buildperf: Add 'bitbake -m' on sync function to ensure bitbake is unloaded

2017-07-25 Thread jose . perez . carranza
From: Jose Perez Carranza Add 'bitbake -m' to the sync method and ensure all process related to bitbake are correctly unloaded before doing the different measurements. Also add a call to sync funtion on Test4 before final measurment of eSDK deploy dir disk

Re: [OE-core] [PATCH 0/5] runqemu: 5 fixes

2017-07-25 Thread Robert Yang
Ping. // Robert On 07/18/2017 11:21 AM, Robert Yang wrote: The following changes since commit ef68005a8c527e9b1d05b7769f0ec8ebe9ec3f91: webkitgtk: Upgrade to 2.16.5 (2017-07-17 13:49:04 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib

[OE-core] [PATCH v2] package/bbclass: sources are packaged separately from debug.

2017-07-25 Thread juan . m . cruz . alcaraz
From: Juan M Cruz Alcaraz The configuration variable PACKAGE_DEBUG_SPLIT_STYLE includes the new mode debug-with-srcpkg that instructs the system to remove the source files from the debug package but include them in a separate package with a "-src" suffix in

[OE-core] ✗ patchtest: failure for openssl: By default, disable cryptodev.

2017-07-25 Thread Patchwork
== Series Details == Series: openssl: By default, disable cryptodev. Revision: 1 URL : https://patchwork.openembedded.org/series/7942/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been

Re: [OE-core] [PATCH] image: Fix "metadata is not deterministic" when chaining 2+ CONVERSION_CMDs

2017-07-25 Thread Patrick Ohly
On Tue, 2017-07-25 at 15:58 -0400, Tom Rini wrote: > When we have more than one CONVERSION_CMD being used, for example > ext4.gz.sha256sum we will see errors about "metadata is not > deterministic".  This is because we do not have a stable order of > intermediate files that will be removed in the

[OE-core] [PATCH] openssl: By default, disable cryptodev.

2017-07-25 Thread Huang Qiyu
Because according to the other Distros,cryptodev is not enabled. If users want enable cryptodev, just have to add "cryptodev-linux" into PACKAGECONFIG. Signed-off-by: Huang Qiyu --- meta/recipes-connectivity/openssl/openssl_1.0.2l.bb | 6 ++ 1 file changed, 2

Re: [OE-core] [PATCH 0/2] rootfs-postcommands: split ssh_allow_empty_password

2017-07-25 Thread Huang, Jie (Jackie)
Ping. > -Original Message- > From: openembedded-core-boun...@lists.openembedded.org > [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of > jackie.hu...@windriver.com > Sent: Friday, June 30, 2017 14:30 > To: openembedded-core@lists.openembedded.org > Subject: [OE-core]

Re: [OE-core] [PATCH 1/2] ncurses: add SYSROOT_DESTDIR for siteconfig_gencache

2017-07-25 Thread Huang, Jie (Jackie)
> > > > > > > > > On 31 May 2017 at 09:27, wrote: > > > +EXTRASITECONFIG = "CFLAGS='${CFLAGS} - > > I${SYSROOT_DESTDIR}${includedir}'" > > > > > > Why is this ncurses specific, it sounds like something which will impact > > > all > users > > of siteconfig? > >

[OE-core] [PATCH 1/2] gnu-config: update SRC_URI to new savannah.gnu.org hostname

2017-07-25 Thread Andre McCurdy
http://sv.gnu.org/ now redirects to http://savannah.gnu.org/ Signed-off-by: Andre McCurdy --- meta/recipes-devtools/gnu-config/gnu-config_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/gnu-config/gnu-config_git.bb

[OE-core] [PATCH 2/2] mirrors.bbclass: provide git repo fallbacks using the https protocol

2017-07-25 Thread Andre McCurdy
Use MIRRORS to provide git repo fallbacks using the https protocol, for cases where git native protocol fetches may fail due to local firewall rules, etc. These rules should cover all git native repos used by recipes within oe-core, with the exception of mtd-utils, for which there's currently no