Re: [OE-core] [PATCH] apt: update SRC_URI

2018-11-19 Thread Jonathan Liu
Hi, On Thu, 1 Nov 2018 at 14:16, wrote: > > From: Changqing Li > > update SRC_URI since previous link is not valid now > > Signed-off-by: Changqing Li > --- > meta/recipes-devtools/apt/apt.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

[OE-core] [PATCH] kernel.bbclass: improve reproducibility

2018-04-02 Thread Jonathan Liu
Set KBUILD_BUILD_VERSION=1 to avoid build version being incremented on every build. It is visible in the output of "cat /proc/version" after the hash character. Signed-off-by: Jonathan Liu <net...@gmail.com> --- meta/classes/kernel.bbclass | 1 + 1 file changed, 1 insertion(+) d

[OE-core] [PATCH] syslinux: Update HOMEPAGE

2017-08-15 Thread Jonathan Liu
Signed-off-by: Jonathan Liu <net...@gmail.com> --- meta/recipes-devtools/syslinux/syslinux_6.03.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/syslinux/syslinux_6.03.bb b/meta/recipes-devtools/syslinux/syslinux_6.03.bb index 69bce1f8d7..f8b1

[OE-core] [PATCH] wic: improve generating disk system identifier

2017-07-31 Thread Jonathan Liu
This should reduce the chance of generating 0x as the disk system identifier. Signed-off-by: Jonathan Liu <net...@gmail.com> --- scripts/lib/wic/plugins/imager/direct.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/lib/wic/plugins/imager/direct

Re: [OE-core] [PATCH v3] wic: ensure generated disk system identifier is non-zero

2017-07-31 Thread Jonathan Liu
On 31 July 2017 at 17:58, Jonathan Liu <net...@gmail.com> wrote: > Hi Ed, > > On 31 July 2017 at 17:28, Ed Bartosh <ed.bart...@linux.intel.com> wrote: >> On Sun, Jul 30, 2017 at 08:37:26PM +1000, Jonathan Liu wrote: >>> Hi Ed, >>> >

Re: [OE-core] [PATCH v3] wic: ensure generated disk system identifier is non-zero

2017-07-31 Thread Jonathan Liu
Hi Ed, On 31 July 2017 at 17:28, Ed Bartosh <ed.bart...@linux.intel.com> wrote: > On Sun, Jul 30, 2017 at 08:37:26PM +1000, Jonathan Liu wrote: >> Hi Ed, >> >> On 30 July 2017 at 20:02, Ed Bartosh <ed.bart...@linux.intel.com> wrote: >> > On Sat, Jul

Re: [OE-core] [PATCH v3] wic: ensure generated disk system identifier is non-zero

2017-07-30 Thread Jonathan Liu
Hi Ed, On 30 July 2017 at 20:02, Ed Bartosh <ed.bart...@linux.intel.com> wrote: > On Sat, Jul 29, 2017 at 12:45:27AM +1000, Jonathan Liu wrote: >> Zero may be interpreted as no MBR signature present and another >> partitioning program might install a new MBR signat

[OE-core] [PATCH v3] wic: ensure generated disk system identifier is non-zero

2017-07-28 Thread Jonathan Liu
Zero may be interpreted as no MBR signature present and another partitioning program might install a new MBR signature. Signed-off-by: Jonathan Liu <net...@gmail.com> --- scripts/lib/wic/plugins/imager/direct.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/l

[OE-core] [PATCH v2] wic: ensure generated disk system identifier is non-zero

2017-07-28 Thread Jonathan Liu
Zero may be interpreted as no FAT serial number or no MBR signature. Signed-off-by: Jonathan Liu <net...@gmail.com> --- scripts/lib/wic/plugins/imager/direct.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/wic/plugins/imager/direct.py b/scripts/lib/wic/p

[OE-core] [PATCH] wic: ensure genearted disk system identifier is non-zero

2017-07-28 Thread Jonathan Liu
Zero may be interpreted as no FAT serial number or no MBR signature. Signed-off-by: Jonathan Liu <net...@gmail.com> --- scripts/lib/wic/plugins/imager/direct.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/wic/plugins/imager/direct.py b/scripts/lib/wic/p

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

2017-07-28 Thread Jonathan Liu
Hi Tom, On 28 July 2017 at 21:31, Tom Rini <tr...@konsulko.com> wrote: > On Fri, Jul 28, 2017 at 09:09:55PM +1000, Jonathan Liu wrote: >> Hi Tom, >> >> On 26 July 2017 at 05:58, Tom Rini <tr...@konsulko.com> wrote: >> > The vmdk/vdi/qcow2 IMAGE_F

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

2017-07-28 Thread Jonathan Liu
Hi Tom, On 26 July 2017 at 05:58, Tom Rini wrote: > 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

Re: [OE-core] [PATCH v2] bitbake.conf: Add sdl-config to HOSTTOOLS if using host SDL

2017-06-27 Thread Jonathan Liu
Hi Richard, On 27 June 2017 at 22:56, Jonathan Liu <net...@gmail.com> wrote: > Hi Richard, > > On 27 June 2017 at 22:54, Richard Purdie > <richard.pur...@linuxfoundation.org> wrote: >> On Tue, 2017-06-27 at 11:05 +0200, Patrick Ohly wrote: >>> On Thu, 2017-0

Re: [OE-core] [PATCH v2] bitbake.conf: Add sdl-config to HOSTTOOLS if using host SDL

