Re: [OE-core] [PATCH] cmake: fix typo in toolchain file

2017-10-10 Thread Maciej Borzęcki
On Tue, Oct 10, 2017 at 2:25 PM, Alexander Kanavin wrote: > On 10/10/2017 03:00 PM, Øystein Walle wrote: > >> -set( CMAKE ASM_FLAGS ${CMAKE_C_FLAGS} CACHE STRING "" FORCE ) >> +set( CMAKE_ASM_FLAGS ${CMAKE_C_FLAGS} CACHE STRING "" FORCE ) > > > Where is the typo

Re: [OE-core] [PATCH V4] go: Add recipes for golang compilers and tools

2017-03-13 Thread Maciej Borzęcki
On Mon, Mar 13, 2017 at 6:58 PM, Otavio Salvador wrote: > On Fri, Mar 3, 2017 at 7:19 PM, Khem Raj wrote: >> * This is converging the recipes for go from >> meta-virtualization and oe-meta-go >> >> * Add recipes for go 1.7 > > Go 1.8 is out

Re: [OE-core] [PATCH V2] qemu-native: Point python to python2 on build host

2017-02-17 Thread Maciej Borzęcki
On Fri, Feb 17, 2017 at 6:29 PM, Burton, Ross wrote: > > On 16 February 2017 at 21:19, Khem Raj wrote: >> >> On buildhosts where default python has switched to using python3 >> qemu-native fails configure like this > > > What distro is this that ships

Re: [OE-core] [PATCH 1/3] go: Add recipes for golang compilers and tools

2017-02-12 Thread Maciej Borzęcki
On Tue, Feb 7, 2017 at 5:24 AM, Khem Raj wrote: > This is converging the recipes for go from > meta-virtualization and oe-meta-go > > Add recipes for go 1.7 > > go.bbclass is added to ease out writing > recipes for go packages I took these for a spin with current mender tree.

Re: [OE-core] [PATCH 1/3] go: Add recipes for golang compilers and tools

2017-02-12 Thread Maciej Borzęcki
On Sun, Feb 12, 2017 at 8:36 AM, Khem Raj wrote: > On Wed, Feb 8, 2017 at 6:00 AM, Richard Purdie > wrote: >> On Tue, 2017-02-07 at 17:35 +, Burton, Ross wrote: >>> >>> On 7 February 2017 at 04:24, Khem Raj wrote:

Re: [OE-core] [PATCH 1/2] go: Add recipes for golang compilers and tools

2017-01-25 Thread Maciej Borzęcki
On Mon, Dec 12, 2016 at 7:02 PM, Khem Raj wrote: > > On Dec 12, 2016, at 4:36 AM, Gary Thomas wrote: > > Looking at these recipes and they seem like a good starting point. > I did have some issues though: > > * bitbake go - didn't create any target

Re: [OE-core] [PATCH] staging: fix logic of guessing dependency manifest file in extend_recipe_sysroot

2017-01-24 Thread Maciej Borzęcki
On Tue, Jan 24, 2017 at 11:08 PM, Richard Purdie wrote: > On Tue, 2017-01-24 at 14:05 -0800, Khem Raj wrote: >> >> On 1/24/17 5:50 AM, Maciej Borzecki wrote: >> > >> > Recipe sysroots introduced a change where dependencies ending with >> > "-cross" also >> >

Re: [OE-core] [wic][PATCH v2] wic: fix parsing of 'bitbake -e' output

2016-12-21 Thread Maciej Borzęcki
On Wed, Dec 21, 2016 at 4:05 PM, Ed Bartosh wrote: > Current parsing code can wrongly interpret arbitrary lines > that are of 'key=value' format as legitimate bitbake variables. > > Implemented more strict parsing of key=value pairs using > regular expressions. > >

Re: [OE-core] [wic][PATCH] wic: fix parsing of 'bitbake -e' output

2016-12-21 Thread Maciej Borzęcki
On Wed, Dec 21, 2016 at 3:19 PM, Ed Bartosh wrote: > Current parsing code can wrongly interpret arbitrary lines > that are of 'key=value' format as legitimate bitbake variables. > > Implemented more strict parsing of key=value pairs using > regular expressions. > >

Re: [OE-core] [PATCH v6 0/5] wic: bugfixes & --fixed-size support, tests, oeqa: enhancements

2016-12-21 Thread Maciej Borzęcki
On Wed, Dec 21, 2016 at 2:00 PM, Ed Bartosh <ed.bart...@linux.intel.com> wrote: > On Tue, Dec 20, 2016 at 07:27:04PM +0100, Maciej Borzęcki wrote: >> On Tue, Dec 20, 2016 at 3:04 PM, Ed Bartosh <ed.bart...@linux.intel.com> >> wrote: >> > On Mon, Dec 19, 2016

Re: [OE-core] [PATCH v6 0/5] wic: bugfixes & --fixed-size support, tests, oeqa: enhancements

2016-12-20 Thread Maciej Borzęcki
On Tue, Dec 20, 2016 at 3:04 PM, Ed Bartosh wrote: > On Mon, Dec 19, 2016 at 12:20:56PM +0100, Maciej Borzecki wrote: >> v6 of a patch series previously posted here [1]. >> >> Changes since v5: >> >> * `oe-selftest: enforce en_US.UTF-8 locale` was merged to master,

Re: [OE-core] [PATCH v5 0/6] wic: bugfixes & --fixed-size support, tests, oe-selftest: minor fixes

2016-12-14 Thread Maciej Borzęcki
On Tue, Dec 13, 2016 at 7:53 PM, Ed Bartosh <ed.bart...@linux.intel.com> wrote: > On Tue, Dec 13, 2016 at 09:07:30AM +0100, Maciej Borzęcki wrote: >> On Thu, Nov 24, 2016 at 8:08 AM, Maciej Borzecki >> <maciej.borze...@rndity.com> wrote: >> > v5 of a pa

Re: [OE-core] [PATCH v5 0/6] wic: bugfixes & --fixed-size support, tests, oe-selftest: minor fixes

2016-12-13 Thread Maciej Borzęcki
On Thu, Nov 24, 2016 at 8:08 AM, Maciej Borzecki wrote: > v5 of a patch series previously posted here [1]. > > Changes since v4: > > * dropped `wic: selftest: do not repeat core-image-minimal` & rebased > dependant patches > > * minor formatting fix in `wic:

Re: [OE-core] what is the closest alternative to red hat's ABRT in OE?

2016-12-06 Thread Maciej Borzęcki
On Tue, Dec 6, 2016 at 3:49 PM, Robert P. J. Day wrote: > > as in: > > https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/ch-abrt.html > > specifically, to manage core files? i would have thought judicious use > of "ulimit"

Re: [OE-core] [PATCH v1] wic: Add --exclude-path option to rootfs source plugin.

2016-11-30 Thread Maciej Borzęcki
On Wed, Nov 30, 2016 at 2:30 PM, Kristian Amlie wrote: > On 28/11/16 12:18, Ed Bartosh wrote: >> I'd appreciate if you also do the following before sending v2: >> - check that your code doesn't regress pylint checks > > Is there an official process here? Sorry, it's not

Re: [OE-core] [PATCH v1] wic: Add --exclude-path option to rootfs source plugin.

2016-11-25 Thread Maciej Borzęcki
On Fri, Nov 25, 2016 at 11:15 AM, Kristian Amlie wrote: > It will omit the given path from the resulting partition, and if the > given path ends in a slash, it will only delete the content, and keep > the directory. > > Since mkfs only accepts whole directories as input,

Re: [OE-core] Contents of non-rootfs partitions

2016-11-23 Thread Maciej Borzęcki
On Wed, Nov 23, 2016 at 2:22 PM, Ed Bartosh wrote: > On Wed, Nov 23, 2016 at 02:08:28PM +0100, Kristian Amlie wrote: >> On 23/11/16 13:08, Ed Bartosh wrote: >> > On Tue, Nov 22, 2016 at 12:54:52PM +0100, Kristian Amlie wrote: >> >> On 22/11/16 12:10, Patrick Ohly

Re: [OE-core] [PATCH v4 5/7] wic: selftest: do not repeat core-image-minimal

2016-11-23 Thread Maciej Borzęcki
On Wed, Nov 23, 2016 at 12:23 PM, Ed Bartosh wrote: > On Wed, Nov 23, 2016 at 08:46:31AM +0100, Maciej Borzecki wrote: >> Replace repeated core-image-minimal with Wic class field. >> >> Signed-off-by: Maciej Borzecki >> --- >>

Re: [OE-core] [PATCH v4 7/7] wic: selftest: add tests for --fixed-size partition flags

2016-11-23 Thread Maciej Borzęcki
On Wed, Nov 23, 2016 at 12:36 PM, Ed Bartosh wrote: > Hi Maciej, > > Thank you for the patchset! > The changes and the tests look good to me. > I have little suggestions, but most of them just a matter of taste, so > feel free to ignore them. > > On Wed, Nov 23, 2016

Re: [OE-core] Contents of non-rootfs partitions

2016-11-23 Thread Maciej Borzęcki
On Wed, Nov 23, 2016 at 11:12 AM, Enrico Joerns <e...@pengutronix.de> wrote: > On 11/23/2016 10:24 AM, Maciej Borzęcki wrote: >> > > Yes, what the genimage class (see below) does, is unpacking the final > rootfs.tar.xz inside a fakeroot environment and call the genimage to

Re: [OE-core] Contents of non-rootfs partitions

2016-11-23 Thread Maciej Borzęcki
On Wed, Nov 23, 2016 at 9:40 AM, Enrico Joerns wrote: > On 11/22/2016 12:54 PM, Kristian Amlie wrote: >> >> On 22/11/16 12:10, Patrick Ohly wrote: ... >>> >>> >>> All of these introduce some special mechanism. Let me propose something >>> that might integrate better

Re: [OE-core] [PATCH v3 09/11] wic: selftest: add tests for --fixed-size partition flags

2016-11-22 Thread Maciej Borzęcki
On Tue, Nov 22, 2016 at 4:02 PM, Maciej Borzęcki <maciej.borze...@rndity.com> wrote: > On Tue, Nov 22, 2016 at 3:47 PM, Burton, Ross <ross.bur...@intel.com> wrote: >> >> On 15 November 2016 at 09:52, Maciej Borzecki <maciej.borze...@rndity.com> >> wrote:

Re: [OE-core] [PATCH v3 09/11] wic: selftest: add tests for --fixed-size partition flags

2016-11-22 Thread Maciej Borzęcki
On Tue, Nov 22, 2016 at 3:47 PM, Burton, Ross wrote: > > On 15 November 2016 at 09:52, Maciej Borzecki > wrote: >> >> wic has a new flag for setting a fixed parition size --fixed-size. Add >> tests that verify if partition is indeed sized

Re: [OE-core] [PATCH v3 00/11] wic: bugfixes & --fixed-size support, tests, oe-selftest: minor fixes

2016-11-15 Thread Maciej Borzęcki
On Tue, Nov 15, 2016 at 11:32 AM, Burton, Ross wrote: > > On 15 November 2016 at 09:52, Maciej Borzecki > wrote: >> >> I have noticed that Ross has cherry-picked some patches into his >> pull request to master. Just for reference, the patches

Re: [OE-core] Creating 'wic' image

2016-11-14 Thread Maciej Borzęcki
On Mon, Nov 14, 2016 at 4:23 PM, Mike Looijmans wrote: > In order to make life easier for people, I was looking into creating images > with the "wic" tool. > > There's just one big piece of documentation lacking: What's the format it > wants my rootfs and boot files? >

Re: [OE-core] [PATCH v2 00/10] wic: bugfixes & --fixed-size support, tests, selftest: minor fixes

2016-11-14 Thread Maciej Borzęcki
On Mon, Nov 14, 2016 at 3:07 PM, Burton, Ross <ross.bur...@intel.com> wrote: > > On 14 November 2016 at 14:03, Maciej Borzęcki <maciej.borze...@rndity.com> > wrote: >> >> TARGET_ARCH is in fact not exported as you have indicated, there's this >> piece

Re: [OE-core] [PATCH v2 00/10] wic: bugfixes & --fixed-size support, tests, selftest: minor fixes

2016-11-14 Thread Maciej Borzęcki
On Mon, Nov 14, 2016 at 2:34 PM, Burton, Ross <ross.bur...@intel.com> wrote: > > On 14 November 2016 at 10:35, Maciej Borzęcki <maciej.borze...@rndity.com> > wrote: >> >> Do you think it makes sense to replace TARGET_ARCH check with something >> like this i

Re: [OE-core] [PATCH v2 08/10] wic: selftest: do not repeat core-image-minimal

2016-11-14 Thread Maciej Borzęcki
On Thu, Nov 10, 2016 at 9:33 PM, Maciej Borzęcki <maciej.borze...@rndity.com> wrote: > On Thu, Nov 10, 2016 at 9:15 PM, Burton, Ross <ross.bur...@intel.com> wrote: >> >> On 10 November 2016 at 12:18, Maciej Borzecki <maciej.borze...@rndity.com> >> wrote: &

Re: [OE-core] [PATCH v2 00/10] wic: bugfixes & --fixed-size support, tests, selftest: minor fixes

2016-11-14 Thread Maciej Borzęcki
On Mon, Nov 14, 2016 at 11:16 AM, Burton, Ross <ross.bur...@intel.com> wrote: > > On 14 November 2016 at 10:02, Maciej Borzęcki <maciej.borze...@rndity.com> > wrote: >> >> I see that the builds were running with qemux85-64 MACHINE, shouldn't >> TARGET_ARCH

Re: [OE-core] [PATCH v2 00/10] wic: bugfixes & --fixed-size support, tests, selftest: minor fixes

2016-11-14 Thread Maciej Borzęcki
On Mon, Nov 14, 2016 at 10:24 AM, Burton, Ross wrote: > > On 10 November 2016 at 12:18, Maciej Borzecki > wrote: >> >> v2 of patch series previously posted here [1]. >> >> The series introduces anumber of fixes to wic, as well as a new >>

Re: [OE-core] [PATCH 1/2] go: Add recipes for golang compilers and tools

2016-11-11 Thread Maciej Borzęcki
On Thu, Nov 10, 2016 at 1:39 AM, Khem Raj wrote: > This is converging the recipes for go from > meta-virtualization and oe-meta-go > > Add recipes for go 1.7 > > go.bbclass is added to ease out writing > recipes for go packages > > Signed-off-by: Khem Raj

Re: [OE-core] [PATCH v2 08/10] wic: selftest: do not repeat core-image-minimal

2016-11-10 Thread Maciej Borzęcki
On Thu, Nov 10, 2016 at 9:15 PM, Burton, Ross wrote: > > On 10 November 2016 at 12:18, Maciej Borzecki > wrote: >> >> def test_qemux86_directdisk(self): >> """Test creation of qemux-86-directdisk image""" >> image =

Re: [OE-core] [PATCH v2 06/10] oe-selftest: fix handling of test cases without ID in --list-tests-by

2016-11-10 Thread Maciej Borzęcki
On Thu, Nov 10, 2016 at 9:05 PM, Burton, Ross wrote: > > On 10 November 2016 at 12:18, Maciej Borzecki > wrote: >> >> -ts = sorted([ (tc.tcid, tc.tctag, tc.tcname, tc.tcclass, tc.tcmodule) >> for tc in get_testsuite_by(criteria, keyword) ])

Re: [OE-core] [PATCH 0/5] wic: bugfixes & --fixed-size support

2016-11-09 Thread Maciej Borzęcki
On Wed, Nov 9, 2016 at 2:17 PM, Burton, Ross wrote: > I pulled this series into a test run on the autobuilder and it is throwing > quite a lot of exceptions, such as: > > Traceback (most recent call last): > File >

Re: [OE-core] [PATCH 5/5] wic: add --fixed-size wks option

2016-11-09 Thread Maciej Borzęcki
On Wed, Nov 9, 2016 at 10:36 AM, Ed Bartosh wrote: > On Tue, Nov 08, 2016 at 04:56:11PM +0100, Maciej Borzecki wrote: >> Added new option --fixed-size to wks. The option can be used to indicate >> the exact size of a partition. The option cannot be added together with

Re: [OE-core] [PATCH 3/5] wic: check that filesystem is specified for a rootfs partition

2016-11-09 Thread Maciej Borzęcki
On Wed, Nov 9, 2016 at 10:44 AM, Ed Bartosh wrote: > On Tue, Nov 08, 2016 at 04:56:09PM +0100, Maciej Borzecki wrote: >> Signed-off-by: Maciej Borzecki >> --- >> scripts/lib/wic/partition.py | 4 >> 1 file changed, 4 insertions(+) >>

Re: [OE-core] [PATCH] wic: add --reserved-size wks option

2016-10-18 Thread Maciej Borzęcki
On Tue, Oct 18, 2016 at 4:24 PM, Ed Bartosh <ed.bart...@linux.intel.com> wrote: > On Tue, Oct 18, 2016 at 03:59:23PM +0200, Maciej Borzęcki wrote: >> >> >> >> > What's the advantage of creating unusable gap over creating >> >> >> >>

Re: [OE-core] [PATCH] wic: add --reserved-size wks option

2016-10-18 Thread Maciej Borzęcki
On Tue, Oct 18, 2016 at 1:05 PM, Ed Bartosh <ed.bart...@linux.intel.com> wrote: > On Tue, Oct 18, 2016 at 01:07:48PM +0200, Maciej Borzęcki wrote: >> On Tue, Oct 18, 2016 at 12:17 PM, Ed Bartosh <ed.bart...@linux.intel.com> >> wrote: >> > On Tue, Oct 18, 2016

Re: [OE-core] [PATCH] wic: add --reserved-size wks option

2016-10-18 Thread Maciej Borzęcki
On Tue, Oct 18, 2016 at 12:17 PM, Ed Bartosh <ed.bart...@linux.intel.com> wrote: > On Tue, Oct 18, 2016 at 12:24:55PM +0200, Maciej Borzęcki wrote: >> On Tue, Oct 18, 2016 at 11:27 AM, Ed Bartosh <ed.bart...@linux.intel.com> >> wrote: >> > On Tue, Oct 18, 2016

Re: [OE-core] [PATCH] wic: add --reserved-size wks option

2016-10-18 Thread Maciej Borzęcki
On Tue, Oct 18, 2016 at 11:27 AM, Ed Bartosh <ed.bart...@linux.intel.com> wrote: > On Tue, Oct 18, 2016 at 11:24:14AM +0200, Maciej Borzęcki wrote: >> On Tue, Oct 18, 2016 at 10:38 AM, Ed Bartosh <ed.bart...@linux.intel.com> >> wrote: >> > On Tue, Oct 18, 2016

Re: [OE-core] [PATCH] wic: add --reserved-size wks option

2016-10-18 Thread Maciej Borzęcki
On Tue, Oct 18, 2016 at 10:38 AM, Ed Bartosh <ed.bart...@linux.intel.com> wrote: > On Tue, Oct 18, 2016 at 10:37:22AM +0200, Maciej Borzęcki wrote: >> On Tue, Oct 18, 2016 at 9:31 AM, Ed Bartosh <ed.bart...@linux.intel.com> >> wrote: >> > On Mon, Oct 17, 2016

Re: [OE-core] [PATCH] wic: add --reserved-size wks option

2016-10-18 Thread Maciej Borzęcki
On Tue, Oct 18, 2016 at 9:31 AM, Ed Bartosh <ed.bart...@linux.intel.com> wrote: > On Mon, Oct 17, 2016 at 04:46:00PM +0200, Maciej Borzęcki wrote: >> On Mon, Oct 17, 2016 at 3:22 PM, Ed Bartosh <ed.bart...@linux.intel.com> >> wrote: >> > Hi Maciej, >>

Re: [OE-core] [PATCH] wic: add --reserved-size wks option

2016-10-17 Thread Maciej Borzęcki
On Mon, Oct 17, 2016 at 3:22 PM, Ed Bartosh wrote: > Hi Maciej, > > There is already --size and --extra-space options. > Can we get the same or similar result by just using them? Do we really > need new option for similar purpose? --reserved-size serves a different

Re: [OE-core] rpm: Recover RPM4 to OE-core

2016-10-07 Thread Maciej Borzęcki
On Fri, Oct 7, 2016 at 11:52 AM, Fan Xin wrote: > Hi Maciej, > >> BTW. do you recall the rationale behind abandoning zypper in 1.4? I'm >> curious about the motivation for using smart given its Python >> dependency. >> > > The reason to drop Zypper is Zypper has too much

Re: [OE-core] rpm: Recover RPM4 to OE-core

2016-10-07 Thread Maciej Borzęcki
On Fri, Oct 7, 2016 at 5:19 AM, Fan Xin wrote: > Hi Joshua, > > Thanks for your info. > > Actually, our origin motivation is that we found smartpm is not maintained > any more. We maintain smartpm for our distro at > https://github.com/ubinux/smart2 > > Then we realize

Re: [OE-core] defining default locale (LANG/LC_ALL)

2016-09-26 Thread Maciej Borzęcki
On Mon, Sep 26, 2016 at 12:46 PM, Steffen Sledz wrote: > May be this is a FAQ, but I could not find any helpful documentation. > > What is the best way to define a system wide default locale setting (LANG and > LC_ALL) for OE based Angstrom style images? Don't know about

Re: [OE-core] [wic][PATCH] wic: add beaglebone.wks

2016-09-21 Thread Maciej Borzęcki
On Wed, Sep 21, 2016 at 5:18 PM, Ed Bartosh wrote: > Added wks to make an image for Beaglebone board. > > Signed-off-by: Ed Bartosh > --- > scripts/lib/wic/canned-wks/beaglebone.wks | 7 +++ > 1 file changed, 7 insertions(+) > create

Re: [OE-core] [PATCH] ca-certificates: remove -- separator

2016-08-08 Thread Maciej Borzęcki
On Mon, Aug 8, 2016 at 12:36 PM, Otavio Salvador wrote: > On Mon, Aug 8, 2016 at 5:11 AM, Maciej Borzecki > wrote: >> Options and directory separator -- slipped past the patch removing >> Debianims, thus resulting in failures on hosts