xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Ticket #1340: osx-non-relocatable.patch

File osx-non-relocatable.patch, 1.1 KB (added by Antoine Martin, 6 years ago)

to make the package non relocatable

  • make-PKG.sh

     
    5959mkbom -u 0 -g 80 ./image/root ./image/flat/base.pkg/Bom
    6060
    6161cat > ./image/flat/base.pkg/PackageInfo << EOF
    62 <pkg-info format-version="2" identifier="org.xpra.pkg" version="$VERSION" install-location="/" auth="root">
     62<pkg-info format-version="2" identifier="org.xpra.pkg" version="$VERSION" install-location="/" auth="root" relocatable="false">
    6363  <payload installKBytes="$DISKUSAGE" numberOfFiles="$FILECOUNT"/>
    6464  <scripts>
    6565        <postinstall file="./postinstall"/>
     
    8080                <os-version min="10.5.8" />
    8181        </allowed-os-versions>
    8282        <options customize="never" require-scripts="false" allow-external-scripts="no"/>
    83         <domains enable_anywhere="true"/>
     83        <domains enable_anywhere="false" enable_currentUserHome="false" enable_localSystem="true"/>
     84        <options rootVolumeOnly="true"/>
    8485        <background file="background.png" alignment="bottomleft" scaling="none"/>
    8586        <license file="GPL.rtf"/>
    8687        <choices-outline>