[OE-core] [PATCH] kernel.bbclass: allow custom KERNEL_IMAGEDEST

2018-10-22 Thread Ioan-Adrian Ratiu
Some distros want to install the kernel in a custom location other than /boot and have it properly packaged, so it's useful to use a weaker assignment. Signed-off-by: Ioan-Adrian Ratiu --- meta/classes/kernel.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[OE-core] [PATCH v2] rootfs: always update the opkg index

2018-09-25 Thread Ioan-Adrian Ratiu
as usual, for eg. by using a http:// URI. Signed-off-by: Ioan-Adrian Ratiu --- meta/lib/oe/rootfs.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py index cdb86f7715..67ae281e47 100644 --- a/meta/lib/oe/rootfs.py +++ b/meta/li

[OE-core] [bitbake-devel][PATCH] utils: lockfile: Fix infinite loop

2018-09-25 Thread Ioan-Adrian Ratiu
n is ignored and the open is retried leading to an infinite loop. So this fix is to not ignore the "Permission Denied" exception. An alternative fix would be to replace the os.access() call with an try: open() except() at the beginning of the function. Signed-off-by: Ioan-Adrian Ratiu ---

Re: [OE-core] [PATCH] rootfs: always update the opkg index

2018-09-25 Thread Ioan-Adrian Ratiu
On Tue, 25 Sep 2018, Ioan-Adrian Ratiu wrote: > On Mon, 24 Sep 2018, richard.pur...@linuxfoundation.org wrote: >> On Mon, 2018-09-24 at 18:00 +0300, Ioan-Adrian Ratiu wrote: >>> > With master, a copy of the feed is constructed under WORKDIR which >>> > is >

Re: [OE-core] [PATCH] rootfs: always update the opkg index

2018-09-25 Thread Ioan-Adrian Ratiu
On Mon, 24 Sep 2018, richard.pur...@linuxfoundation.org wrote: > On Mon, 2018-09-24 at 18:00 +0300, Ioan-Adrian Ratiu wrote: >> > With master, a copy of the feed is constructed under WORKDIR which >> > is >> > then indexed since other image generation or package wr

Re: [OE-core] [PATCH] rootfs: always update the opkg index

2018-09-24 Thread Ioan-Adrian Ratiu
On Mon, 24 Sep 2018, Richard Purdie wrote: > On Mon, 2018-09-24 at 16:25 +0300, Ioan-Adrian Ratiu wrote: >> The previous logic assumed that if $BUILD_IMAGES_FROM_FEEDS=1 then a >> complete set of ipk feeds from which to build the image is already >> present under $IPK_F

[OE-core] [PATCH] rootfs: always update the opkg index

2018-09-24 Thread Ioan-Adrian Ratiu
es because the dependency gets rebuilt before do_rootfs in the "bitbake " call. So make the opkg rootfs index logic the same as for rpm/deb, to always update the index in $DEPLOY_DIR_IPK to fix the above nostamp failure. Feeds outside $DEPLOY_DIR_IPK continue to work as usual. Signed-off

[OE-core] [PATCH v2] isoimage-isohybrid: don't include cpio in cpio image

2018-09-18 Thread Ioan-Adrian Ratiu
the ISO image, though compression reduces the .iso file size, once the kernel decompresses the cpio image and boots it live, it uses up to double the RAM memory. Fix this by creating the initrd.cpio file directly inside cr_workdir. Signed-off-by: Ioan-Adrian Ratiu --- scripts/lib/wic/plugins

[OE-core] [PATCH] isoimage-isohybrid: don't include cpio in cpio image

2018-09-18 Thread Ioan-Adrian Ratiu
the ISO image, though compression reduces the .iso file size, once the kernel decompresses the cpio image and boots it live, it uses up to double the RAM memory. Fix this by creating the initrd.cpio file directly inside cr_workdir. Signed-off-by: Ioan-Adrian Ratiu --- scripts/lib/wic/plugins

Re: [OE-core] [PATCH 3/3] image_types_wic: Add variable WIC_EXTENSION

2018-08-28 Thread Ioan-Adrian Ratiu
On Tue, 28 Aug 2018, Richard Purdie wrote: > On Mon, 2018-08-27 at 17:31 +0300, Alexandru Vasiu wrote: >> Used to specify what extention will have the image file which >> is created using wic. The default value is wic. For creating an >> ISO image, WIC_EXTENSION will be iso. >> >> Signed-off-by:

Re: [OE-core] [PATCH] util-linux.inc: add fallocate only for class-target

2018-07-26 Thread Ioan-Adrian Ratiu
gt; # override[util-linux-doc]:rename from ALTERNATIVE_${PN}-doc data.py:116 > [expandKeys] > # "mountpoint.1 last.1 lastb.1 mesg.1 wall.1 nologin.8 sulogin.8 > utmpdump.1 rfkill.8 kill.1 libblkid.3 blkid.8 findfs.8 fsck.8 uuid.3 > eject.1 logger.1" > # pre-expansion valu

[OE-core] [PATCH] util-linux.inc: add fallocate only for class-target

2018-07-26 Thread Ioan-Adrian Ratiu
-Adrian Ratiu --- meta/recipes-core/util-linux/util-linux.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc index ed5c618750..504f3c5b61 100644 --- a/meta/recipes-core/util-linux/util

Re: [OE-core] [PATCH] util-linux.inc: add fallocate & unshare to alternatives

2018-07-26 Thread Ioan-Adrian Ratiu
ocate: sdk/usr/bin/fallocate.util-linux > does not exist > WARNING: nativesdk-util-linux-2.32-r0 do_package: util-linux: alt_link == > alt_target: sdk/usr/bin/fallocate == sdk/usr/bin/fallocate > > > On Thu, Jul 5, 2018 at 10:56 AM Ioan-Adrian Ratiu > wrote: > >> These binari

