[oe] [PATCH] xf86-input-tslib 0.0.6: move udev rule to /etc/udev/rules.d
Michael Smith
msmith at cbnco.com
Mon Nov 29 21:29:26 UTC 2010
Khem Raj wrote:
> On Mon, Nov 29, 2010 at 8:52 AM, Michael Smith <msmith at cbnco.com> wrote:
>> /lib/udev/rules.d is a symlink to /etc/udev/rules.d.
>>
>> Signed-off-by: Michael Smith <msmith at 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 at 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 at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
More information about the Openembedded-devel
mailing list