Skip to content

Bashisms in g-ether-*.sh scripts installed by gadget-init.bb #13

@Anguel

Description

@Anguel

Bashisms in
https://github.com/beagleboard/meta-beagleboard/blob/master/meta-beagleboard-extras/recipes-support/usb-gadget/gadget-init/g-ether-load.sh

and

https://github.com/beagleboard/meta-beagleboard/blob/master/meta-beagleboard-extras/recipes-support/usb-gadget/gadget-init/g-ether-start-service.sh

prevent the scripts from running correctly.

Solution for g-ether-load.sh:
remove all "function" keywords from script (line 3, 8, 25)

Solution for g-ether-start-service.sh:
in line 2 replace "-a" with "-e"

Thanks for the support go to bluelightning and rburton in the OpenEmbedded IRC channel.

Anguel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions