Testing #136
closedVerify path installed to under /opt is correct for build
100%
Description
raspbmc uses /opt/xbmc-bcm/xbmc-bin as the top level path for the installation. This seems unduly deep and I wonder if there are restrictions to simply putting is all under /opt/xbmc.
The opkg should be tested first as it is to find the idiosyncrasies of the raspbmc install, then the lower level directories should be moved to /opt/xbmc and see if it still works.
Files
Updated by Hammel about 12 years ago
The installed path under /opt should work, if you use the attached shell script to launch the program. This script will be integrated into the opkg, along with a link to it from /usr/bin/xbmc.
However, there is a caveat: /opt/xbmc-bcm/xbmc-bin/bin/xbmc needs to have the env var "prefix" changed to "/opt/xbmc-bcm/xbmc-bin". Right now, it contains the installation path from the cross build and install before creating the opkg. This should be patched at the end of the installation target with a sed command.
Updated by Hammel about 12 years ago
- Status changed from New to Closed
- % Done changed from 30 to 100
Added xbmc.sh to start xbmc, symlinked to /usr/bin/xbmc using packaging post install script.
Fixed prefix= variable in /opt/xbmc-bcm/xbmc-bin/bin/xbmc to point to the correct installation directory.