[OE-core] [PATCH v3] lsb: fix usrmerge install paths

2018-07-20 Thread Ioan-Adrian Ratiu
ts to install file tmp-glibc/work/x64-nilrt-linux/test-image/1.0-r0/rootfs/lib64 But that file is already provided by package * base-files Signed-off-by: Ioan-Adrian Ratiu --- meta/recipes-extended/lsb/lsb_5.0.bb | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a

[OE-core] [PATCH v2] lsb: fix usrmerge install path & QA warning

2018-07-19 Thread Ioan-Adrian Ratiu
them or delete them within do_install. lsb: 2 installed and not shipped files. [installed-vs-shipped] Signed-off-by: Ioan-Adrian Ratiu --- meta/recipes-extended/lsb/lsb_5.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended/lsb/lsb_5.0.bb b/meta/recipes

Re: [OE-core] [PATCH] lsb: fix usrmerge install path & QA warning

2018-07-19 Thread Ioan-Adrian Ratiu
hanks! I'll send v2 where I'll use ${root_prefix} which takes into account the presence of usrmerge. > > Ross > > On 19 July 2018 at 14:41, Ioan-Adrian Ratiu wrote: >> ${base_prefix} is set in bitbake.conf to empty. This makes lsb_release >> always install under /bin which

[OE-core] [PATCH] lsb: fix usrmerge install path & QA warning

2018-07-19 Thread Ioan-Adrian Ratiu
installed and not shipped files. [installed-vs-shipped] Signed-off-by: Ioan-Adrian Ratiu --- meta/recipes-extended/lsb/lsb_5.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended/lsb/lsb_5.0.bb b/meta/recipes-extended/lsb/lsb_5.0.bb index 746204b6ec

[OE-core] [PATCH v3] lsbinitscripts: replace dependency with initd-functions

2018-07-17 Thread Ioan-Adrian Ratiu
his changes the dependency of lsb (but no the runtime behaviour AFAIK). I did not change the default provider because sysvinit depends on initscripts being the default. The old dependency, previous to this change, can be brought back with PREFERRED_RPROVIDER_initd-functions = "lsbinitscripts"

Re: [OE-core] [] default-providers: introduce VIRTUAL-RUNTIME_initscripts

2018-07-13 Thread Ioan-Adrian Ratiu
On Fri, 13 Jul 2018, Khem Raj wrote: > On 7/13/18 3:22 AM, Ioan-Adrian Ratiu wrote: >> On Thu, 12 Jul 2018, Khem Raj wrote: >>> On 7/10/18 7:44 AM, Ioan-Adrian Ratiu wrote: >>>> Commits 1202307b24 ("lsbinitscripts: don't use update-alternatives") >

Re: [OE-core] [] default-providers: introduce VIRTUAL-RUNTIME_initscripts

2018-07-13 Thread Ioan-Adrian Ratiu
On Thu, 12 Jul 2018, Khem Raj wrote: > On 7/10/18 7:44 AM, Ioan-Adrian Ratiu wrote: >> Commits 1202307b24 ("lsbinitscripts: don't use update-alternatives") >> cdcebd81c87 ("initscripts: don't use update-alternatives") and >> 061fa614cec ("

[OE-core] [PATCH v2] default-providers: introduce VIRTUAL-RUNTIME_initscripts

2018-07-12 Thread Ioan-Adrian Ratiu
change in the existing behavior; distros/users can override it in their conf when needed. Signed-off-by: Ioan-Adrian Ratiu --- meta/conf/distro/include/default-providers.inc | 1 + meta/recipes-extended/lsb/lsb_5.0.bb | 3 +-- meta/recipes-extended/packagegroups/p

[OE-core] [] default-providers: introduce VIRTUAL-RUNTIME_initscripts

2018-07-10 Thread Ioan-Adrian Ratiu
change in the existing behavior; distros/users can override it in their conf when needed. Signed-off-by: Ioan-Adrian Ratiu --- meta/conf/distro/include/default-providers.inc | 1 + meta/recipes-extended/lsb/lsb_5.0.bb | 3 +-- meta/recipes-extended/packagegroups/p

[OE-core] [PATCH] util-linux.inc: add fallocate & unshare to alternatives

2018-07-05 Thread Ioan-Adrian Ratiu
These binaries can be provided by busybox triggering a conflict in do_rootfs so update-alternatives needs to know about them to properly create the symlinks. Signed-off-by: Ioan-Adrian Ratiu --- meta/recipes-core/util-linux/util-linux.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion

[OE-core] [PATCH 1/2] wic: isoimage-isohybrid: fix UEFI spec breakage

2018-06-28 Thread Ioan-Adrian Ratiu
ges as boot[x64|ia32].efi not ${PN}-boot[x64|ia32].efi. Signed-off-by: Ioan-Adrian Ratiu --- scripts/lib/wic/plugins/source/isoimage-isohybrid.py | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/lib/wic/plugins/source/isoimage-isohybrid.py b/scripts/lib/wic

[OE-core] [PATCH 2/2] wic: isoimage-isohybrid: debloat image of redundant rootfs

2018-06-28 Thread Ioan-Adrian Ratiu
4 to 94 mb. Tested using UEFI/legacy boots on CD-roms, usb dongle and qemu VM's. Signed-off-by: Ioan-Adrian Ratiu --- scripts/lib/wic/canned-wks/mkhybridiso.wks| 2 +- .../wic/plugins/source/isoimage-isohybrid.py | 27 +-- 2 files changed, 2 insertions(+), 27 deletions(-

[OE-core] [PATCH v2 2/2] diffutils: allow native & nativesdk builds

2018-03-04 Thread Ioan-Adrian Ratiu
, 'nativesdk-dtc', 'nativesdk-diffutils'] Signed-off-by: Ioan-Adrian Ratiu --- meta/recipes-extended/diffutils/diffutils.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-extended/diffutils/diffutils.inc b/meta/recipes-extended/diffutils/diffutils.inc ind

