* [PATCH] xf86-input-tslib 0.0.6: move udev rule to /etc/udev/rules.d
@ 2010-11-29 16:52 Michael Smith
2010-11-29 21:23 ` Khem Raj
0 siblings, 1 reply; 3+ messages in thread
From: Michael Smith @ 2010-11-29 16:52 UTC (permalink / raw)
To: openembedded-devel
/lib/udev/rules.d is a symlink to /etc/udev/rules.d.
Signed-off-by: Michael Smith <msmith@cbnco.com>
---
recipes/xorg-driver/xf86-input-tslib_0.0.6.bb | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/recipes/xorg-driver/xf86-input-tslib_0.0.6.bb b/recipes/xorg-driver/xf86-input-tslib_0.0.6.bb
index a1cecaa..4b910dd 100644
--- a/recipes/xorg-driver/xf86-input-tslib_0.0.6.bb
+++ b/recipes/xorg-driver/xf86-input-tslib_0.0.6.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "X.Org X server -- tslib input driver"
DEPENDS += "tslib"
RRECOMMENDS_${PN} += "tslib-calibrate"
RSUGGESTS_${PN} += "hal"
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
SRC_URI = "http://www.pengutronix.de/software/xf86-input-tslib/download/xf86-input-tslib-${PV}.tar.bz2;name=archive \
file://double-free-crash.patch \
@@ -20,8 +20,8 @@ do_configure_prepend() {
do_install_append() {
install -d ${D}/${datadir}/hal/fdi/policy/20thirdparty
install -m 0644 ${WORKDIR}/10-x11-input-tslib.fdi ${D}/${datadir}/hal/fdi/policy/20thirdparty
- install -d ${D}/lib/udev/rules.d
- install -m 0644 ${WORKDIR}/99-xf86-input-tslib.rules ${D}/lib/udev/rules.d/
+ install -d ${D}/${sysconfdir}/udev/rules.d
+ install -m 0644 ${WORKDIR}/99-xf86-input-tslib.rules ${D}/${sysconfdir}/udev/rules.d/
}
FILES_${PN} += "${datadir}/hal /lib/udev"
--
1.6.3.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] xf86-input-tslib 0.0.6: move udev rule to /etc/udev/rules.d
2010-11-29 16:52 [PATCH] xf86-input-tslib 0.0.6: move udev rule to /etc/udev/rules.d Michael Smith
@ 2010-11-29 21:23 ` Khem Raj
2010-11-29 21:29 ` Michael Smith
0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2010-11-29 21:23 UTC (permalink / raw)
To: openembedded-devel
On Mon, Nov 29, 2010 at 8:52 AM, Michael Smith <msmith@cbnco.com> wrote:
> /lib/udev/rules.d is a symlink to /etc/udev/rules.d.
>
> Signed-off-by: Michael Smith <msmith@cbnco.com>
Will it upgrade seemlessly on deployed systems ?
patch looks ok otherwise
Acked-by: Khem Raj <raj.khem@gmail.com>
> ---
> recipes/xorg-driver/xf86-input-tslib_0.0.6.bb | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/recipes/xorg-driver/xf86-input-tslib_0.0.6.bb b/recipes/xorg-driver/xf86-input-tslib_0.0.6.bb
> index a1cecaa..4b910dd 100644
> --- a/recipes/xorg-driver/xf86-input-tslib_0.0.6.bb
> +++ b/recipes/xorg-driver/xf86-input-tslib_0.0.6.bb
> @@ -3,7 +3,7 @@ DESCRIPTION = "X.Org X server -- tslib input driver"
> DEPENDS += "tslib"
> RRECOMMENDS_${PN} += "tslib-calibrate"
> RSUGGESTS_${PN} += "hal"
> -PR = "${INC_PR}.1"
> +PR = "${INC_PR}.2"
>
> SRC_URI = "http://www.pengutronix.de/software/xf86-input-tslib/download/xf86-input-tslib-${PV}.tar.bz2;name=archive \
> file://double-free-crash.patch \
> @@ -20,8 +20,8 @@ do_configure_prepend() {
> do_install_append() {
> install -d ${D}/${datadir}/hal/fdi/policy/20thirdparty
> install -m 0644 ${WORKDIR}/10-x11-input-tslib.fdi ${D}/${datadir}/hal/fdi/policy/20thirdparty
> - install -d ${D}/lib/udev/rules.d
> - install -m 0644 ${WORKDIR}/99-xf86-input-tslib.rules ${D}/lib/udev/rules.d/
> + install -d ${D}/${sysconfdir}/udev/rules.d
> + install -m 0644 ${WORKDIR}/99-xf86-input-tslib.rules ${D}/${sysconfdir}/udev/rules.d/
> }
>
> FILES_${PN} += "${datadir}/hal /lib/udev"
> --
> 1.6.3.2
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] xf86-input-tslib 0.0.6: move udev rule to /etc/udev/rules.d
2010-11-29 21:23 ` Khem Raj
@ 2010-11-29 21:29 ` Michael Smith
0 siblings, 0 replies; 3+ messages in thread
From: Michael Smith @ 2010-11-29 21:29 UTC (permalink / raw)
To: openembedded-devel
Khem Raj wrote:
> On Mon, Nov 29, 2010 at 8:52 AM, Michael Smith <msmith@cbnco.com> wrote:
>> /lib/udev/rules.d is a symlink to /etc/udev/rules.d.
>>
>> Signed-off-by: Michael Smith <msmith@cbnco.com>
>
> Will it upgrade seemlessly on deployed systems ?
Hmm. No. The symlink /lib/udev/rules.d gets removed because it's in the
file list for the old package.
Should I add a postinst to recreate the symlink if it's missing? (should
actually be in the postrm for the old version but that would require
time travel)
Mike
> patch looks ok otherwise
>
> Acked-by: Khem Raj <raj.khem@gmail.com>
>
>> ---
>> recipes/xorg-driver/xf86-input-tslib_0.0.6.bb | 6 +++---
>> 1 files changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/recipes/xorg-driver/xf86-input-tslib_0.0.6.bb b/recipes/xorg-driver/xf86-input-tslib_0.0.6.bb
>> index a1cecaa..4b910dd 100644
>> --- a/recipes/xorg-driver/xf86-input-tslib_0.0.6.bb
>> +++ b/recipes/xorg-driver/xf86-input-tslib_0.0.6.bb
>> @@ -3,7 +3,7 @@ DESCRIPTION = "X.Org X server -- tslib input driver"
>> DEPENDS += "tslib"
>> RRECOMMENDS_${PN} += "tslib-calibrate"
>> RSUGGESTS_${PN} += "hal"
>> -PR = "${INC_PR}.1"
>> +PR = "${INC_PR}.2"
>>
>> SRC_URI = "http://www.pengutronix.de/software/xf86-input-tslib/download/xf86-input-tslib-${PV}.tar.bz2;name=archive \
>> file://double-free-crash.patch \
>> @@ -20,8 +20,8 @@ do_configure_prepend() {
>> do_install_append() {
>> install -d ${D}/${datadir}/hal/fdi/policy/20thirdparty
>> install -m 0644 ${WORKDIR}/10-x11-input-tslib.fdi ${D}/${datadir}/hal/fdi/policy/20thirdparty
>> - install -d ${D}/lib/udev/rules.d
>> - install -m 0644 ${WORKDIR}/99-xf86-input-tslib.rules ${D}/lib/udev/rules.d/
>> + install -d ${D}/${sysconfdir}/udev/rules.d
>> + install -m 0644 ${WORKDIR}/99-xf86-input-tslib.rules ${D}/${sysconfdir}/udev/rules.d/
>> }
>>
>> FILES_${PN} += "${datadir}/hal /lib/udev"
>> --
>> 1.6.3.2
>>
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-11-29 21:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-29 16:52 [PATCH] xf86-input-tslib 0.0.6: move udev rule to /etc/udev/rules.d Michael Smith
2010-11-29 21:23 ` Khem Raj
2010-11-29 21:29 ` Michael Smith
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.