Re: [ptxdist] [PATCH] setlocalversion: only use tags actually on current branch

2018-12-12 Thread Denis OSTERLAND
Hi Am Donnerstag, den 13.12.2018, 08:29 +0100 schrieb Uwe Kleine-König: > On Wed, Dec 12, 2018 at 09:14:52AM +, Denis OSTERLAND wrote: > > > > Consider following situation: > > > >    tag C > >  v > >  A---B---C topic >

Re: [ptxdist] [PATCH] setlocalversion: only use tags actually on current branch

2018-12-12 Thread Uwe Kleine-König
On Wed, Dec 12, 2018 at 09:14:52AM +, Denis OSTERLAND wrote: > Consider following situation: > >tag C > v > A---B---C topic > / \ >D---E---F---G---H master >

Re: [ptxdist] [PATCH] setlocalversion: only use tags actually on current branch

2018-12-12 Thread Denis OSTERLAND
Hi, Am Mittwoch, den 12.12.2018, 15:53 +0100 schrieb Michael Olbrich: > Hi, > > On Wed, Dec 12, 2018 at 02:35:45PM +, Denis OSTERLAND wrote: > > > > Am Mittwoch, den 12.12.2018, 14:51 +0100 schrieb Michael Olbrich: > > > > > > On Wed, Dec 12, 2018 at 09:14:52AM +, Denis OSTERLAND

[ptxdist] [ANNOUNCE] PTXdist 2018.12.0 released

2018-12-12 Thread Michael Olbrich
Hi, I'm happy to announce that I've just released ptxdist-2018.12.0. There are no big changes this time. There are quite a few fixes for the layer/kconfig code, so if you use that then updating is recommended. The new --progress options works in combination with --quiet. With this, the output

[ptxdist] [PATCH v2 4/4] barebox_mlo: add support for reproducible build

2018-12-12 Thread Baeuerle, Florian
Signed-off-by: Florian Bäuerle --- rules/barebox_mlo.make | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/rules/barebox_mlo.make b/rules/barebox_mlo.make index 368da0e8f..2f1da0ca7 100644 --- a/rules/barebox_mlo.make +++ b/rules/barebox_mlo.make @@ -39,7 +39,6 @@

[ptxdist] [PATCH v2 2/4] barebox: depend on HOST_LZOP

2018-12-12 Thread Baeuerle, Florian
The version shipped by ptxdist allows us to override the modification time in the lzop headers. Signed-off-by: Florian Bäuerle --- platforms/barebox.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/barebox.in b/platforms/barebox.in index 645366e93..46ab32a07

[ptxdist] [PATCH v2 3/4] barebox: add support for reproducible build

2018-12-12 Thread Baeuerle, Florian
Signed-off-by: Florian Bäuerle --- rules/barebox.make | 9 + 1 file changed, 9 insertions(+) diff --git a/rules/barebox.make b/rules/barebox.make index 4018dd697..4e8ffebf9 100644 --- a/rules/barebox.make +++ b/rules/barebox.make @@ -47,6 +47,15 @@ BAREBOX_WRAPPER_BLACKLIST := \

[ptxdist] [PATCH v2 1/4] config/setup: make reproducible builds configurable

2018-12-12 Thread Baeuerle, Florian
Some of ptxdist's packages use SOURCE_DATE_EPOCH to make the build results predictable. Make this behaviour more configurable via a newly introduced ptxdist setup options. By default, this will set SOURCE_DATE_EPOCH to the year and month of the used OSELAS Toolchain version. If the used toolchain

Re: [ptxdist] [PATCH] setlocalversion: only use tags actually on current branch

2018-12-12 Thread Michael Olbrich
Hi, On Wed, Dec 12, 2018 at 02:35:45PM +, Denis OSTERLAND wrote: > Am Mittwoch, den 12.12.2018, 14:51 +0100 schrieb Michael Olbrich: > > On Wed, Dec 12, 2018 at 09:14:52AM +, Denis OSTERLAND wrote: > > > > > > Consider following situation: > > > > > >    tag C >