2017-06-27 Thread Jonathan Liu
Hi Richard, On 27 June 2017 at 22:54, Richard Purdie <richard.pur...@linuxfoundation.org> wrote: > On Tue, 2017-06-27 at 11:05 +0200, Patrick Ohly wrote: >> On Thu, 2017-06-01 at 22:15 +1000, Jonathan Liu wrote: >> > >> > If ASSUME_PROVIDES contains libsdl-native

Re: [OE-core] [PATCH v2] bitbake.conf: Add sdl-config to HOSTTOOLS if using host SDL

2017-06-27 Thread Jonathan Liu
Hi Patrick, On 27 June 2017 at 20:38, Patrick Ohly <patrick.o...@intel.com> wrote: > On Tue, 2017-06-27 at 20:24 +1000, Jonathan Liu wrote: >> Hi Patrick, >> >> The original problem was that bitbake would print out the error: >> "libsdl-native is set to b

Re: [OE-core] [PATCH v2] bitbake.conf: Add sdl-config to HOSTTOOLS if using host SDL

2017-06-27 Thread Jonathan Liu
Hi Patrick, The original problem was that bitbake would print out the error: "libsdl-native is set to be ASSUME_PROVIDED but sdl-config can't be found in PATH. Please either install it, or configure qemu not to require sdl.", if "libsdl-native" was in ASSUME_PROVIDED even if the host has

Re: [OE-core] [PATCH v2] bitbake.conf: Add sdl-config to HOSTTOOLS if using host SDL

2017-06-27 Thread Jonathan Liu
which ncdu /usr/bin/ncdu $ which whoami /usr/bin/whoami For some reason /usr/bin is contained in PATH. Previously it was filtered out. Regards, Jonathan On 27 June 2017 at 19:05, Patrick Ohly <patrick.o...@intel.com> wrote: > On Thu, 2017-06-01 at 22:15 +1000, Jonathan Liu wrote: &g

Re: [OE-core] [pyro][PATCH] bitbake.conf: Add sdl-config to HOSTTOOLS if using host SDL

2017-06-14 Thread Jonathan Liu
On 6 June 2017 at 09:59, Jonathan Liu <net...@gmail.com> wrote: > If ASSUME_PROVIDES contains libsdl-native, we need to add sdl-config > to HOSTTOOLS to allow access to the host sdl-config. > > (From OE-Core rev: eeb248c1a017e07e36b6fbaafe45006e3869f41a) > > Signed-o

[OE-core] [master][pyro][PATCH] bitbake.conf: Add whoami to HOSTTOOLS

2017-06-11 Thread Jonathan Liu
The whoami command is used when building the Linux kernel in scripts/mkcompile_h to embed the build user that is visible in /proc/version. Signed-off-by: Jonathan Liu <net...@gmail.com> --- meta/conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/met

Re: [OE-core] [master][pyro][PATCH] image-vm: Avoid use of fold, tac and paste commands for DISK_SIGNATURE

2017-06-08 Thread Jonathan Liu
Hi Ross, It is the shell not awk. For example: $ echo $(false) $ echo $? 0 Regards, Jonathan On 8 June 2017 at 21:18, Burton, Ross <ross.bur...@intel.com> wrote: > > On 8 June 2017 at 12:07, Jonathan Liu <net...@gmail.com> wrote: >> >> These commands are no

Re: [OE-core] [oe-core] DISK_SIGNATURE no longer functional

2017-06-08 Thread Jonathan Liu
t; The resulting PARTUUID in syslinux append line still doesn’t match the one > on the actual disk. > > > > > > From: Jonathan Liu [mailto:net...@gmail.com] > Sent: Tuesday, June 06, 2017 5:01 PM > > > To: Davis, Michael > Cc: openembedded-core@lists.openembedded.or

[OE-core] [master][pyro][PATCH] image-vm: Avoid use of fold, tac and paste commands for DISK_SIGNATURE

2017-06-08 Thread Jonathan Liu
These commands are not whitelisted by the HOSTTOOLS variable which silently prevents the MBR disk signature from being written to the image. Reported-by: Michael Davis <michael.da...@essvote.com> Signed-off-by: Jonathan Liu <net...@gmail.com> --- meta/classes/image-vm.bbclass |

Re: [OE-core] [oe-core] DISK_SIGNATURE no longer functional

2017-06-06 Thread Jonathan Liu
dditions killed it. > > > -Original Message----- > From: Jonathan Liu [mailto:net...@gmail.com] > Sent: Monday, June 05, 2017 7:17 PM > To: Davis, Michael > Cc: openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [oe-core] DISK_SIGNATURE no longer functional >

Re: [OE-core] [oe-core] DISK_SIGNATURE no longer functional

2017-06-05 Thread Jonathan Liu
Hi Michael, On 21 May 2017 at 03:16, Davis, Michael wrote: > I am trying to create a generic MSDOS PC_BIOS hdddirect image with a root > partition set by the DISK_SIGNATURE. > > SYSLINUX_ROOT = "root=PARTUUID=${DISK_SIGNATURE}-02" > > > > However the signature

[OE-core] [pyro][PATCH] bitbake.conf: Add sdl-config to HOSTTOOLS if using host SDL

2017-06-05 Thread Jonathan Liu
If ASSUME_PROVIDES contains libsdl-native, we need to add sdl-config to HOSTTOOLS to allow access to the host sdl-config. (From OE-Core rev: eeb248c1a017e07e36b6fbaafe45006e3869f41a) Signed-off-by: Jonathan Liu <net...@gmail.com> Signed-off-by: Ross Burton <ross.bur...@intel.com> --

