[oe] [PATCH 1/1] [meta-oe] usb-modeswitch: Upgrade to version 2.5.1

Khem Raj raj.khem at gmail.com
Wed May 23 04:21:40 UTC 2018


I am getting

ERROR: usb-modeswitch-data-20170806-r0 do_fetch: Fetcher failure for
URL: 'http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-data-20170806.tar.bz2'.
Unable to fetch URL from any source.
ERROR: usb-modeswitch-data-20170806-r0 do_fetch: Function failed: base_do_fetch


is that intermittent ?

On Mon, May 21, 2018 at 10:52 AM, Dmitri Vorobiev
<dmitri.vorobiev at movial.com> wrote:
> Use a later version of usb-modeswitch (2.5.1) and
> usb-modeswitch-data (20170806).
>
> Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev at movial.com>
> ---
>  .../usb-modeswitch/usb-modeswitch-data_20170205.bb | 19 ---------------
>  .../usb-modeswitch/usb-modeswitch-data_20170806.bb | 19 +++++++++++++++
>  .../usb-modeswitch/usb-modeswitch_2.5.0.bb         | 27 ----------------------
>  .../usb-modeswitch/usb-modeswitch_2.5.1.bb         | 27 ++++++++++++++++++++++
>  4 files changed, 46 insertions(+), 46 deletions(-)
>  delete mode 100644 meta-oe/recipes-support/usb-modeswitch/usb-modeswitch-data_20170205.bb
>  create mode 100644 meta-oe/recipes-support/usb-modeswitch/usb-modeswitch-data_20170806.bb
>  delete mode 100644 meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.5.0.bb
>  create mode 100644 meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.5.1.bb
>
> diff --git a/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch-data_20170205.bb b/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch-data_20170205.bb
> deleted file mode 100644
> index eeed5e2..0000000
> --- a/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch-data_20170205.bb
> +++ /dev/null
> @@ -1,19 +0,0 @@
> -SUMMARY = "Data files for usbmodeswitch"
> -LICENSE = "GPLv2"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
> -
> -inherit allarch
> -
> -DEPENDS += "tcl-native"
> -
> -SRC_URI = "http://www.draisberghof.de/usb_modeswitch/${BP}.tar.bz2"
> -SRC_URI[md5sum] = "0cc107cd0c4c83df0d9400c999e21dfd"
> -SRC_URI[sha256sum] = "e2dcfd9d28928d8d8f03381571a23442b3c50d48d343bc40a1a07d01662738d1"
> -
> -do_install() {
> -    oe_runmake install DESTDIR=${D}
> -}
> -
> -RDEPENDS_${PN} = "usb-modeswitch (>= 2.4.0)"
> -FILES_${PN} += "${base_libdir}/udev/rules.d/ \
> -                ${datadir}/usb_modeswitch"
> diff --git a/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch-data_20170806.bb b/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch-data_20170806.bb
> new file mode 100644
> index 0000000..eeed5e2
> --- /dev/null
> +++ b/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch-data_20170806.bb
> @@ -0,0 +1,19 @@
> +SUMMARY = "Data files for usbmodeswitch"
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
> +
> +inherit allarch
> +
> +DEPENDS += "tcl-native"
> +
> +SRC_URI = "http://www.draisberghof.de/usb_modeswitch/${BP}.tar.bz2"
> +SRC_URI[md5sum] = "0cc107cd0c4c83df0d9400c999e21dfd"
> +SRC_URI[sha256sum] = "e2dcfd9d28928d8d8f03381571a23442b3c50d48d343bc40a1a07d01662738d1"
> +
> +do_install() {
> +    oe_runmake install DESTDIR=${D}
> +}
> +
> +RDEPENDS_${PN} = "usb-modeswitch (>= 2.4.0)"
> +FILES_${PN} += "${base_libdir}/udev/rules.d/ \
> +                ${datadir}/usb_modeswitch"
> diff --git a/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.5.0.bb b/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.5.0.bb
> deleted file mode 100644
> index ac0df8b..0000000
> --- a/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.5.0.bb
> +++ /dev/null
> @@ -1,27 +0,0 @@
> -SUMMARY = "A mode switching tool for controlling 'flip flop' (multiple device) USB gear"
> -LICENSE = "GPLv2"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
> -
> -DEPENDS = "libusb1"
> -
> -SRC_URI = "http://www.draisberghof.de/usb_modeswitch/${BP}.tar.bz2"
> -SRC_URI[md5sum] = "38ad5c9d70e06227a00361bdc2b1e568"
> -SRC_URI[sha256sum] = "31c0be280d49a99ec3dc0be3325bef320d9c04b50714ef0ce1e36a614d687633"
> -
> -inherit pkgconfig systemd
> -
> -SYSTEMD_SERVICE_${PN} = "usb_modeswitch at .service"
> -
> -EXTRA_OEMAKE = "TCL=${bindir}/tclsh"
> -
> -FILES_${PN} = "${bindir} ${sysconfdir} ${nonarch_base_libdir}/udev/usb_modeswitch ${sbindir} ${localstatedir}/lib/usb_modeswitch"
> -RDEPENDS_${PN} = "tcl"
> -RRECOMMENDS_${PN} = "usb-modeswitch-data"
> -
> -do_install() {
> -    oe_runmake DESTDIR=${D} install
> -    if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
> -        install -d ${D}/${systemd_unitdir}/system
> -        install -m 644 ${S}/usb_modeswitch at .service ${D}/${systemd_unitdir}/system
> -    fi
> -}
> diff --git a/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.5.1.bb b/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.5.1.bb
> new file mode 100644
> index 0000000..ac0df8b
> --- /dev/null
> +++ b/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.5.1.bb
> @@ -0,0 +1,27 @@
> +SUMMARY = "A mode switching tool for controlling 'flip flop' (multiple device) USB gear"
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
> +
> +DEPENDS = "libusb1"
> +
> +SRC_URI = "http://www.draisberghof.de/usb_modeswitch/${BP}.tar.bz2"
> +SRC_URI[md5sum] = "38ad5c9d70e06227a00361bdc2b1e568"
> +SRC_URI[sha256sum] = "31c0be280d49a99ec3dc0be3325bef320d9c04b50714ef0ce1e36a614d687633"
> +
> +inherit pkgconfig systemd
> +
> +SYSTEMD_SERVICE_${PN} = "usb_modeswitch at .service"
> +
> +EXTRA_OEMAKE = "TCL=${bindir}/tclsh"
> +
> +FILES_${PN} = "${bindir} ${sysconfdir} ${nonarch_base_libdir}/udev/usb_modeswitch ${sbindir} ${localstatedir}/lib/usb_modeswitch"
> +RDEPENDS_${PN} = "tcl"
> +RRECOMMENDS_${PN} = "usb-modeswitch-data"
> +
> +do_install() {
> +    oe_runmake DESTDIR=${D} install
> +    if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
> +        install -d ${D}/${systemd_unitdir}/system
> +        install -m 644 ${S}/usb_modeswitch at .service ${D}/${systemd_unitdir}/system
> +    fi
> +}
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



More information about the Openembedded-devel mailing list