Re: [ptxdist] [PATCH] setlocalversion: only use tags actually on current branch

2018-12-12 Thread Denis OSTERLAND
Hi, Am Mittwoch, den 12.12.2018, 14:51 +0100 schrieb Michael Olbrich: > On Wed, Dec 12, 2018 at 09:14:52AM +, Denis OSTERLAND wrote: > > > > Consider following situation: > > > >    tag C > >  v > >  A---B---C topic > >

Re: [ptxdist] [PATCH] kconfig: fix warnings on format

2018-12-12 Thread Denis OSTERLAND
Hi, Am Mittwoch, den 12.12.2018, 14:29 +0100 schrieb Michael Olbrich: > On Wed, Dec 12, 2018 at 10:31:27AM +, Denis OSTERLAND wrote: > > > > Fixes warnings like: > > conf.c:79:3: warning: format not a string literal and no format arguments > > [-Wformat-security] > >    

Re: [ptxdist] [PATCH] setlocalversion: only use tags actually on current branch

2018-12-12 Thread Michael Olbrich
On Wed, Dec 12, 2018 at 09:14:52AM +, Denis OSTERLAND wrote: > Consider following situation: > >tag C > v > A---B---C topic > / \ >D---E---F---G---H master >

Re: [ptxdist] [PATCH] templates: file: update comments and improve wording

2018-12-12 Thread Michael Olbrich
On Wed, Dec 12, 2018 at 12:29:26AM +0100, Roland Hieber wrote: > The way of building target packages has changed over the years, and > SYSROOT_TARGET is no longer filled in the install stage. But all of this > is also explained in the Reference Manual, so we don't have to duplicate > that here. >

Re: [ptxdist] [PATCH] kconfig: fix warnings on format

2018-12-12 Thread Michael Olbrich
On Wed, Dec 12, 2018 at 10:31:27AM +, Denis OSTERLAND wrote: > Fixes warnings like: > conf.c:79:3: warning: format not a string literal and no format arguments > [-Wformat-security] >printf(_("aborted!\n\n")); >^ Can you elaborate what triggers this? I don't get this warning here.

Re: [ptxdist] [PATCH] template-src-linux-driver: Only install driver if selected

2018-12-12 Thread Michael Olbrich
On Wed, Dec 12, 2018 at 10:42:38AM +, Ian Abbott wrote: > If a local package "foo-mod" for a Linux kernel module is selected by a > local tristate configuration option PTXCONF_FOO_MOD, then based on the > template for Linux drivers, it would include the following in its > foo-mod.make file: >

[ptxdist] [PATCH] template-src-linux-driver: Only install driver if selected

2018-12-12 Thread Ian Abbott
If a local package "foo-mod" for a Linux kernel module is selected by a local tristate configuration option PTXCONF_FOO_MOD, then based on the template for Linux drivers, it would include the following in its foo-mod.make file: ifdef PTXCONF_FOO_MOD $(STATEDIR)/kernel.targetinstall.post:

[ptxdist] [PATCH] kconfig: fix warnings on format

2018-12-12 Thread Denis OSTERLAND
Fixes warnings like: conf.c:79:3: warning: format not a string literal and no format arguments [-Wformat-security] printf(_("aborted!\n\n")); ^ Signed-off-by: Denis Osterland --- scripts/kconfig/lkc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/kconfig/lkc.h

Re: [ptxdist] [PATCH] setlocalversion: only use tags actually on current branch

2018-12-12 Thread Alexander Dahl
Hei hei, On Wed, Dec 12, 2018 at 09:14:52AM +, Denis OSTERLAND wrote: > This is more intuitive result, > especially when more than just one branch gets merged. > > Signed-off-by: Denis Osterland Acked-by: Alexander Dahl -- /"\ ASCII RIBBON | »With the first link, the chain is forged.

[ptxdist] [PATCH] setlocalversion: only use tags actually on current branch

2018-12-12 Thread Denis OSTERLAND
Consider following situation: tag C v A---B---C topic / \ D---E---F---G---H master ^ tag E PTXDIST_BSP_AUTOVERSION at commit G will be