[OE-core] [PATCH v2] bitbake.conf: Add sdl-config to HOSTTOOLS if using host SDL

2017-06-01 Thread Jonathan Liu
If ASSUME_PROVIDES contains libsdl-native, we need to add sdl-config to HOSTTOOLS to allow access to the host sdl-config. Signed-off-by: Jonathan Liu <net...@gmail.com> --- meta/conf/bitbake.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/conf/bitbake.conf b/met

[OE-core] [PATCH] bitbake.conf: Add sdl-config to HOSTTOOLS if using host SDL

2017-06-01 Thread Jonathan Liu
If ASSUME_PROVIVES contains libsdl-native, we need to add sdl-config to HOSTTOOLS to allow access to the host sdl-config. Signed-off-by: Jonathan Liu <net...@gmail.com> --- meta/conf/bitbake.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/conf/bitbake.conf b/met

Re: [OE-core] [PATCH v2] eudev: restore userspace firmware loading support

2017-03-27 Thread Jonathan Liu
in: > > , > | commit 31163abc7bedd477c1aad10e6d1f47dbee194513 > | Author: Jonathan Liu <net...@gmail.com> > | Date: Thu Mar 19 15:38:32 2015 +1100 > | > | systemd: restore userspace firmware loading support > | > | This changes the minimum required Linux version from 3.7 back

Re: [OE-core] linux-yocto and linux-libc-headers are again going backwards

2016-10-12 Thread Jonathan Liu
On 12 October 2016 at 23:18, Martin Jansa wrote: > On Thu, Oct 06, 2016 at 10:54:22AM +0200, Martin Jansa wrote: >> Either use 4.7.99+4.8-rc4 like most other recipes do or at least "4.8~rc4" >> which might sort lower than "4.8" (but needs to be verified for all >>

Re: [OE-core] Taskhash mismatch?

2016-10-02 Thread Jonathan Liu
On 2 October 2016 at 18:28, Gary Thomas wrote: > Can someone explain this error? > > ERROR: video-demo-image-1.0-r0 do_image_rpi_sdimg: Taskhash mismatch > 7b8eab500890bd7cd6a00b70740800f1 versus 9471c988c4adee881554263bd10f7196 for >

Re: [OE-core] Crazy display

2016-09-26 Thread Jonathan Liu
Hi Gary, On 15 September 2016 at 21:30, Gary Thomas wrote: > I haven't seen this before, just thought I'd toss it out there. > I was doing a build (actually three in parallel in separate > windows on my build box) and noticed this: > > Currently 3 running tasks (3282 of 5081)

Re: [OE-core] [PATCH] image.bbclass: Do not expand variables in IMAGE_CMD vardepsexclude

2016-09-13 Thread Jonathan Liu
Hi Richard, On 13 September 2016 at 02:43, Richard Purdie <richard.pur...@linuxfoundation.org> wrote: > On Tue, 2016-09-13 at 00:05 +1000, Jonathan Liu wrote: >> Hi Richard, >> >> On 12 September 2016 at 20:19, Richard Purdie >> <richard.pur...@linuxfoundatio

Re: [OE-core] [PATCH] image.bbclass: Do not expand variables in IMAGE_CMD vardepsexclude

2016-09-12 Thread Jonathan Liu
Hi Richard, On 12 September 2016 at 20:19, Richard Purdie <richard.pur...@linuxfoundation.org> wrote: > On Sun, 2016-09-11 at 22:14 +1000, Jonathan Liu wrote: >> This fixes tashhash mismatch errors creating images when IMAGE_CMD >> references a variable whose value is always

[OE-core] [PATCH] image.bbclass: Do not expand variables in IMAGE_CMD vardepsexclude

2016-09-11 Thread Jonathan Liu
This fixes tashhash mismatch errors creating images when IMAGE_CMD references a variable whose value is always changing even though the variable is specified in IMAGE_CMD vardepsexclude. Signed-off-by: Jonathan Liu <net...@gmail.com> --- meta/classes/image.bbclass | 4 1 file chan

[OE-core] [krogoth][master][PATCH] image-vm.bbclass: remove old images if RM_OLD_IMAGE is enabled

2016-08-19 Thread Jonathan Liu
[YOCTO #10164] Signed-off-by: Jonathan Liu <net...@gmail.com> --- meta/classes/image-vm.bbclass | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/meta/classes/image-vm.bbclass b/meta/classes/image-vm.bbclass index 72f7b4b..bf57e2c 100644 --- a/meta/classes

[OE-core] [krogoth][jethro][PATCH] meta/classes: fix bb.build.FuncFailed typos

2016-08-07 Thread Jonathan Liu
Signed-off-by: Jonathan Liu <net...@gmail.com> --- meta/classes/grub-efi.bbclass | 2 +- meta/classes/gummiboot.bbclass | 4 ++-- meta/classes/syslinux.bbclass | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.b

[OE-core] [PATCH] meta/classes: fix bb.build.FuncFailed typos

2016-08-07 Thread Jonathan Liu
Signed-off-by: Jonathan Liu <net...@gmail.com> --- meta/classes/grub-efi.bbclass | 2 +- meta/classes/gummiboot.bbclass| 4 ++-- meta/classes/syslinux.bbclass | 2 +- meta/classes/systemd-boot.bbclass | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git

[OE-core] [krogoth][master][PATCH] ref-manual: change SYSLINUX_ROOT to ROOT_VM for DISK_SIGNATURE variable

2016-08-06 Thread Jonathan Liu
The SYSLINUX_ROOT variable was renamed to ROOT_VM in krogoth. Signed-off-by: Jonathan Liu <net...@gmail.com> --- documentation/ref-manual/ref-variables.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/documentation/ref-manual/ref-variables.xml b/documentati

Re: [OE-core] [PATCH] gdb-cross-canadian: disable conflicting PACKAGECONFIG variables

2016-04-01 Thread Jonathan Liu
Hi Khem, On 27 March 2016 at 17:42, Khem Raj <raj.k...@gmail.com> wrote: > On Sat, Mar 26, 2016 at 5:45 PM, Jonathan Liu <net...@gmail.com> wrote: >> The PACKAGECONFIG variables in gdb-common.inc don't work correctly for >> the cross recipes so they need to be dis

[OE-core] [PATCH] gdb-cross-canadian: disable conflicting PACKAGECONFIG variables

2016-03-26 Thread Jonathan Liu
PACKAGECONFIG just adds an unnecessary extra dependency on readline. The --with-system-readline configure argument is explicitly added to EXTRA_OECONF to ensure we link to nativesdk-readline. Signed-off-by: Jonathan Liu <net...@gmail.com> --- meta/recipes-devtools/gdb/gdb-cross-canadian.inc | 7

[OE-core] [PATCH] gdb-cross: disable conflicting PACKAGECONFIG variables

2016-03-26 Thread Jonathan Liu
just adds an unnecessary extra dependency on readline. The --with-system-readline configure argument is explicitly added to EXTRA_OECONF to ensure we link to readline-native. Signed-off-by: Jonathan Liu <net...@gmail.com> --- meta/recipes-devtools/gdb/gdb-cross.inc | 5 + 1 file chan

Re: [OE-core] [PATCH] gdb-cross-canadian: use PACKAGECONFIG for python and readline

2016-03-26 Thread Jonathan Liu
Hi Richard, On 27 March 2016 at 09:46, Richard Purdie <richard.pur...@linuxfoundation.org> wrote: > On Fri, 2016-03-25 at 22:33 +1100, Jonathan Liu wrote: >> Signed-off-by: Jonathan Liu <net...@gmail.com> >> --- >> meta/recipes-devtools/gdb/gdb-cross-canadian

Re: [OE-core] [PATCH] gdb-cross: fix enabling of Python support

2016-03-25 Thread Jonathan Liu
On 25 March 2016 at 17:25, Jonathan Liu <net...@gmail.com> wrote: > Python support was not being enabled because of a conflicting > --without-python configure argument in OE_EXTRACONF. > > Signed-off-by: Jonathan Liu <net...@gmail.com> > --- > meta/recipes-devtool

Re: [OE-core] [PATCH] gdb-cross-canadian: fix enabling of Python support

2016-03-25 Thread Jonathan Liu
On 25 March 2016 at 17:25, Jonathan Liu <net...@gmail.com> wrote: > Python support was not being enabled because of a conflicting > --without-python configure argument in OE_EXTRACONF. > > Signed-off-by: Jonathan Liu <net...@gmail.com> > --- > meta/recipes-devtools/

[OE-core] [PATCH] gdb-cross-canadian: use PACKAGECONFIG for python and readline

2016-03-25 Thread Jonathan Liu
Signed-off-by: Jonathan Liu <net...@gmail.com> --- meta/recipes-devtools/gdb/gdb-cross-canadian.inc | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc index a

[OE-core] [PATCH] gdb-cross: use PACKAGECONFIG for python and readline

2016-03-25 Thread Jonathan Liu
Signed-off-by: Jonathan Liu <net...@gmail.com> --- meta/recipes-devtools/gdb/gdb-cross.inc | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/gdb/gdb-cross.inc b/meta/recipes-devtools/gdb/gdb-cross.inc index 6e44778..2468d23 100644 --- a/meta/r

Re: [OE-core] [PATCH] gdb-cross-canadian: fix enabling of Python support

2016-03-25 Thread Jonathan Liu
Hi Richard, On 25 March 2016 at 20:26, Richard Purdie <richard.pur...@linuxfoundation.org> wrote: > On Fri, 2016-03-25 at 19:58 +1100, Jonathan Liu wrote: >> Hi Richard, >> >> On 25 March 2016 at 19:54, Richard Purdie >> <richard.pur...@linuxfoundation.org>

Re: [OE-core] [PATCH] gdb-cross-canadian: fix enabling of Python support

2016-03-25 Thread Jonathan Liu
Hi Richard, On 25 March 2016 at 19:54, Richard Purdie <richard.pur...@linuxfoundation.org> wrote: > On Fri, 2016-03-25 at 17:25 +1100, Jonathan Liu wrote: >> Python support was not being enabled because of a conflicting >> --without-python configure argument in OE_EXTRAC

Re: [OE-core] [PATCH] gdb: Rationalise PACKAGECONFIG

2016-03-25 Thread Jonathan Liu
Hi Richard, On 15 February 2016 at 01:33, Richard Purdie wrote: > Having two separate PACKAGECONFIG defaults and settings in two separate > files is confusing. Move all to the common inc file. > > Signed-off-by: Richard Purdie

[OE-core] [PATCH] gdb-cross: fix enabling of Python support

2016-03-25 Thread Jonathan Liu
Python support was not being enabled because of a conflicting --without-python configure argument in OE_EXTRACONF. Signed-off-by: Jonathan Liu <net...@gmail.com> --- meta/recipes-devtools/gdb/gdb-cross.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/g

[OE-core] [PATCH] gdb-cross-canadian: fix enabling of Python support

2016-03-25 Thread Jonathan Liu
Python support was not being enabled because of a conflicting --without-python configure argument in OE_EXTRACONF. Signed-off-by: Jonathan Liu <net...@gmail.com> --- meta/recipes-devtools/gdb/gdb-cross-canadian.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/g

[OE-core] [PATCH] e2fsprogs: do not enable non-stable features by default

2016-02-29 Thread Jonathan Liu
Signed-off-by: Jonathan Liu <net...@gmail.com> --- ...fs-enable-the-metadata_csum-and-64bit-fea.patch | 34 ++ meta/recipes-devtools/e2fsprogs/e2fsprogs_git.bb | 1 + 2 files changed, 35 insertions(+) create mode 100644 meta/recipes-devtools/e2fsprogs/e2fsprogs/

[OE-core] [PATCH] ffmpeg: add bzlib, lzma and xv PACKAGECONFIGs

2016-02-26 Thread Jonathan Liu
Signed-off-by: Jonathan Liu <net...@gmail.com> --- meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb index 3f0cbf8..036d4f1

Re: [OE-core] [PATCH] ffmpeg: add bzlib and lzma PACKAGECONFIGs

2016-02-26 Thread Jonathan Liu
On 26 February 2016 at 22:16, Jonathan Liu <net...@gmail.com> wrote: > Signed-off-by: Jonathan Liu <net...@gmail.com> > --- > meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/meta/recipes-multim

Re: [OE-core] [PATCH] ffmpeg: fix build when DISTRO_FEATURES doesn't contain x11

2016-02-26 Thread Jonathan Liu
On 27 February 2016 at 01:43, wrote: >>> I'd call that a bug, and should be simple to resolve (pass expand=True >>> when >>> fetching getVarFlags in the PACKAGECONFIG handling code). >>> >>> Ross >> >> Feel free to submit a patch to handle the PACKAGECONFIG

Re: [OE-core] [PATCH] ffmpeg: fix build when DISTRO_FEATURES doesn't contain x11

2016-02-26 Thread Jonathan Liu
On 26 February 2016 at 23:33, Burton, Ross <ross.bur...@intel.com> wrote: > > On 26 February 2016 at 11:17, Jonathan Liu <net...@gmail.com> wrote: >> >> It doesn't work in PACKAGECONFIG. that is the first thing I tried. > > > I'd call that a bug, and s

Re: [OE-core] [PATCH] ffmpeg: fix build when DISTRO_FEATURES doesn't contain x11

2016-02-26 Thread Jonathan Liu
Hi Martin, It doesn't work in PACKAGECONFIG. that is the first thing I tried. Regards, Jonathan On 26 February 2016 at 22:04, Martin Jansa <martin.ja...@gmail.com> wrote: > On Fri, Feb 26, 2016 at 09:52:25PM +1100, Jonathan Liu wrote: >> If avdevice is enabled

[OE-core] [PATCH v2] ffmpeg: fix build when DISTRO_FEATURES doesn't contain x11

2016-02-26 Thread Jonathan Liu
and DISTRO_FEATURES contains x11. XV outdev is only one of many that are supported by avdevice so it is still useful to enable avdevice even if libxv is not available. Signed-off-by: Jonathan Liu <net...@gmail.com> --- meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb | 3 ++- 1 file chan

[OE-core] [PATCH] ffmpeg: add bzlib and lzma PACKAGECONFIGs

2016-02-26 Thread Jonathan Liu
Signed-off-by: Jonathan Liu <net...@gmail.com> --- meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb index e7b20fa..53156ed

[OE-core] [PATCH] ffmpeg: fix build when DISTRO_FEATURES doesn't contain x11

2016-02-26 Thread Jonathan Liu
and DISTRO_FEATURES contains x11. XV outdev is only one of many that are supported by avdevice so it is still useful to enable avdevice even if libxv is not available. Signed-off-by: Jonathan Liu <net...@gmail.com> --- meta/recipes-multimedia/ffmpeg/ffmpeg_2.8.6.bb | 3 ++- 1 file chan

[OE-core] [PATCH] rootfs-postcommands: fix ssh_allow_empty_password checking

2016-02-26 Thread Jonathan Liu
The ssh_allow_empty_password function doesn't check if sshd_config_readonly exists before running sed which can result in an error if sshd_config exists but sshd_config_readonly doesn't. Signed-off-by: Jonathan Liu <net...@gmail.com> --- meta/classes/rootfs-postcommands.bbclas

Re: [OE-core] [PATCH] image: Handle image types containing '-' correctly

2016-01-17 Thread Jonathan Liu
uot; % (t, > 'do_image_complete', after)) > bb.build.addtask('do_image_%s' % t, 'do_image_complete', after, d) > } > > This fixes building Raspberry Pi 2 SD images for me. I have the tested patch and it is working. Signed-off-by: Jonathan Liu <net...@gmail.com>

