Ignore:
Timestamp:
01/07/14 14:18:31 (18 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, enter/10, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1, releng/10.1.1, releng/10.1.2
Children:
aa7ba66
Parents:
7004a51
Message:

Add a cool new system callback function to PBIs on 10.x and beyond

This allows PBIs, which run in a container, to use the pbisyscmd, openwith
or xdg-open, and "talk" to applications on the outside of the container.

The use-case for this would be a application like Thunderbird, which may
want to use the "xdg-open" command to open a PDF file with something else
on the system.

It could be used by other apps, such as terminal emulators to run a shell on the system,
even though the GUI is run in the container

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pbi-manager/pbime/pbimount

    rf1dc8cf ra7429d5  
    7272 
    7373   sync 
     74 
     75   # Copy over the system command 
     76   cp /usr/pbi/.pbisyscmd "${pDir}/virtbase/usr/local/bin/pbisyscmd" 
     77   cp /usr/pbi/.pbisyscmd "${pDir}/virtbase/usr/local/bin/openwith" 
     78   cp /usr/pbi/.pbisyscmd "${pDir}/virtbase/usr/local/bin/xdg-open" 
     79   chmod 755 "${pDir}/virtbase/usr/local/bin/pbisyscmd"  
     80 
     81   # Copy the custom ldconfig 
    7482   cp /usr/pbi/.ldconfig "${pDir}/virtbase/var/run/ldconfig" 
    7583   chroot "${pDir}/virtbase" /var/run/ldconfig start >/dev/null 2>/dev/null 
Note: See TracChangeset for help on using the changeset viewer.