[meta-fsl-arm][PATCH 1/3] udev: Use oe_filter_out to switch to git source

9 views
Skip to first unread message

Andrei Gherzan

unread,
Oct 21, 2012, 5:42:02 PM10/21/12
to meta-f...@googlegroups.com, Andrei Gherzan
Don't redefine SRC_URI just to replace source. We can use oe_filter_out
and have this done in one line.
Don't append FILESEXTRAPATHS as we don't yet use any local files.

Signed-off-by: Andrei Gherzan <and...@gherzan.ro>
---
recipes-core/udev/udev_173.bbappend | 21 +++------------------
1 file changed, 3 insertions(+), 18 deletions(-)

diff --git a/recipes-core/udev/udev_173.bbappend b/recipes-core/udev/udev_173.bbappend
index 080f6b7..82e6136 100644
--- a/recipes-core/udev/udev_173.bbappend
+++ b/recipes-core/udev/udev_173.bbappend
@@ -1,23 +1,8 @@
-# Freescale imx extra configuration udev rules
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-
PRINC := "${@int(PRINC) + 1}"

+# Switch to git source
# 173 tag
SRCREV = "ad667dff51711fed763a23283d973486de3cd6b5"
-
-# version specific SRC_URI
-SRC_URI = "git://git.kernel.org/pub/scm/linux/hotplug/udev.git;protocol=git \
- file://0001-rip-put-doc-generation-it-depends-on-a-working-docto.patch \
- file://gtk-doc.make"
-
-# generic SRC_URI
-SRC_URI += " \
- file://touchscreen.rules \
- file://modprobe.rules \
- file://default \
- file://init \
- file://cache \
-"
-
+SRC_URI := "${@oe_filter_out('${KERNELORG_MIRROR}/linux/utils/kernel/hotplug/udev-${PV}.tar.bz2', '${SRC_URI}', d)}"
+SRC_URI_prepend = "git://git.kernel.org/pub/scm/linux/hotplug/udev.git;protocol=git "
S = "${WORKDIR}/git"
--
1.7.9.5

Otavio Salvador

unread,
Oct 21, 2012, 5:45:25 PM10/21/12
to meta-f...@googlegroups.com, Andrei Gherzan
On Sun, Oct 21, 2012 at 7:42 PM, Andrei Gherzan <and...@gherzan.ro> wrote:
> Don't redefine SRC_URI just to replace source. We can use oe_filter_out
> and have this done in one line.
> Don't append FILESEXTRAPATHS as we don't yet use any local files.
>
> Signed-off-by: Andrei Gherzan <and...@gherzan.ro>

Cool; please bump PRINC only.

--
Otavio Salvador O.S. Systems
E-mail: ota...@ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
Reply all
Reply to author
Forward
0 new messages