[OE-core] [PATCH v2 1/2] dtc: add rdepends_${PN}-misc = diffutils

2018-03-04 Thread Ioan-Adrian Ratiu
Needed by dtdiff which calls `diff` to display its result. Signed-off-by: Ioan-Adrian Ratiu --- meta/recipes-kernel/dtc/dtc.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-kernel/dtc/dtc.inc b/meta/recipes-kernel/dtc/dtc.inc index d259c57e8d..9a90d44041

[OE-core] [PATCH] dtc: add rdepends_${PN}-misc = diffutils

2018-03-02 Thread Ioan-Adrian Ratiu
Needed by dtdiff which calls `diff` to display its result. Signed-off-by: Ioan-Adrian Ratiu --- meta/recipes-kernel/dtc/dtc.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-kernel/dtc/dtc.inc b/meta/recipes-kernel/dtc/dtc.inc index d259c57e8d..9a90d44041

[OE-core] [PATCH] site/*-linux: don't cache ac_cv_sizeof_bool

2017-12-18 Thread Ioan-Adrian Ratiu
st ac_cv_sizeof_bool fail to build. Signed-off-by: Ioan-Adrian Ratiu --- meta/site/arm-linux | 1 - meta/site/nios2-linux | 1 - meta/site/powerpc32-linux | 1 - 3 files changed, 3 deletions(-) diff --git a/meta/site/arm-linux b/meta/site/arm-linux index 7bf073eb77..fb3c81d0e9 100644

[OE-core] [PATCH] util-linux: package switch_root separately

2017-09-18 Thread Ioan-Adrian Ratiu
Having only this utility is useful for tiny initramfs'es which don't need the whole util-linux package (and neither the busybox binary which is much bigger than switch_root) to do operations like decrypt a rootfs & switch to it in the init file. Signed-off-by: Ioan-Adrian Ratiu ---

[OE-core] [PATCH v2] oe/path.py: copyhardlinktree: don't overwrite existing symlinks

2017-08-21 Thread Ioan-Adrian Ratiu
R_IPK/RPM/DEB}. Signed-off-by: Ioan-Adrian Ratiu --- meta/lib/oe/path.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oe/path.py b/meta/lib/oe/path.py index 448a2b944e..1ea03d5d56 100644 --- a/meta/lib/oe/path.py +++ b/meta/lib/oe/path.py @@ -98,7 +98,7 @@ def copyhar

Re: [OE-core] [PATCH] oe/path.py: copyhardlinktree: don't overwrite existing symlinks

2017-08-21 Thread Ioan-Adrian Ratiu
On Fri, 18 Aug 2017, Richard Purdie wrote: > On Wed, 2017-08-16 at 14:13 +0300, Ioan-Adrian Ratiu wrote: >> Starting with tar>=1.26 the default behaviour when extracting is to >> overwrite symlinks and a '-h' flag was added for tar to follow them. >> >> T

[OE-core] [PATCH] oe/path.py: copyhardlinktree: don't overwrite existing symlinks

2017-08-16 Thread Ioan-Adrian Ratiu
mal directory. Signed-off-by: Ioan-Adrian Ratiu --- meta/lib/oe/path.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oe/path.py b/meta/lib/oe/path.py index 448a2b944e..1ea03d5d56 100644 --- a/meta/lib/oe/path.py +++ b/meta/lib/oe/path.py @@ -98,7 +98,7 @@ def copyhar

[OE-core] [PATCH] useradd_base: keep group if it still has users

2017-01-23 Thread Ioan-Adrian Ratiu
ther users and keep the group, printing a warning. This is called right after a user is deleted to delete it's group. If the last user is deleted, only then the group is also deleted. Signed-off-by: Ioan-Adrian Ratiu --- meta/classes/useradd_base.bbclass | 18 ++ 1 f

[OE-core] [PATCH v4] wic/isoimage-isohybrid: remove do_stage_partition()

2017-01-07 Thread Ioan-Adrian Ratiu
e cdrtools-native e2fsprogs-native \ parted-native dosfstools-native mtools-native grub-efi-native" Signed-off-by: Ioan-Adrian Ratiu --- .../lib/wic/plugins/source/isoimage-isohybrid.py | 49 -- scripts/lib/wic/utils/oe/misc.py | 4 ++ 2 f

Re: [OE-core] [meta-virtualization][PATCH v3] wic/isoimage-isohybrid: remove do_stage_partition()

2017-01-06 Thread Ioan-Adrian Ratiu
The meta-virtualization tag is a mistake, this is sent and meant only for the OE-core ML. On Fri, 06 Jan 2017, Ioan-Adrian Ratiu wrote: > The purpouse of this function was to check dependencies for building a > hybrid iso and build them using bitbake if not found. Calling bitbake in

[OE-core] [meta-virtualization][PATCH v3] wic/isoimage-isohybrid: remove do_stage_partition()

2017-01-06 Thread Ioan-Adrian Ratiu
e cdrtools-native e2fsprogs-native \ parted-native dosfstools-native mtools-native grub-efi-native" Signed-off-by: Ioan-Adrian Ratiu --- .../lib/wic/plugins/source/isoimage-isohybrid.py | 49 -- scripts/lib/wic/utils/oe/misc.py | 4 ++ 2 f

[OE-core] [PATCH v2] wic/isoimage-isohybrid: remove do_stage_partition()

2017-01-06 Thread Ioan-Adrian Ratiu
e cdrtools-native e2fsprogs-native \ parted-native dosfstools-native mtools-native" Signed-off-by: Ioan-Adrian Ratiu --- .../lib/wic/plugins/source/isoimage-isohybrid.py | 49 -- scripts/lib/wic/utils/oe/misc.py | 3 ++ 2 files change

Re: [OE-core] [PATCH v2] wic/isoimage-isohybrid: check for grub-mkimage

2017-01-05 Thread Ioan-Adrian Ratiu
Hi On Wed, 04 Jan 2017, Ed Bartosh wrote: > On Wed, Jan 04, 2017 at 10:12:55PM +0200, Ed Bartosh wrote: >> On Wed, Jan 04, 2017 at 09:04:43PM +0200, Ioan-Adrian Ratiu wrote: >> > The isohybrid plugin uses grub-mkimage but doesn't make sure it gets built. >> > Ad

[OE-core] [PATCH v2] wic/isoimage-isohybrid: check for grub-mkimage

2017-01-04 Thread Ioan-Adrian Ratiu
a bug against wic. Signed-off-by: Ioan-Adrian Ratiu --- scripts/lib/wic/plugins/source/isoimage-isohybrid.py | 5 + 1 file changed, 5 insertions(+) diff --git a/scripts/lib/wic/plugins/source/isoimage-isohybrid.py b/scripts/lib/wic/plugins/source/isoimage-isohybrid.py index 849fd8bea3..d6163

[OE-core] [PATCH] wic/isoimage-isohybrid: check for grub-mkimage

2017-01-04 Thread Ioan-Adrian Ratiu
a bug against wic. Signed-off-by: Ioan-Adrian Ratiu --- scripts/lib/wic/plugins/source/isoimage-isohybrid.py | 5 + 1 file changed, 5 insertions(+) diff --git a/scripts/lib/wic/plugins/source/isoimage-isohybrid.py b/scripts/lib/wic/plugins/source/isoimage-isohybrid.py index 3858fd439b..9c408

[OE-core] [PATCH] grub: split grub-editenv in both grub and grub-efi

2016-12-15 Thread Ioan-Adrian Ratiu
b-efi. Signed-off-by: Ioan-Adrian Ratiu --- meta/recipes-bsp/grub/grub2.inc| 6 ++ meta/recipes-bsp/grub/grub_2.00.bb | 6 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc index b69de9f..b8a2bb2 100644 --- a

Re: [OE-core] [PATCH] pango: add libpcre to DEPENDS

2016-10-05 Thread Ioan-Adrian Ratiu
On Wed, 05 Oct 2016, "Burton, Ross" wrote: > On 5 October 2016 at 12:59, Ioan-Adrian Ratiu wrote: > >> I think libpcre_%.bbappend in meta-selinux is just missing the following >> line: >> >> ln -sf ${relpath}/${realsofile} ${D}${libdir}/libpcre.so.1 >

Re: [OE-core] [PATCH] pango: add libpcre to DEPENDS

2016-10-05 Thread Ioan-Adrian Ratiu
On Wed, 05 Oct 2016, Ioan-Adrian Ratiu wrote: > Hi again > > On Fri, 09 Sep 2016, "Burton, Ross" wrote: >> On 9 September 2016 at 10:32, Ioan-Adrian Ratiu wrote: >> >>> I cleared the build directory and sstate cache, started with a clean >>> reb

Re: [OE-core] [PATCH] pango: add libpcre to DEPENDS

2016-10-05 Thread Ioan-Adrian Ratiu
Hi again On Fri, 09 Sep 2016, "Burton, Ross" wrote: > On 9 September 2016 at 10:32, Ioan-Adrian Ratiu wrote: > >> I cleared the build directory and sstate cache, started with a clean >> rebuild and I can't reproduce the error anymore. gen-all-unicode is >&

[OE-core] [=OE-core][PATCH] populate_sdk_base.bbclass: fix broken variables

2016-09-27 Thread Ioan-Adrian Ratiu
until now. Signed-off-by: Ioan-Adrian Ratiu --- meta/classes/populate_sdk_base.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass index ce12f27..a23775e 100644 --- a/meta/classes

Re: [OE-core] [PATCH] pango: add libpcre to DEPENDS

2016-09-09 Thread Ioan-Adrian Ratiu
On Thu, 08 Sep 2016, "Burton, Ross" wrote: > On 8 September 2016 at 11:37, Ioan-Adrian Ratiu wrote: > >> No. It fails sporadically on the jenkins build machine when it's under >> load. Somehow adding the pcre dependency directly to pango fixes the >> build

Re: [OE-core] [PATCH] pango: add libpcre to DEPENDS

2016-09-08 Thread Ioan-Adrian Ratiu
On Thu, 08 Sep 2016, "Burton, Ross" wrote: > On 8 September 2016 at 10:56, Ioan-Adrian Ratiu wrote: > >> | ./gen-all-unicode > all-unicode.txt >> | ./gen-all-unicode: error while loading shared libraries: libpcre.so.1: >> cannot open shared object file: No

[OE-core] [PATCH] pango: add libpcre to DEPENDS

2016-09-08 Thread Ioan-Adrian Ratiu
linux/pango/1.40.1-r0/build/tests' | Makefile:576: recipe for target 'all-recursive' failed | make[1]: *** [all-recursive] Error 1 | make[1]: Leaving directory '/mnt/build/jenkins-jobs/nilrt_OE_core_x64-pname/workspace/build/tmp-glibc/work/core2-64-nilrt-linux/pango/1.40.1-r0/bu

[OE-core] [PATCH v2] linux-firmware: package carl9170 separately

2016-09-01 Thread Ioan-Adrian Ratiu
). Signed-off-by: Ioan-Adrian Ratiu --- meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb index ed0c6ec

Re: [OE-core] [PATCH] kernel-yocto: do_kernel_configme: Fix silent sysroot poisoning error

2016-08-29 Thread Ioan-Adrian Ratiu
On Mon, 29 Aug 2016, Bruce Ashfield wrote: > On Mon, Aug 29, 2016 at 10:05 AM, Ioan-Adrian Ratiu > wrote: > >> On Mon, 29 Aug 2016, Bruce Ashfield wrote: >> > On Mon, Aug 29, 2016 at 5:19 AM, Ioan-Adrian Ratiu >> > wrote: >> > >> >> do_k

Re: [OE-core] [PATCH] kernel-yocto: do_kernel_configme: Fix silent sysroot poisoning error

2016-08-29 Thread Ioan-Adrian Ratiu
On Mon, 29 Aug 2016, Bruce Ashfield wrote: > On Mon, Aug 29, 2016 at 5:19 AM, Ioan-Adrian Ratiu > wrote: > >> do_kernel_configme calls merge_config.sh (installed in the sysroot by >> the kern-tools-native recipe) which calls make to fill in any missing >> symbols from

Re: [OE-core] [PATCH] kernel-yocto: do_kernel_configme: Fix silent sysroot poisoning error

2016-08-29 Thread Ioan-Adrian Ratiu
On Mon, 29 Aug 2016, Bruce Ashfield wrote: > On Mon, Aug 29, 2016 at 9:14 AM, Ioan-Adrian Ratiu > wrote: > >> On Mon, 29 Aug 2016, Bruce Ashfield wrote: >> > On Mon, Aug 29, 2016 at 5:19 AM, Ioan-Adrian Ratiu >> > wrote: >> > >> >> do_k

Re: [OE-core] [yocto] [yocto-kernel-tools][PATCH] merge_configs.sh: fail loudly if make also fails

2016-08-29 Thread Ioan-Adrian Ratiu
On Mon, 29 Aug 2016, Bruce Ashfield wrote: > On 2016-08-29 08:07 AM, Bruce Ashfield wrote: >> >> >> On Mon, Aug 29, 2016 at 5:19 AM, Ioan-Adrian Ratiu > <mailto:adrian.ra...@ni.com>> wrote: >> >> merge_configs.sh calls make on the generated kernel

Re: [OE-core] [PATCH] kernel-yocto: do_kernel_configme: Fix silent sysroot poisoning error

2016-08-29 Thread Ioan-Adrian Ratiu
On Mon, 29 Aug 2016, Bruce Ashfield wrote: > On Mon, Aug 29, 2016 at 5:19 AM, Ioan-Adrian Ratiu > wrote: > >> do_kernel_configme calls merge_config.sh (installed in the sysroot by >> the kern-tools-native recipe) which calls make to fill in any missing >> symbols from

Re: [OE-core] [yocto-kernel-tools][PATCH] merge_configs.sh: fail loudly if make also fails

2016-08-29 Thread Ioan-Adrian Ratiu
On Mon, 29 Aug 2016, Bruce Ashfield wrote: > On Mon, Aug 29, 2016 at 5:19 AM, Ioan-Adrian Ratiu > wrote: > >> merge_configs.sh calls make on the generated kernel config from >> the defconfig + fragments to fill in any missing symbols. make >> can fail and this can lead

[OE-core] [PATCH] kernel-yocto: do_kernel_configme: Fix silent sysroot poisoning error

2016-08-29 Thread Ioan-Adrian Ratiu
ssing kernel config options. [1] http://lists.openembedded.org/pipermail/openembedded-core/2014-October/098253.html Signed-off-by: Ioan-Adrian Ratiu --- meta/classes/kernel-yocto.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/kernel-yocto.bbclass b/

[OE-core] [yocto-kernel-tools][PATCH] merge_configs.sh: fail loudly if make also fails

2016-08-29 Thread Ioan-Adrian Ratiu
. Signed-off-by: Ioan-Adrian Ratiu --- tools/merge_config.sh | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/merge_config.sh b/tools/merge_config.sh index 67d1314..5212f37 100755 --- a/tools/merge_config.sh +++ b/tools/merge_config.sh @@ -152,7 +152,10 @@ fi

Re: [OE-core] [PATCH] linux-firmware: package carl9170 separately

2016-08-26 Thread Ioan-Adrian Ratiu
On Wed, 24 Aug 2016, Khem Raj wrote: > [ Unknown signature status ] > >> On Aug 24, 2016, at 5:22 AM, Ioan-Adrian Ratiu wrote: >> >> carl9170 is an atheros-based firmware, the succesor of ar9170 which is >> deprecated and its driver (ar9170) was removed from the

[OE-core] [PATCH] linux-firmware: package carl9170 separately

2016-08-24 Thread Ioan-Adrian Ratiu
carl9170 binary firmware separately because it is needed by various usb dongles and installing whole linux-firmware is overkill. Also we should keep ar9170 as is because OOT drivers might still use it. Signed-off-by: Ioan-Adrian Ratiu --- meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | 6

[OE-core] [PATCH v2] grub: split grub-editenv into it's own package

2016-08-16 Thread Ioan-Adrian Ratiu
just edits one file). Signed-off-by: Alejandro del Castillo Signed-off-by: Ioan-Adrian Ratiu --- meta/recipes-bsp/grub/grub_2.00.bb | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/recipes-bsp/grub/grub_2.00.bb b/meta/recipes-bsp/grub/grub_2.00.bb index 778074a..07

Re: [OE-core] [PATCH] grub: split grub-editenv into it's own package

2016-08-16 Thread Ioan-Adrian Ratiu
On Tue, 16 Aug 2016, "Burton, Ross" wrote: > On 12 August 2016 at 14:15, Ioan-Adrian Ratiu wrote: > >> +PACKAGES =+ "grub-editenv" >> + >> +FILES_grub-editenv = "${bindir}/grub-editenv" >> > > Shouldn't grub rdepend, or at le

[OE-core] [PATCH] initscripts: Check for logrotate in dmesg.sh

2016-08-12 Thread Ioan-Adrian Ratiu
From: Ovidiu Vancea Autodetect previously hardcoded logrotate location because it can be installed in multiple places like /usr/bin/logrotate which is very common besides /usr/sbin Signed-off-by: Ovidiu Vancea Signed-off-by: Ioan-Adrian Ratiu --- meta/recipes-core/initscripts/initscripts-1.0

[OE-core] [PATCH] grub: split grub-editenv into it's own package

2016-08-12 Thread Ioan-Adrian Ratiu
just edits one file). Signed-off-by: Alejandro del Castillo Signed-off-by: Ioan-Adrian Ratiu --- meta/recipes-bsp/grub/grub_2.00.bb | 4 1 file changed, 4 insertions(+) diff --git a/meta/recipes-bsp/grub/grub_2.00.bb b/meta/recipes-bsp/grub/grub_2.00.bb index 778074a..f983e77 100644 --- a

[OE-core] [PATCH] perl-native: backport libnm link fix

2016-08-11 Thread Ioan-Adrian Ratiu
pre-5.25.0 perl by default tries to link to an antiquated libnm (new math) which is not used anymore since the early 1990's. After 2014 another libnm appeared for NetworkManager causing build failures. Signed-off-by: Ioan-Adrian Ratiu --- meta/recipes-devtools/perl/perl-native_5.22.1.bb

Re: [OE-core] [PATCH v2] kernel.bbclass: fix emit_depmod_pkgdata() workdir

2016-08-11 Thread Ioan-Adrian Ratiu
On Thu, 11 Aug 2016, Ioan-Adrian Ratiu wrote: > On Thu, 11 Aug 2016, "Burton, Ross" wrote: >> On 11 August 2016 at 10:39, Ioan-Adrian Ratiu wrote: >> >>> bitbake commit 67a7b8b02 "build: don't use $B as the default cwd for >>> functions"

Re: [OE-core] [PATCH v2] kernel.bbclass: fix emit_depmod_pkgdata() workdir

2016-08-11 Thread Ioan-Adrian Ratiu
On Thu, 11 Aug 2016, "Burton, Ross" wrote: > On 11 August 2016 at 10:39, Ioan-Adrian Ratiu wrote: > >> bitbake commit 67a7b8b02 "build: don't use $B as the default cwd for >> functions" breaks the assumption that this function is running under

[OE-core] [PATCH v2] kernel.bbclass: fix emit_depmod_pkgdata() workdir

2016-08-11 Thread Ioan-Adrian Ratiu
bitbake commit 67a7b8b02 "build: don't use $B as the default cwd for functions" breaks the assumption that this function is running under ${B}. This causes build failures because System.map is under ${B}. Fix this by using an absolute path instead of relying on cwd. Signed-off-

Re: [OE-core] [PATCH RESEND] kernel.bbclass: fix emit_depmod_pkgdata() workdir

2016-08-11 Thread Ioan-Adrian Ratiu
On Thu, 11 Aug 2016, Ioan-Adrian Ratiu wrote: > On Wed, 10 Aug 2016, "Burton, Ross" wrote: >> On 10 August 2016 at 16:58, Ioan-Adrian Ratiu wrote: >> >>> bitbake commit 67a7b8b02 "build: don't use $B as the default cwd for >>> functions"

Re: [OE-core] [PATCH RESEND] kernel.bbclass: fix emit_depmod_pkgdata() workdir

2016-08-11 Thread Ioan-Adrian Ratiu
On Wed, 10 Aug 2016, "Burton, Ross" wrote: > On 10 August 2016 at 16:58, Ioan-Adrian Ratiu wrote: > >> bitbake commit 67a7b8b02 "build: don't use $B as the default cwd for >> functions" breaks the assumption that this function is running under

[OE-core] [PATCH RESEND] kernel.bbclass: fix emit_depmod_pkgdata() workdir

2016-08-10 Thread Ioan-Adrian Ratiu
bitbake commit 67a7b8b02 "build: don't use $B as the default cwd for functions" breaks the assumption that this function is running under ${B}. This causes build failures because System.map is under ${B}. Signed-off-by: Ioan-Adrian Ratiu --- meta/classes/kernel.bbclass | 1 + 1

[OE-core] [PATCH] dbus: backport stdint.h build fix

2016-08-09 Thread Ioan-Adrian Ratiu
This patch fixes an error where dbus configure doesn't detect stdint.h correctly. Upstream commit 1bfde222 on branches dbus-1.10 and master Signed-off-by: Ioan-Adrian Ratiu --- ...1-configure.ac-explicitely-check-stdint.h.patch | 38 ++ meta/recipes-core/dbus/dbus_1.10

[OE-core] [PATCH] kernel.bbclass: fix emit_depmod_pkgdata() workdir

2016-07-26 Thread Ioan-Adrian Ratiu
bitbake commit 67a7b8b02 "build: don't use $B as the default cwd for functions" breaks the assumption that this function is running under ${B}. This causes build failures because System.map is under ${B}. Signed-off-by: Ioan-Adrian Ratiu --- meta/classes/kernel.bbclass | 1 + 1

Re: [OE-core] [PATCH] grub-efi: run autogen.sh before configure

2016-07-12 Thread Ioan-Adrian Ratiu
Hello On Tue, 12 Jul 2016 11:27:15 +0800 "Yu, Mingli" wrote: > On 2016年07月11日 18:22, Burton, Ross wrote: > > > > On 6 May 2016 at 13:13, Catalin Enache > > wrote: > > > > DEPENDS_class-target = "grub-efi-native" > > RDEPENDS_${PN}_class-target =

[OE-core] [Krogoth][PATCH v2] gcc-4.9: fix build with gcc 6

2016-05-18 Thread Ioan-Adrian Ratiu
Building gcc-cross 4.9.3 with gcc 6 fails with the following error: error: 'const char* libc_name_p(const char*, unsigned int)' redeclared inline with 'gnu_inline' attribute This is a backport of the upstream fix. Signed-off-by: Ioan-Adrian Ratiu --- meta/recipes-devt

[OE-core] [Krogoth][PATCH] gcc-4.9: fix build with gcc 6

2016-05-12 Thread Ioan-Adrian Ratiu
Building gcc-cross 4.9.3 with gcc 6 fails with the following error: error: 'const char* libc_name_p(const char*, unsigned int)' redeclared inline with 'gnu_inline' attribute This is a backport of the upstream fix. Signed-off-by: Ioan-Adrian Ratiu --- meta/recipes-devt

Re: [OE-core] [PATCH] gcc-4.9: fix build with gcc 6

2016-05-12 Thread Ioan-Adrian Ratiu
On Thu, 12 May 2016 07:38:00 -0700 Khem Raj wrote: > On Thu, May 12, 2016 at 6:12 AM, Ioan-Adrian Ratiu > wrote: > > Building gcc-cross 4.9.3 with gcc 6 fails with the following error: > > > > error: 'const char* libc_name_p(const char*, unsigned int)' redec

Re: [OE-core] [PATCH 00/42] GCC/GDB/Binutils Upgrades

2016-05-12 Thread Ioan-Adrian Ratiu
On Thu, 12 May 2016 07:19:50 -0700 akuster808 wrote: > On 05/12/2016 02:05 AM, Ioan-Adrian Ratiu wrote: > > Hello > > > > Can the gcc 6 fixes be pulled into the krogoth branch as well? > > GCC 6 is new so we wont be pull that over to Krogoth. Any fixes you are &

[OE-core] [PATCH] gcc-4.9: fix build with gcc 6

2016-05-12 Thread Ioan-Adrian Ratiu
Building gcc-cross 4.9.3 with gcc 6 fails with the following error: error: 'const char* libc_name_p(const char*, unsigned int)' redeclared inline with 'gnu_inline' attribute This is a backport of the upstream fix. Signed-off-by: Ioan-Adrian Ratiu --- meta/recipes-devt

Re: [OE-core] [PATCH 00/42] GCC/GDB/Binutils Upgrades

2016-05-12 Thread Ioan-Adrian Ratiu
Hello Can the gcc 6 fixes be pulled into the krogoth branch as well? On Wed, 11 May 2016 10:35:25 -0700 Khem Raj wrote: > This patchset covers gcc 6 upgrade along with gdb 7.11 > and glibc 2.24 ( upcoming ) release. > > Rest of upgrades are necessaciated by gcc-6 due to backports > that were a

[OE-core] [PATCH v3 2/2] wic: isoimage-isohybrid: fix splash file paths

2016-04-21 Thread Ioan-Adrian Ratiu
os.path.join discards the cr_workdir var contents if the path of the second arguments is absolute. Signed-off-by: Ioan-Adrian Ratiu --- scripts/lib/wic/plugins/source/isoimage-isohybrid.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/lib/wic/plugins/source

[OE-core] [PATCH v3 1/2] wic: isoimage-isohybrid: add grubefi configfile support

2016-04-21 Thread Ioan-Adrian Ratiu
specified in a wks, it generates a default cfg as before. Signed-off-by: Ioan-Adrian Ratiu --- .../lib/wic/plugins/source/isoimage-isohybrid.py | 53 +- 1 file changed, 32 insertions(+), 21 deletions(-) diff --git a/scripts/lib/wic/plugins/source/isoimage-isohybrid.py b/

Re: [OE-core] [PATCH] wic: isoimage-isohybrid: add grubefi configfile support

2016-04-21 Thread Ioan-Adrian Ratiu
On Thu, 21 Apr 2016 10:03:31 +0300 Ed Bartosh wrote: > On Wed, Apr 20, 2016 at 06:08:38PM +0300, Ioan-Adrian Ratiu wrote: > > I forgot to mention this is v2... sorry. > > > > On Wed, 20 Apr 2016 18:06:15 +0300 > > Ioan-Adrian Ratiu wrote: > > > >

Re: [OE-core] [PATCH] wic: isoimage-isohybrid: add grubefi configfile support

2016-04-20 Thread Ioan-Adrian Ratiu
I forgot to mention this is v2... sorry. On Wed, 20 Apr 2016 18:06:15 +0300 Ioan-Adrian Ratiu wrote: > The latest wic kickstart refactoring introduced a bootloader option > "--configfile" which lets wks' specify a custom grub.cfg for use > while booting. This is very u

[OE-core] [PATCH] wic: isoimage-isohybrid: add grubefi configfile support

2016-04-20 Thread Ioan-Adrian Ratiu
specified in a wks, it generates a default cfg as before. Signed-off-by: Ioan-Adrian Ratiu --- .../lib/wic/plugins/source/isoimage-isohybrid.py | 53 +- 1 file changed, 32 insertions(+), 21 deletions(-) diff --git a/scripts/lib/wic/plugins/source/isoimage-isohybrid.py b/

[OE-core] [PATCH] wic: isoimage-isohybrid: add grubefi configfile support

2016-04-20 Thread Ioan-Adrian Ratiu
specified in a wks, it generates a default cfg as before. Signed-off-by: Ioan-Adrian Ratiu --- .../lib/wic/plugins/source/isoimage-isohybrid.py | 59 ++ 1 file changed, 37 insertions(+), 22 deletions(-) diff --git a/scripts/lib/wic/plugins/source/isoimage-isohybrid.py b/

Re: [OE-core] [PATCH] wic: isoimage-isohybrid: implement grubefi menu logic

2016-04-20 Thread Ioan-Adrian Ratiu
ser and missed --menu implementation. > Let me know if you need my help with this. > > It would be great if you also add test case for this feature to wic > oe-selftest suite. > > Regards, > Ed > > On Tue, Apr 19, 2016 at 03:17:56PM +0300, Ioan-Adrian Ratiu wrote: &g

Re: [OE-core] [PATCH] wic: isoimage-isohybrid: implement grubefi menu logic

2016-04-19 Thread Ioan-Adrian Ratiu
first look I'd say it will not work as --menu bootloader > option is not implemented there. > > On Mon, Apr 18, 2016 at 03:46:22PM +0300, Ioan-Adrian Ratiu wrote: > > Right now isoimage-isohybrid creates a single boot menu entry "boot" > > and passes it the argu

[OE-core] [PATCH] wic: isoimage-isohybrid: implement grubefi menu logic

2016-04-18 Thread Ioan-Adrian Ratiu
ator and : is the separator between the menu names and parameters. Example for use in wks files: --menu "Menu Name:firstarg,secondard|Menu Name 2:anotherarg,otherarg" Signed-off-by: Ioan-Adrian Ratiu --- .../lib/wic/plugins/source/isoimage-isohybrid.py | 35 --

[OE-core] [PATCH 1/2] isoimage-isohybrid.py: use glob to find initramfs location

2016-04-01 Thread Ioan-Adrian Ratiu
Some filenames can omit 'initramfs', or use other names. This makes detection more flexible by using only the image name, machine arch and image type in a glob wildcard. Signed-off-by: Ioan-Adrian Ratiu --- scripts/lib/wic/plugins/source/isoimage-isohybrid.py | 4 ++-- 1 file

[OE-core] [PATCH 2/2] isoimage-isohybrid.py: change cpio generated uid&gid to root

2016-04-01 Thread Ioan-Adrian Ratiu
By default cpio preserves the uid&guid's of the original user which leads to host contamination and boot failures because commands like mount from initramfs expect to be run by root and the original host user might not even exist on the target. Signed-off-by: Ioan-Adrian Ratiu --- sc

[OE-core] [PATCH 3/3] sysvinit: downgrade ALTERNATIVE_PRIORITY[mountpoint]

2016-03-22 Thread Ioan-Adrian Ratiu
-Adrian Ratiu --- meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb b/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb index e4aa4c3..0f0df85 100644 --- a/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb

[OE-core] [PATCH 1/3] util-linux: split out util-linux-mountpoint

2016-03-22 Thread Ioan-Adrian Ratiu
From: Richard Tollerton Allow mountpoint to be installed separately from the rest of util-linux, to conserve disk space, and to minimize the impact of switching to/from this version of mountpoint. Signed-off-by: Richard Tollerton Signed-off-by: Ioan-Adrian Ratiu --- meta/recipes-core/util

[OE-core] [PATCH 2/3] default-providers.inc: add VIRTUAL-RUNTIME_mountpoint

2016-03-22 Thread Ioan-Adrian Ratiu
From: Richard Tollerton util-linux, sysvinit, and busybox are all capable of providing mountpoint; add a VIRTUAL-RUNTIME_mountpoint in order to switch runtime dependencies between the three at build time. Signed-off-by: Richard Tollerton Signed-off-by: Ioan-Adrian Ratiu --- meta/conf/distro

[OE-core] [PATCH] ParaTypeFFL-1.3: Add license file

2016-03-19 Thread Ioan-Adrian Ratiu
The ParaType Free Font License is used by various fonts, out of which a recipe will be added to meta-openembedded for ttf-pt-sans. Signed-off-by: Ioan-Adrian Ratiu --- meta/files/common-licenses/ParaTypeFFL-1.3 | 44 ++ 1 file changed, 44 insertions(+) create mode

[OE-core] [PATCH v8 6/6] sign_package_feed: add feed signature type

2016-03-10 Thread Ioan-Adrian Ratiu
Signing package feeds will default to ascii armored signatures (ASC) the other option being binary (BIN). This is for both rpm and ipk backends. Signed-off-by: Ioan-Adrian Ratiu --- meta/classes/sign_package_feed.bbclass | 12 +++- meta/lib/oe/package_manager.py | 10

[OE-core] [PATCH v8 3/6] gpg_sign: export_pubkey: add signature type support

2016-03-10 Thread Ioan-Adrian Ratiu
Add support for multiple types of signatures (binary or ascii) in export_pubkey(). There is no change in behaviour for the function, the previous implicit default is the new parameter "armor" default. Signed-off-by: Ioan-Adrian Ratiu --- meta/lib/oe/gpg_sign.py | 6 -- 1 file

[OE-core] [PATCH v8 5/6] package_manager: sign IPK package feeds

2016-03-10 Thread Ioan-Adrian Ratiu
Create gpg signed ipk package feeds using the gpg backend if configured Signed-off-by: Ioan-Adrian Ratiu --- meta/lib/oe/package_manager.py | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index

[OE-core] [PATCH v8 2/6] gpg_sign: detach_sign: fix gpg > 2.1 STDIN file descriptor

2016-03-10 Thread Ioan-Adrian Ratiu
gives an invalid option error, so we detect what is the running version of gpg and pass it accordingly. [1] https://wiki.archlinux.org/index.php/GnuPG#Unattended_passphrase Signed-off-by: Ioan-Adrian Ratiu --- meta/lib/oe/gpg_sign.py | 16 1 file changed, 16 insertions(+) diff --g

[OE-core] [PATCH v8 1/6] gpg_sign: add local ipk package signing functionality

2016-03-10 Thread Ioan-Adrian Ratiu
opkg-keyrings recipe. Signed-off-by: Ioan-Adrian Ratiu --- meta/classes/package_ipk.bbclass | 5 meta/classes/sign_ipk.bbclass| 52 meta/lib/oe/gpg_sign.py | 38 +++-- 3 files changed, 83 insertions(+), 12 dele

  1   2   >