Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Michael Smith <msmith@cbnco.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] xf86-input-tslib 0.0.6: move udev rule to	/etc/udev/rules.d
Date: Mon, 29 Nov 2010 16:29:26 -0500	[thread overview]
Message-ID: <4CF41B36.2070407@cbnco.com> (raw)
In-Reply-To: <AANLkTinst=Y1PMamwfmWNhLiYFanxTS_V-rJAmGbnTOt@mail.gmail.com>

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




      reply	other threads:[~2010-11-29 21:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CF41B36.2070407@cbnco.com \
    --to=msmith@cbnco.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox