Patchwork [meta-oe] udev-180: switch from git checkout to release tarball

login
register
mail settings
Submitter Martin Jansa
Date Jan. 30, 2012, 3:33 p.m.
Message ID <1327937606-22150-1-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/20313/
State Accepted
Commit 0c0b8b7c13ef8859e61fc4ae312a233281554bc3
Headers show

Comments

Martin Jansa - Jan. 30, 2012, 3:33 p.m.
* problem is with manpage generation, commit
  http://git.kernel.org/?p=linux/hotplug/udev.git;a=commit;h=6528a3938fe8727b99b210cf504a335d07c94c37
  assumes that even without xstltproc we can install pregenerated
  manpages, but they are only in release tarball (e.g. src/udev.7)
  and without them, build system tries to regenerate and fails:

  /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/xsltproc -o src/udev.7 -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl src/udev.xml
  warning: failed to load external entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
  cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-core/udev/udev_180.bb |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

Patch

diff --git a/meta-oe/recipes-core/udev/udev_180.bb b/meta-oe/recipes-core/udev/udev_180.bb
index 4d3b0ed..4cabcce 100644
--- a/meta-oe/recipes-core/udev/udev_180.bb
+++ b/meta-oe/recipes-core/udev/udev_180.bb
@@ -19,12 +19,11 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 # kmod: needed for libkmod
 DEPENDS = "gperf-native usbutils acl glib-2.0 util-linux kmod"
 
-# f13289ffdf077f75c8710e977ffe538b66885762 -> 180 tag
-SRCREV = "f13289ffdf077f75c8710e977ffe538b66885762"
-
 # version specific SRC_URI
-SRC_URI = "git://git.kernel.org/pub/scm/linux/hotplug/udev.git;protocol=git \
+SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/hotplug/${P}.tar.gz \
            file://gtk-doc.make"
+SRC_URI[md5sum] = "7a74429e5b4d5cc3d389945774807e46"
+SRC_URI[sha256sum] = "d8f021cc940da7c1f928e2e651c6aa00c5695f3227f560de4a65584e2f089115"
 
 # generic SRC_URI
 SRC_URI += " \
@@ -32,8 +31,6 @@  SRC_URI += " \
        file://modprobe.rules \
 "
 
-S = "${WORKDIR}/git"
-
 # Machine specific udev rules should be in their own recipe that ${PN} can add to RRECOMMENDS
 
 inherit autotools