[oe] [PATCH 07/15] initscripts-shr: remove unused usb-gadget script for palmpre machine
Martin Jansa
martin.jansa at gmail.com
Mon Oct 18 18:58:44 UTC 2010
On Mon, Oct 18, 2010 at 08:51:16PM +0200, Simon Busch wrote:
> This script was resonsible for activating networking over usb but is not needed anymore as
> our default kernel for the palmpre machine activates usb networking per default.
>
> Signed-off-by: Simon Busch <morphis at gravedo.de>
Acked-by: Martin Jansa <Martin.Jansa at gmail.com>
> ---
> recipes/shr/initscripts-shr/palmpre/usb-gadget.sh | 10 ----------
> recipes/shr/initscripts-shr_0.0.1.bb | 8 +-------
> 2 files changed, 1 insertions(+), 17 deletions(-)
> delete mode 100644 recipes/shr/initscripts-shr/palmpre/usb-gadget.sh
>
> diff --git a/recipes/shr/initscripts-shr/palmpre/usb-gadget.sh b/recipes/shr/initscripts-shr/palmpre/usb-gadget.sh
> deleted file mode 100644
> index d755495..0000000
> --- a/recipes/shr/initscripts-shr/palmpre/usb-gadget.sh
> +++ /dev/null
> @@ -1,10 +0,0 @@
> -#!/bin/sh
> -
> -# usb gadget configuration:
> -# there already different configurations on the palm pre defined,
> -# we choose nr 5 cause it provides the usbnet, novacom
> -# and storage gadget
> -if [ -e /sys/class/usb_gadget/config_num ]; then
> - echo 5 > /sys/class/usb_gadget/config_num
> -fi
> -
> diff --git a/recipes/shr/initscripts-shr_0.0.1.bb b/recipes/shr/initscripts-shr_0.0.1.bb
> index 120c325..e4dc736 100644
> --- a/recipes/shr/initscripts-shr_0.0.1.bb
> +++ b/recipes/shr/initscripts-shr_0.0.1.bb
> @@ -5,7 +5,7 @@ DEPENDS = ""
> RDEPENDS_${PN} = "procps"
> LICENSE = "GPL"
> PV = "0.0.1"
> -PR = "r19"
> +PR = "r20"
>
> RCONFLICTS_${PN} = "initscripts"
>
> @@ -31,7 +31,6 @@ SRC_URI = "file://alignment.sh \
> file://umountfs \
> file://umountnfs.sh \
> "
> -SRC_URI_append_palmpre = " file://usb-gadget.sh"
>
> inherit base
>
> @@ -75,11 +74,6 @@ do_install () {
> install -m 0755 ${WORKDIR}/umountfs ${D}${sysconfdir}/init.d
> install -m 0755 ${WORKDIR}/umountnfs.sh ${D}${sysconfdir}/init.d
>
> - if [ "${MACHINE}" == "palmpre" ]; then
> - install -m 0755 ${WORKDIR}/usb-gadget.sh ${D}${sysconfdir}/init.d
> - ln -sf ../init.d/usb-gadget.sh ${D}${sysconfdir}/rcS.d/S00usb-gadget.sh
> - fi
> -
> #
> # Create runlevel links
> #
> --
> 1.7.1
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
More information about the Openembedded-devel
mailing list