[ptxdist] [PATCH] udev-legacy: fix source and destination file system path

2022-09-12 Thread Juergen Borleis
The "customized udev rules" are installed via install_alternative_tree and thus, both paths are "/usr/lib/udev/rules.d". Reported-by: Joerg Epping Signed-off-by: Juergen Borleis --- rules/udev.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/udev.in b/rules/udev.in i

[ptxdist] [PATCH] udev: remove redundant dependency on host-gperf

2020-06-21 Thread Roland Hieber
As a virtual package, udev should not infer any dependencies of the concrete implementation. Also, both systemd and udev-legacy already select host-gperf on their own. Signed-off-by: Roland Hieber --- rules/udev.in | 1 - 1 file changed, 1 deletion(-) diff --git a/rules/udev.in b/rules/udev.in

Re: [ptxdist] [PATCH] udev-legacy: Fix build with recent glibc versions.

2020-01-30 Thread Michael Olbrich
On Fri, Jan 24, 2020 at 05:57:50PM +0100, Michael Olbrich wrote: > On Mon, Jan 13, 2020 at 09:47:37AM +0100, Guillermo Rodriguez Garcia wrote: > > El dom., 12 ene. 2020 a las 13:52, Michael Olbrich > > () escribió: > > > > > > On Tue, Dec 10, 2019 at 07:55:36PM +0100, Guillermo Rodríguez wrote: > >

Re: [ptxdist] [PATCH] udev-legacy: Fix build with recent glibc versions.

2020-01-24 Thread Michael Olbrich
On Mon, Jan 13, 2020 at 09:47:37AM +0100, Guillermo Rodriguez Garcia wrote: > El dom., 12 ene. 2020 a las 13:52, Michael Olbrich > () escribió: > > > > On Tue, Dec 10, 2019 at 07:55:36PM +0100, Guillermo Rodríguez wrote: > > > Signed-off-by: Guillermo Rodriguez > > > --- > > > .../0003-include-sy

Re: [ptxdist] [PATCH] udev-legacy: Fix build with recent glibc versions.

2020-01-13 Thread Guillermo Rodriguez Garcia
El dom., 12 ene. 2020 a las 13:52, Michael Olbrich () escribió: > > On Tue, Dec 10, 2019 at 07:55:36PM +0100, Guillermo Rodríguez wrote: > > Signed-off-by: Guillermo Rodriguez > > --- > > .../0003-include-sysmacros-for-new-glibc.patch | 17 + > > patches/udev-182/series

Re: [ptxdist] [PATCH] udev-legacy: Fix build with recent glibc versions.

2020-01-12 Thread Michael Olbrich
On Tue, Dec 10, 2019 at 07:55:36PM +0100, Guillermo Rodríguez wrote: > Signed-off-by: Guillermo Rodriguez > --- > .../0003-include-sysmacros-for-new-glibc.patch | 17 + > patches/udev-182/series | 1 + > 2 files changed, 18 insertions(+) > create mode 10

[ptxdist] [PATCH] udev-legacy: Fix build with recent glibc versions.

2019-12-10 Thread Guillermo Rodríguez
Signed-off-by: Guillermo Rodriguez --- .../0003-include-sysmacros-for-new-glibc.patch | 17 + patches/udev-182/series | 1 + 2 files changed, 18 insertions(+) create mode 100644 patches/udev-182/0003-include-sysmacros-for-new-glibc.patch diff --git a/pa

Re: [ptxdist] [PATCH] udev: fix compilation for mtd-probe

2017-04-03 Thread Michael Olbrich
On Fri, Mar 31, 2017 at 04:32:19PM +0200, Markus Niebel wrote: > From: Markus Niebel > > mtd-probe does not compile. Fix this by adding stdint to supply > correct typedefs > > Signed-off-by: Markus Niebel Thanks, applied, Michael > --- > .../udev-182/0002-mtd-probe-fix-compilation.patch |

[ptxdist] [PATCH] udev: fix compilation for mtd-probe

