]> code.ossystems Code Review - openembedded-core.git/commit
usbutils: Split out lsusb.py
authorMartin Hundebøll <mnhu@prevas.dk>
Mon, 5 Feb 2018 12:25:43 +0000 (13:25 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Feb 2018 17:56:33 +0000 (17:56 +0000)
commit42af9fedd31ecf5c6210d2f85f20540f85da59f4
tree973f72344d4577b9e5ce63d0eb1eaed6a28752dc
parent5e4dc51944a4d6cea520ed7bd5dd02b50f1228dc
usbutils: Split out lsusb.py

The pretty-printing "lsusb.py" script shipped by usbutils is currently
useless, as it doesn't runtime depend on python, and has unversioned
python in the shebang.

Avoid adding a python dependency to current configurations with usbutils
buy splitting lsusb.py into a usbutils-python package, and make it
runtime depend on python3-core.

Make the script usable by replacing the shebang with a direct call to
${bindir}/python3.

Signed-off-by: Martin Hundebøll <mnhu@prevas.dk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-bsp/usbutils/usbutils_009.bb