[OE-core] [PATCH] systemd: add PACKAGECONFIG for qrencode

2015-09-27 Thread Jonathan Liu
Signed-off-by: Jonathan Liu <net...@gmail.com> --- meta/recipes-core/systemd/systemd_225.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/systemd/systemd_225.bb b/meta/recipes-core/systemd/systemd_225.bb index ef8d297..0ad6378 100644 --- a/meta/recipes-core/s

[OE-core] [fido][PATCH] systemd: add PACKAGECONFIG for qrencode

2015-09-27 Thread Jonathan Liu
Signed-off-by: Jonathan Liu <net...@gmail.com> --- meta/recipes-core/systemd/systemd_219.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/systemd/systemd_219.bb b/meta/recipes-core/systemd/systemd_219.bb index b972dd4..142bdb8 100644 --- a/meta/recipes-core/s

Re: [OE-core] [PATCH] opkg: create opkg.lock in /run instead of /var/run

2015-09-25 Thread Jonathan Liu
On 21/09/2015 10:16 PM, Anders Darander wrote: * Jonathan Liu <net...@gmail.com> [150921 13:08]: This avoids a "Could not unlink" warning when extracting a /var/run symbolic link pointing to /run from the base-files package as it is unable to unlink the /var/run directory

[OE-core] [meta-oe][PATCH v2] opkg: create opkg.lock in /run instead of /var/run