2017-03-31 Thread Markus Niebel
From: Markus Niebel mtd-probe does not compile. Fix this by adding stdint to supply correct typedefs Signed-off-by: Markus Niebel --- .../udev-182/0002-mtd-probe-fix-compilation.patch | 25 ++ patches/udev-182/series| 4 +--- 2 files changed, 2

[ptxdist] [PATCH] udev init script should pass --action=add to udevadm trigger

2016-08-25 Thread Guillermo Rodriguez
'udevadm trigger' was being called without parameters in the udev init script. This is equivalent to --action=change, which means that udev rules for the "add" action would not be triggered. Fix this by explicitly passing --action=add to udevadm trigger. Signed-off-by: Guillermo Rodriguez --- pr

Re: [ptxdist] [PATCH] udev: fix creation of custom rules

2016-01-12 Thread Michael Olbrich
On Tue, Dec 22, 2015 at 03:07:45PM +0100, Clemens Gruber wrote: > This was broken since commit 7732f73 and custom rule files were not > copied. Good catch. Thanks, applied. Michael > > Signed-off-by: Clemens Gruber > --- > rules/udev.make | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions

[ptxdist] [PATCH] udev: fix creation of custom rules

2015-12-22 Thread Clemens Gruber
This was broken since commit 7732f73 and custom rule files were not copied. Signed-off-by: Clemens Gruber --- rules/udev.make | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rules/udev.make b/rules/udev.make index bd3c3ad..aeba9e5 100644 --- a/rules/udev.make +++ b/rules/ud

Re: [ptxdist] [PATCH] udev: fix error on kernels without uevent helpers

2015-07-01 Thread Michael Olbrich
On Wed, Jul 01, 2015 at 10:07:42AM +0200, Michael Olbrich wrote: > On Tue, Jun 23, 2015 at 04:18:00PM +0200, Clemens Gruber wrote: > > Current kernel docs recommend disabling CONFIG_UEVENT_HELPER. > > > > If disabled however, the following error message is shown: > > /etc/rc.d/S00udev: line 95: ca

Re: [ptxdist] [PATCH] udev: fix error on kernels without uevent helpers

2015-07-01 Thread Michael Olbrich
On Tue, Jun 23, 2015 at 04:18:00PM +0200, Clemens Gruber wrote: > Current kernel docs recommend disabling CONFIG_UEVENT_HELPER. > > If disabled however, the following error message is shown: > /etc/rc.d/S00udev: line 95: can't create /proc/sys/kernel/hotplug: > nonexistent directory > > This patc

[ptxdist] [PATCH] udev: fix error on kernels without uevent helpers

2015-06-23 Thread Clemens Gruber
Current kernel docs recommend disabling CONFIG_UEVENT_HELPER. If disabled however, the following error message is shown: /etc/rc.d/S00udev: line 95: can't create /proc/sys/kernel/hotplug: nonexistent directory This patch fixes it by checking if /proc/sys/kernel/hotplug exists. Signed-off-by: Cle

Re: [ptxdist] [PATCH] udev: standalone variant fails to build with newer toolchains

2014-01-20 Thread Uwe Kleine-König
Hello Jürgen, On Mon, Jan 20, 2014 at 10:39:04AM +0100, Jürgen Beisert wrote: > udev: standalone variant fails to build with newer toolchains > > udev cannot be linked due to the use of the 'mq_getattr' call which requires > librt to link successfully. > > The configure script already ch

[ptxdist] [PATCH] udev: standalone variant fails to build with newer toolchains

2014-01-20 Thread Jürgen Beisert
udev: standalone variant fails to build with newer toolchains udev cannot be linked due to the use of the 'mq_getattr' call which requires librt to link successfully. The configure script already checks for "clock_gettime" in order to add librt to the list of required libraries. This is v

Re: [ptxdist] [PATCH] udev: Use ptxdist kernel headers

2011-08-17 Thread Michael Olbrich
On Wed, Aug 17, 2011 at 09:17:02AM +0200, Bernhard Walle wrote: > Am 16.08.2011 15:56, schrieb Michael Olbrich: > > On Mon, Aug 15, 2011 at 07:34:58PM +0200, bernh...@bwalle.de wrote: > >> From: Bernhard Walle > >> > >> When a toolchain without kernel headers (such as the Lite version from > >> Co

Re: [ptxdist] [PATCH] udev: Use ptxdist kernel headers

2011-08-17 Thread Bernhard Walle
Am 16.08.2011 15:56, schrieb Michael Olbrich: > On Mon, Aug 15, 2011 at 07:34:58PM +0200, bernh...@bwalle.de wrote: >> From: Bernhard Walle >> >> When a toolchain without kernel headers (such as the Lite version from >> Codesourcery) or with very old kernel header is used, udev doesn't build >> be

Re: [ptxdist] [PATCH] udev: Use ptxdist kernel headers

2011-08-16 Thread Michael Olbrich
On Mon, Aug 15, 2011 at 07:34:58PM +0200, bernh...@bwalle.de wrote: > From: Bernhard Walle > > When a toolchain without kernel headers (such as the Lite version from > Codesourcery) or with very old kernel header is used, udev doesn't build > because videodev.h is missing. > > This patch adds th

[ptxdist] [PATCH] udev: Use ptxdist kernel headers

2011-08-15 Thread bernhard
From: Bernhard Walle When a toolchain without kernel headers (such as the Lite version from Codesourcery) or with very old kernel header is used, udev doesn't build because videodev.h is missing. This patch adds the $(KERNEL_HEADERS_INCLUDE_DIR) to the include path of udev like it's done for bus

Re: [ptxdist] [PATCH] udev: Restore UDEV_EXTRA_MOBILE_ACTION_MODESWITCH

2011-08-01 Thread Michael Olbrich
On Wed, Jul 20, 2011 at 04:18:50PM -0400, Jon Ringle wrote: > On Wed, Jul 20, 2011 at 3:13 PM, Robert Schwebel > wrote: > > For the non-experimental udev version, this isn't defined, so it gets > > the non-existing configure option, which ends up with an error. Fixed in > > ptxdist master. > > Ye

Re: [ptxdist] [PATCH] udev: Restore UDEV_EXTRA_MOBILE_ACTION_MODESWITCH

2011-07-20 Thread Jon Ringle
On Wed, Jul 20, 2011 at 3:13 PM, Robert Schwebel wrote: > Hi, > > Michael applied this patch, but it has an issue: > > On Fri, Jul 15, 2011 at 09:16:35PM -0400, Jon Ringle wrote: >> --disable-action_modeswitch is needed when UDEV_EXPERIMENTAL is not defined >> >> Signed-off-by: Jon Ringle >> ---

Re: [ptxdist] [PATCH] udev: Restore UDEV_EXTRA_MOBILE_ACTION_MODESWITCH

2011-07-20 Thread Robert Schwebel
Hi, Michael applied this patch, but it has an issue: On Fri, Jul 15, 2011 at 09:16:35PM -0400, Jon Ringle wrote: > --disable-action_modeswitch is needed when UDEV_EXPERIMENTAL is not defined > > Signed-off-by: Jon Ringle > --- > rules/udev.in |8 > rules/udev.make | 12 +++

[ptxdist] [PATCH] udev: Restore UDEV_EXTRA_MOBILE_ACTION_MODESWITCH

2011-07-15 Thread Jon Ringle
--disable-action_modeswitch is needed when UDEV_EXPERIMENTAL is not defined Signed-off-by: Jon Ringle --- rules/udev.in |8 rules/udev.make | 12 2 files changed, 20 insertions(+), 0 deletions(-) diff --git a/rules/udev.in b/rules/udev.in index 089a8f5..27fb3c3 100

Re: [ptxdist] [PATCH] [udev] Fixed broken udev install stage due tomissing drivers rules

2009-06-25 Thread Luotao Fu
On Thu, Jun 25, 2009 at 01:44:53PM +0200, Carsten Schlote wrote: > Hi, > > > The drivers rule in udev can cause quite some trouble in runtime. > > Especially for busses relying on platform devices it sometimes leads > to > > ... > > This might be true for some people's hardware. For our hardware

Re: [ptxdist] [PATCH] [udev] Fixed broken udev install stage due tomissing drivers rules

2009-06-25 Thread Carsten Schlote
Hi, > The drivers rule in udev can cause quite some trouble in runtime. > Especially for busses relying on platform devices it sometimes leads to > ... This might be true for some people's hardware. For our hardware I carefully design things in a way, which allows for auto-detection and probing.

Re: [ptxdist] [PATCH] [udev] Fixed broken udev install stage due to missing drivers rules

2009-06-25 Thread Luotao Fu
Hi, On Tue, Jun 23, 2009 at 03:49:05PM +0200, Carsten Schlote wrote: > Hi, > > the attached patch adds the drivers udev rules to the udev install stage > again. It also adds some entry to udev.in to control installation > behaviour. > > For those keeping their ptxdist in sync with 'trunk', this

[ptxdist] [PATCH] [udev] Fixed broken udev install stage due to missing drivers rules

2009-06-23 Thread Carsten Schlote
Hi, the attached patch adds the drivers udev rules to the udev install stage again. It also adds some entry to udev.in to control installation behaviour. For those keeping their ptxdist in sync with 'trunk', this option will appear the next time you call 'ptxdist oldconfig' after merging-in the

Re: [ptxdist] [PATCH] udev

2009-04-08 Thread Bo Hansen
Fine by me ;-), and yes - a macro would be the right solution. I'll put it on my to do list but I can't promise I'll find the time right away. Bo Robert Schwebel wrote: On Wed, Apr 08, 2009 at 12:22:52PM +0200, Juergen Beisert wrote: On Mittwoch, 8. April 2009, Robert Schwebel wrote:

