From: "Marko Katić" <dromede@gmail.com>
To: Otavio Salvador <otavio@ossystems.com.br>
Cc: Chris Larson <clarson@kergoth.com>,
Martin Jansa <martin.jansa@gmail.com>,
Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] [PATCH] udev: Remove deprecated binaries from packaging
Date: Fri, 14 Dec 2012 16:17:03 +0100 [thread overview]
Message-ID: <1355498223.9104.2.camel@dromedary> (raw)
In-Reply-To: <CAP9ODKrEXv=h0f8vSqdb5H3T0c4N9UuhYu4GHJhi3Vufiz7rKg@mail.gmail.com>
On Thu, 2012-12-13 at 21:30 -0200, Otavio Salvador wrote:
> On Thu, Dec 13, 2012 at 5:53 PM, Marko Katić <dromede@gmail.com> wrote:
> > Oh dear, i completely forgot about this patch. It's been sitting in my
> > local repo for weeks!
> >
> > So here's my (hopefully) final solution:
>
> The patch seems broken for my e-mail reader (dunno if you pasted it here).
>
> --
> Otavio Salvador O.S. Systems
> E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
> Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
Sorry about that. This one should work.
diff --git a/meta/recipes-core/udev/udev.inc b/meta/recipes-core/udev/udev.inc
index 4705b9b..9b1ebcf 100644
--- a/meta/recipes-core/udev/udev.inc
+++ b/meta/recipes-core/udev/udev.inc
@@ -74,7 +74,7 @@ FILES_udev-cache = "${sysconfdir}/init.d/udev-cache ${sysconfdir}/default/udev-c
FILES_udev-acl = "${base_libdir}/udev/udev-acl ${base_libdir}/udev/rules.d/70-acl.rules"
-FILES_udev-utils = "${bindir}/udevinfo ${bindir}/udevtest ${base_sbindir}/udevadm"
+FILES_udev-utils = "${bindir}/udevinfo ${bindir}/udevtest ${base_sbindir}/udevadm ${bindir}/udevadm"
RDEPENDS_udev-consolekit += "udev-acl"
FILES_udev-consolekit = "${libdir}/ConsoleKit"
@@ -97,4 +97,16 @@ do_install_append () {
rm -f ${D}${base_libdir}/udev/hid2hci
echo 'udev_run="/var/run/udev"' >> ${D}${sysconfdir}/udev/udev.conf
+
+ if [ "${PV}" -gt "175" ]
+ then
+ install -d ${D}${base_sbindir}
+ ln -s ${bindir}/udevadm ${D}${base_sbindir}/udevadm
+
+ elif [ "${PV}" -lt "175" ]
+ then
+ install -d ${D}${bindir}
+ ln -s ${base_sbindir}/udevadm ${D}${bindir}/udevadm
+
+ fi
}
next prev parent reply other threads:[~2012-12-14 15:31 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-16 20:11 [PATCH] [PATCH] udev: Remove deprecated binaries from packaging dromede
2012-11-16 21:36 ` Martin Jansa
[not found] ` <CAHod+GfAof60ycR5EXosair15O87dvZhnxWSouhdF49x8sZQqQ@mail.gmail.com>
2012-11-16 22:28 ` Martin Jansa
2012-11-16 23:28 ` Chris Larson
2012-11-17 18:02 ` Marko Katić
2012-11-17 18:38 ` Chris Larson
2012-11-17 18:54 ` Otavio Salvador
2012-11-20 19:59 ` Marko Katić
2012-11-20 20:23 ` Otavio Salvador
2012-12-13 19:53 ` Marko Katić
2012-12-13 23:30 ` Otavio Salvador
2012-12-14 15:17 ` Marko Katić [this message]
2012-12-14 15:23 ` Otavio Salvador
2012-11-17 18:20 ` Otavio Salvador
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=1355498223.9104.2.camel@dromedary \
--to=dromede@gmail.com \
--cc=clarson@kergoth.com \
--cc=martin.jansa@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=otavio@ossystems.com.br \
/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