Bug 5852 - [2012.11] usb_modeswitch should depends of "BR2_PACKAGE_TCL_SHLIB_ONLY is not set"
Summary: [2012.11] usb_modeswitch should depends of "BR2_PACKAGE_TCL_SHLIB_ONLY is not...
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-05 12:16 UTC by Sergey
Modified: 2014-02-13 12:26 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey 2013-01-05 12:16:10 UTC
usb_modeswitch_dispatcher is a tcl-script:

#!/usr/bin/tclsh

# Wrapper (tcl) for usb_modeswitch, called from
# /lib/udev/rules.d/40-usb_modeswitch.rules
# (part of data pack "usb-modeswitch-data") via
# /lib/udev/usb_modeswitch

Symlink /usr/bin/tclsh -> tclsh8.4 (or other current tclsh) should be create also.
Comment 1 Thomas De Schampheleire 2014-02-13 12:26:08 UTC
The creation of the tcl symlink has been added with commit 8d0413fd370f47014287976f195dc745b95e49d3 (part of buildroot 2013.08).

The other problem that you describe, being that usb_modeswitch should not be selectable when BR2_PACKAGE_TCL_SHLIB_ONLY is set, is covered with commit
d3e4db4e34927bff16c2ef06033304a068f46292 (also part of buildroot 2013.08).

Therefore, I am closing this bug as Resolved.
Please reopen if the problem persists, in which case you should provide more information.