[OE-core] [PATCH 1/2] pciutils: upgrade 3.5.2 -> 3.5.4

Denys Dmytriyenko denis at denix.org
Fri May 12 18:00:18 UTC 2017


Can this be generated as a diff between versions? You may need to use "git mv" 
and/or pass -M to "git format-patch"...


On Fri, May 12, 2017 at 01:42:39PM -0400, Marc Ferland wrote:
> Upgrade to 3.5.4 and fix libkmod detection (was missing pkgconfig
> bbclass).
> 
> Signed-off-by: Marc Ferland <ferlandm at amotus.ca>
> ---
>  meta/recipes-bsp/pciutils/pciutils_3.5.2.bb | 60 -----------------------------
>  meta/recipes-bsp/pciutils/pciutils_3.5.4.bb | 60 +++++++++++++++++++++++++++++
>  2 files changed, 60 insertions(+), 60 deletions(-)
>  delete mode 100644 meta/recipes-bsp/pciutils/pciutils_3.5.2.bb
>  create mode 100644 meta/recipes-bsp/pciutils/pciutils_3.5.4.bb
> 
> diff --git a/meta/recipes-bsp/pciutils/pciutils_3.5.2.bb b/meta/recipes-bsp/pciutils/pciutils_3.5.2.bb
> deleted file mode 100644
> index 9a7297e..0000000
> --- a/meta/recipes-bsp/pciutils/pciutils_3.5.2.bb
> +++ /dev/null
> @@ -1,60 +0,0 @@
> -SUMMARY = "PCI utilities"
> -DESCRIPTION = 'The PCI Utilities package contains a library for portable access \
> -to PCI bus configuration space and several utilities based on this library.'
> -HOMEPAGE = "http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml"
> -SECTION = "console/utils"
> -
> -LICENSE = "GPLv2+"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
> -DEPENDS = "zlib kmod"
> -
> -SRC_URI = "${KERNELORG_MIRROR}/software/utils/pciutils/pciutils-${PV}.tar.xz \
> -           file://configure.patch \
> -           file://guess-fix.patch \
> -           file://makefile.patch"
> -
> -SRC_URI[md5sum] = "1bf5b068bd9f7512e8c68b060b25a1b2"
> -SRC_URI[sha256sum] = "3a99141a9f40528d0a0035665a06dc37ddb1ae341658e51b50a76ecf86235efc"
> -
> -inherit multilib_header
> -
> -PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'hwdb', '', d)}"
> -PACKAGECONFIG[hwdb] = "HWDB=yes,HWDB=no,udev"
> -
> -PCI_CONF_FLAG = "ZLIB=yes DNS=yes SHARED=yes"
> -
> -# see configure.patch
> -do_configure () {
> -	(
> -	  cd lib && \
> -	  # PACKAGECONFIG_CONFARGS for this recipe could only possibly contain 'HWDB=yes/no',
> -	  # so we put it before ./configure
> -	  ${PCI_CONF_FLAG} ${PACKAGECONFIG_CONFARGS} ./configure ${PV} ${datadir} ${TARGET_OS} ${TARGET_ARCH}
> -	)
> -}
> -
> -export PREFIX = "${prefix}"
> -export SBINDIR = "${sbindir}"
> -export SHAREDIR = "${datadir}"
> -export MANDIR = "${mandir}"
> -
> -EXTRA_OEMAKE = "-e MAKEFLAGS= ${PCI_CONF_FLAG}"
> -
> -# The configure script breaks if the HOST variable is set
> -HOST[unexport] = "1"
> -
> -do_install () {
> -	oe_runmake DESTDIR=${D} install install-lib
> -
> -	install -d ${D}${bindir}
> -	ln -s ../sbin/lspci ${D}${bindir}/lspci
> -
> -	oe_multilib_header pci/config.h
> -}
> -
> -PACKAGES =+ "${PN}-ids libpci"
> -FILES_${PN}-ids = "${datadir}/pci.ids*"
> -FILES_libpci = "${libdir}/libpci.so.*"
> -SUMMARY_${PN}-ids = "PCI utilities - device ID database"
> -DESCRIPTION_${PN}-ids = "Package providing the PCI device ID database for pciutils."
> -RDEPENDS_${PN} += "${PN}-ids"
> diff --git a/meta/recipes-bsp/pciutils/pciutils_3.5.4.bb b/meta/recipes-bsp/pciutils/pciutils_3.5.4.bb
> new file mode 100644
> index 0000000..0faa501
> --- /dev/null
> +++ b/meta/recipes-bsp/pciutils/pciutils_3.5.4.bb
> @@ -0,0 +1,60 @@
> +SUMMARY = "PCI utilities"
> +DESCRIPTION = "The PCI Utilities package contains a library for portable access \
> +to PCI bus configuration space and several utilities based on this library."
> +HOMEPAGE = "http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml"
> +SECTION = "console/utils"
> +
> +LICENSE = "GPLv2+"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
> +DEPENDS = "zlib kmod"
> +
> +SRC_URI = "${KERNELORG_MIRROR}/software/utils/pciutils/pciutils-${PV}.tar.xz \
> +           file://configure.patch \
> +           file://guess-fix.patch \
> +           file://makefile.patch"
> +
> +SRC_URI[md5sum] = "e82537cd2194111c45fa7e684b52252e"
> +SRC_URI[sha256sum] = "64293c6ab9318c40ef262b76d87bd9097531759752bac556e50979b1e63cfe66"
> +
> +inherit multilib_header pkgconfig
> +
> +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'hwdb', '', d)}"
> +PACKAGECONFIG[hwdb] = "HWDB=yes,HWDB=no,udev"
> +
> +PCI_CONF_FLAG = "ZLIB=yes DNS=yes SHARED=yes"
> +
> +# see configure.patch
> +do_configure () {
> +	(
> +	  cd lib && \
> +	  # PACKAGECONFIG_CONFARGS for this recipe could only possibly contain 'HWDB=yes/no',
> +	  # so we put it before ./configure
> +	  ${PCI_CONF_FLAG} ${PACKAGECONFIG_CONFARGS} ./configure ${PV} ${datadir} ${TARGET_OS} ${TARGET_ARCH}
> +	)
> +}
> +
> +export PREFIX = "${prefix}"
> +export SBINDIR = "${sbindir}"
> +export SHAREDIR = "${datadir}"
> +export MANDIR = "${mandir}"
> +
> +EXTRA_OEMAKE = "-e MAKEFLAGS= ${PCI_CONF_FLAG}"
> +
> +# The configure script breaks if the HOST variable is set
> +HOST[unexport] = "1"
> +
> +do_install () {
> +	oe_runmake DESTDIR=${D} install install-lib
> +
> +	install -d ${D}${bindir}
> +	ln -s ../sbin/lspci ${D}${bindir}/lspci
> +
> +	oe_multilib_header pci/config.h
> +}
> +
> +PACKAGES =+ "${PN}-ids libpci"
> +FILES_${PN}-ids = "${datadir}/pci.ids*"
> +FILES_libpci = "${libdir}/libpci.so.*"
> +SUMMARY_${PN}-ids = "PCI utilities - device ID database"
> +DESCRIPTION_${PN}-ids = "Package providing the PCI device ID database for pciutils."
> +RDEPENDS_${PN} += "${PN}-ids"
> -- 
> 2.7.4
> 
> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list