Re: [ptxdist] [PATCH] udev

2009-04-08 Thread Robert Schwebel
On Wed, Apr 08, 2009 at 12:22:52PM +0200, Juergen Beisert wrote: > On Mittwoch, 8. April 2009, Robert Schwebel wrote: > > On Wed, Apr 08, 2009 at 11:15:12AM +0200, Juergen Beisert wrote: > > > On Mittwoch, 8. April 2009, Bo Hansen wrote: > > > > Fix when copying custom udev rules for revision 10270

Re: [ptxdist] [PATCH] udev

2009-04-08 Thread Juergen Beisert
On Mittwoch, 8. April 2009, Robert Schwebel wrote: > On Wed, Apr 08, 2009 at 11:15:12AM +0200, Juergen Beisert wrote: > > On Mittwoch, 8. April 2009, Bo Hansen wrote: > > > Fix when copying custom udev rules for revision 10270. > > > > There are many locations in ptxdist where the content of a dire

Re: [ptxdist] [PATCH] udev

2009-04-08 Thread Robert Schwebel
On Wed, Apr 08, 2009 at 11:15:12AM +0200, Juergen Beisert wrote: > On Mittwoch, 8. April 2009, Bo Hansen wrote: > > Fix when copying custom udev rules for revision 10270. > > There are many locations in ptxdist where the content of a directory > will be installed in such a way. So I think, this isn

Re: [ptxdist] [PATCH] udev

2009-04-08 Thread Juergen Beisert
On Mittwoch, 8. April 2009, Bo Hansen wrote: > Fix when copying custom udev rules for revision 10270. There are many locations in ptxdist where the content of a directory will be installed in such a way. So I think, this isn't the correct solution. Marc? Robert? What do you think? jbe -- Peng

[ptxdist] [PATCH] udev

2009-04-08 Thread Bo Hansen
Fix when copying custom udev rules for revision 10270. Best regards, Bo Adds check if file is really a file or a directory when copying custom rules for udev. This was a problem when using CVS which creates a directory. signed-off-by: b...@newtec.dk --- rules/udev.make 2009-04-07 20:12:18.00