2015-09-25 Thread Jonathan Liu
bolic link to /run. Signed-off-by: Jonathan Liu <net...@gmail.com> Acked-by: Anders Darander <and...@chargestorm.se> --- ...reate-opkg.lock-in-run-instead-of-var-run.patch | 34 ++ meta/recipes-devtools/opkg/opkg_0.3.0.bb | 1 + 2 files changed, 35 inse

Re: [OE-core] [meta-oe][PATCH v2] opkg: create opkg.lock in /run instead of /var/run

2015-09-25 Thread Jonathan Liu
On 26/09/2015 9:34 AM, Jonathan Liu wrote: This avoids a "Could not unlink" warning when extracting a /var/run symbolic link pointing to /run from the base-files package as it is unable to unlink the /var/run directory when it contains opkg.lock. This also fixes an issue wher

[OE-core] [PATCH v2] opkg: create opkg.lock in /run instead of /var/run

2015-09-25 Thread Jonathan Liu
bolic link to /run. Signed-off-by: Jonathan Liu <net...@gmail.com> Acked-by: Anders Darander <and...@chargestorm.se> --- ...reate-opkg.lock-in-run-instead-of-var-run.patch | 34 ++ meta/recipes-devtools/opkg/opkg_0.3.0.bb | 1 + 2 files changed, 35 inse

Re: [OE-core] [PATCH] systemd: disable problematic GCC 5.2 optimizations

2015-09-21 Thread Jonathan Liu
On 21/09/2015 10:23 PM, Burton, Ross wrote: On 21 September 2015 at 12:23, Jonathan Liu <net...@gmail.com <mailto:net...@gmail.com>> wrote: +FULL_OPTIMIZATION += "-fno-schedule-insns -fno-schedule-insns2" Are these bugs with the gcc optimisations or the systemd so

[OE-core] [PATCH] opkg: create opkg.lock in /run instead of /var/run

2015-09-21 Thread Jonathan Liu
bolic link to /run. Signed-off-by: Jonathan Liu <net...@gmail.com> --- ...reate-opkg.lock-in-run-instead-of-var-run.patch | 34 ++ meta/recipes-devtools/opkg/opkg_0.3.0.bb | 1 + 2 files changed, 35 insertions(+) create mode 100644 meta/recipes-devtool

Re: [OE-core] [PATCH] opkg: create opkg.lock in /run instead of /var/run

2015-09-21 Thread Jonathan Liu
On 21/09/2015 10:02 PM, Jussi Kukkonen wrote: On 21 September 2015 at 14:09, Jonathan Liu <net...@gmail.com <mailto:net...@gmail.com>> wrote: This avoids a "Could not unlink" warning when extracting a /var/run symbolic link pointing to /run from

[OE-core] [PATCH] systemd: disable problematic GCC 5.2 optimizations

