Project

General

Profile

Actions

Testing #136

closed

Verify path installed to under /opt is correct for build

Added by Hammel about 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Target version:
Start date:
21 Nov 2012
Due date:
% Done:

100%

Estimated time:
Severity:
High

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

xbmc.sh (192 Bytes) xbmc.sh Hammel, 25 Nov 2012 16:27
Actions #1

Updated by Hammel almost 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.

Actions #2

Updated by Hammel almost 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.

Actions

Also available in: Atom PDF