2015-09-21 Thread Jonathan Liu
This fixes systemd failing to start on Raspberry Pi 2 if it is compiled with GCC 5.2. It would try to start "Journal Service" and "udev Kernel Device Manager" but fail repeatedly. [YOCTO #8291] Signed-off-by: Jonathan Liu <net...@gmail.com> --- meta/recipes-core/

Re: [OE-core] [PATCH] systemd: disable problematic GCC 5.2 optimizations

2015-09-21 Thread Jonathan Liu
Hi Adrian, On 21/09/2015 10:45 PM, Adrian Freihofer wrote: On Beaglebone-black Systemd 215 does not boot if compiled with -O2. Compiling with -O1 works. 2015-09-21 14:31 GMT+02:00 Jonathan Liu <net...@gmail.com <mailto:net...@gmail.com>>: On 21/09/2015 10:23 PM, Burton

[OE-core] [PATCH v2] systemd: disable problematic GCC 5.2 optimizations

2015-09-21 Thread Jonathan Liu
This fixes systemd failing to start on Raspberry Pi 2 if it is compiled with GCC 5.2. It would try to start "Journal Service" and "udev Kernel Device Manager" but fail repeatedly. [YOCTO #8291] Signed-off-by: Jonathan Liu <net...@gmail.com> --- meta/recipes-core/

Re: [OE-core] [PATCH] systemd: disable problematic GCC 5.2 optimizations

2015-09-21 Thread Jonathan Liu
depending on TUNE_FEATURES and TARGET_FPU. On Sep 21, 2015 4:22 AM, "Jonathan Liu" <net...@gmail.com <mailto:net...@gmail.com>> wrote: This fixes systemd failing to start on Raspberry Pi 2 if it is compiled with GCC 5.2. It would try to start "Journa

[OE-core] [PATCH] image.py: make sure ROOTFS_SIZE is an integer

2015-09-16 Thread Jonathan Liu
_get_rootfs_size was returning a float in some cases (e.g. 12288.0). Signed-off-by: Jonathan Liu <net...@gmail.com> --- meta/lib/oe/image.py | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/meta/lib/oe/image.py b/meta/lib/oe/image.py index 2361955..f8aa88b

Re: [OE-core] [oe-commits] Nicolas Dechesne : mesa: upgrade 10.5.8 - 10.6.3

2015-08-18 Thread Jonathan Liu
On 19 August 2015 at 05:23, Burton, Ross ross.bur...@intel.com wrote: On 18 August 2015 at 20:04, Martin Jansa martin.ja...@gmail.com wrote: I haven't tried to find out what's the replacement for this yet, but it's the reason why mesa is now failing in my bitbake world builds (fbdev is added

Re: [OE-core] [PATCH 2/4] systemd: Upgrade 219 - 224

2015-08-16 Thread Jonathan Liu
Hi Khem, On 16 August 2015 at 11:21, Khem Raj raj.k...@gmail.com wrote: diff --git a/meta/recipes-core/systemd/systemd_219.bb b/meta/recipes-core/systemd/systemd_224.bb similarity index 94% rename from meta/recipes-core/systemd/systemd_219.bb rename to

Re: [OE-core] [daisy][PATCH v2] systemd: fix /var/log/journal ownership

2015-04-21 Thread Jonathan Liu
On 26 March 2015 at 11:33, Jonathan Liu net...@gmail.com wrote: On 12/03/2015 8:20 PM, Jonathan Liu wrote: The ownership needs to be explicitly set otherwise it inherits the user and group id of the build user. Signed-off-by: Jonathan Liu net...@gmail.com --- meta/recipes-core/systemd

Re: [OE-core] [PATCH 1/1] systemd: fix SULOGIN path

2015-03-25 Thread Jonathan Liu
On 25/03/2015 5:03 PM, Chen Qi wrote: Fix SULOGIN path so that rescue.service doesn't use `sulogin' from the sysroot part of the build on host, which would lead to errors like below when booting into rescue mode. /bin/sh:

Re: [OE-core] [daisy][PATCH v2] systemd: fix /var/log/journal ownership

2015-03-25 Thread Jonathan Liu
On 12/03/2015 8:20 PM, Jonathan Liu wrote: The ownership needs to be explicitly set otherwise it inherits the user and group id of the build user. Signed-off-by: Jonathan Liu net...@gmail.com --- meta/recipes-core/systemd/systemd_211.bb | 2 ++ 1 file changed, 2 insertions(+) Ping

Re: [OE-core] [dizzy][PATCH] liburcu: revert ARM GCC blacklist commit

2015-03-25 Thread Jonathan Liu
On 16/03/2015 10:29 PM, Jonathan Liu wrote: This fixes the following error when building liburcu: Your gcc version produces clobbered frame accesses OE-Core is using a patched GCC 4.8.2 which is able to compile liburcu properly. Signed-off-by: Jonathan Liu net...@gmail.com --- ...evert

Re: [OE-core] [dizzy][PATCH v2] systemd: fix /var/log/journal ownership

2015-03-25 Thread Jonathan Liu
On 12/03/2015 8:20 PM, Jonathan Liu wrote: The ownership needs to be explicitly set otherwise it inherits the user and group id of the build user. Signed-off-by: Jonathan Liu net...@gmail.com --- meta/recipes-core/systemd/systemd_216.bb | 2 ++ 1 file changed, 2 insertions(+) Ping

[OE-core] [PATCH] systemd: fix firmware path to match linux-firmware

2015-03-23 Thread Jonathan Liu
Signed-off-by: Jonathan Liu net...@gmail.com --- meta/recipes-core/systemd/systemd_219.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/systemd/systemd_219.bb b/meta/recipes-core/systemd/systemd_219.bb index 5ecdda9..f2d3c13 100644 --- a/meta/recipes-core

Re: [OE-core] systemd + run-postinsts.service

2015-03-23 Thread Jonathan Liu
On 24/03/2015 8:57 AM, Patrick Ohly wrote: Hello! I'm using systemd from OE-core master to boot core-image-minimal. I'm seeing a boot failure where Run pending postinsts (aka run-postinsts.service) gets stuck during booting under very specific circumstances: 1. The package has a

Re: [OE-core] [PATCH] systemd: restore userspace firmware loading support

2015-03-18 Thread Jonathan Liu
On 19 March 2015 at 16:10, Khem Raj raj.k...@gmail.com wrote: On Thursday, March 19, 2015 03:38:32 PM Jonathan Liu wrote: This changes the minimum required Linux version from 3.7 back to 3.0. what is justification for this patch ? I would rather not regress but go with systemd community here

[OE-core] [PATCH] systemd: restore userspace firmware loading support

2015-03-18 Thread Jonathan Liu
This changes the minimum required Linux version from 3.7 back to 3.0. [YOCTO #7409] Signed-off-by: Jonathan Liu net...@gmail.com --- ...evert-rules-remove-firmware-loading-rules.patch | 28 ++ ...-remove-userspace-firmware-loading-suppor.patch | 367 + meta/recipes-core

[OE-core] [PATCH] systemd: set the location of binaries used by service files

2015-03-17 Thread Jonathan Liu
Otherwise systemd uses AC_PROG_PATH and finds it in the sysroot or host system, which won't work on the target. [YOCTO #7408] Signed-off-by: Jonathan Liu net...@gmail.com --- meta/recipes-core/systemd/systemd_219.bb | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta

[OE-core] [PATCH] base.bbclass: clean up warning message for 'S'

2015-03-17 Thread Jonathan Liu
Signed-off-by: Jonathan Liu net...@gmail.com --- meta/classes/base.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 2c2d019..3d9235e 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass

[OE-core] [dizzy][PATCH] liburcu: revert ARM GCC blacklist commit

2015-03-16 Thread Jonathan Liu
This fixes the following error when building liburcu: Your gcc version produces clobbered frame accesses OE-Core is using a patched GCC 4.8.2 which is able to compile liburcu properly. Signed-off-by: Jonathan Liu net...@gmail.com --- ...evert-Blacklist-ARM-gcc-4.8.0-4.8.1-4.8.2.patch | 47

[OE-core] [dizzy][PATCH v2] systemd: fix /var/log/journal ownership

2015-03-12 Thread Jonathan Liu
The ownership needs to be explicitly set otherwise it inherits the user and group id of the build user. Signed-off-by: Jonathan Liu net...@gmail.com --- meta/recipes-core/systemd/systemd_216.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-core/systemd/systemd_216.bb b/meta

[OE-core] [daisy][PATCH v2] systemd: fix /var/log/journal ownership

2015-03-12 Thread Jonathan Liu
The ownership needs to be explicitly set otherwise it inherits the user and group id of the build user. Signed-off-by: Jonathan Liu net...@gmail.com --- meta/recipes-core/systemd/systemd_211.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-core/systemd/systemd_211.bb b/meta

Re: [OE-core] [PATCH] systemd: fix /var/log/journal ownership

2015-03-12 Thread Jonathan Liu
On 12/03/2015 6:21 PM, Khem Raj wrote: On Mar 12, 2015, at 12:14 AM, ChenQi qi.c...@windriver.com wrote: On 03/10/2015 11:25 AM, Jonathan Liu wrote: The ownership needs to be explicitly set otherwise it inherits the user and group id of the build user. Signed-off-by: Jonathan Liu net

[OE-core] [PATCH v2] systemd: fix /var/log/journal ownership

2015-03-12 Thread Jonathan Liu
The ownership needs to be explicitly set otherwise it inherits the user and group id of the build user. Signed-off-by: Jonathan Liu net...@gmail.com --- meta/recipes-core/systemd/systemd_219.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-core/systemd/systemd_219.bb b/meta

[OE-core] [PATCH] util-linux: split libsmartcols into separate sub-package

2015-03-11 Thread Jonathan Liu
This avoids util-linux-fdisk pulling in util-linux and all the associated sub-packages. Signed-off-by: Jonathan Liu net...@gmail.com --- 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

Re: [OE-core] [PATCH] util-linux: split libsmartcols into separate sub-package

2015-03-11 Thread Jonathan Liu
On 11/03/2015 11:55 PM, Burton, Ross wrote: On 11 March 2015 at 12:37, Jonathan Liu net...@gmail.com mailto:net...@gmail.com wrote: Perhaps. I don't have experience in that area. Just done it, will send the patch once I've eaten lunch. Ross Thanks. Regards, Jonathan

Re: [OE-core] [PATCH] util-linux: split libsmartcols into separate sub-package

2015-03-11 Thread Jonathan Liu
On 11/03/2015 11:31 PM, Burton, Ross wrote: On 11 March 2015 at 07:00, Jonathan Liu net...@gmail.com mailto:net...@gmail.com wrote: This avoids util-linux-fdisk pulling in util-linux and all the associated sub-packages. util-linux is splitting so many packages and adding sub-packages

[OE-core] [dizzy][PATCH] fontcache.bbclass: prepend to PACKAGEFUNCS instead of appending

2015-03-10 Thread Jonathan Liu
in PACKAGEFUNCS. Prepend to PACKAGEFUNCS to ensure add_fontcache_postinsts is executed before emit_pkgdata. [YOCTO #7410] Signed-off-by: Jonathan Liu net...@gmail.com --- meta/classes/fontcache.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/fontcache.bbclass b/meta

Re: [OE-core] [dizzy][PATCH] libunwind: backport patch to link against libgcc_s intead of libgcc

2015-03-10 Thread Jonathan Liu
On 11 March 2015 at 14:19, Khem Raj raj.k...@gmail.com wrote: On Mar 10, 2015, at 8:05 PM, Jonathan Liu net...@gmail.com wrote: On 11 March 2015 at 13:43, Khem Raj raj.k...@gmail.com wrote: On Mar 10, 2015, at 7:33 PM, Jonathan Liu net...@gmail.com wrote: Signed-off-by: Jonathan Liu net

[OE-core] [dizzy][PATCH] systemd: fix /var/log/journal ownership

2015-03-10 Thread Jonathan Liu
The ownership needs to be explicitly set otherwise it inherits the user and group id of the build user. Signed-off-by: Jonathan Liu net...@gmail.com --- meta/recipes-core/systemd/systemd_216.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-core/systemd/systemd_216.bb b/meta

  1   2   3   4   >